//Use this file for configuration during deploy

//var apiAddress = 'http://localhost:64938/api';
//var apiAddress = 'http://192.168.1.192:64938/api';
//var apiAddress = 'http://192.168.122.47/RSPMBE/api';
var apiAddress = 'http://win11:64938/api';
//rename apiAdress with the backend Url for IIS https://***/api

var baseHref='/RSPMFE/';

//Set the Timeout before Error disappears (in second)
var errorTimeout = 3;

//sets the difference in gradation between son and father, the greater the number the greater the chromatic detachment will be
var gradationDifference = 20 ;

let configuration=[];
configuration["Postazione1"] = {
  averageWeightCount: 10,
  mockScale: false,
  defaultLocationCode: 'LOC.MP',
  debugMode: true,  // simula pesa
  documentTypes: {
    load: 'DTACL'
  },
  maximumWeightDeviation: 5, // in percent from average
  mainMenu: [
    {
      id: '001',
      label: 'Conteggio semplice',
      path: 'simple-count',
      visible: true,
      enabled: true,
      allowManualWeight: true,
      icon: "basketShopping"
    },
    /*
    {
      id: '002',
      label: 'Stampa fogli di produzione',
      path: 'print',
      visible: true,
      enabled: true,
      allowManualWeight: true
    },
     */
    {
      id: '003',
      label: 'Versamento',
      path: 'unload',
      visible: true,
      enabled: true,
      allowManualWeight: true
    },
    {
      id: '004',
      label: 'Carico per acquisto',
      path: 'load',
      visible: true,
      enabled: true,
      allowManualWeight: true
    },
    {
      id: '005',
      label: 'Rientro da conto lavoro',
      path: 'return',
      visible: true,
      enabled: true,
      allowManualWeight: true
    },
    {

      id: '006',
      label: 'Uscita per vendita',
      path: 'sale',
      visible: true,
      enabled: true,
      allowManualWeight: true
    },
    {
      id: '007',
      label: 'Uscita per conto lavoro',
      path: 'exit',
      visible: true,
      enabled: true,
      allowManualWeight: true
    },
  ]

}


