Merge branch 'develop' into docum

This commit is contained in:
Samuele E. Locatelli
2018-09-13 18:49:12 +02:00
4 changed files with 28 additions and 11 deletions
+12 -6
View File
@@ -23,12 +23,12 @@ CMDADV1=?valore=
CMDREBO=/sendReboot.aspx?idxMacchina=
[MEMORY]
; Red: Y7.4 | Yellow: Y7.5 | Green Y7.6 | Alarm Y 51.4
; Red: Y7.4 | Yellow: Y51.1 (porta chiusa, da NEGARE) | Green Y7.6 | Alarm Y 51.4
;BIT0=CONN
BIT1=Y7.6
BIT2=PZCOUNT.PAR.6711
BIT1=Y7.6
BIT2=PZCOUNT.D.3010.DW
BIT3=Y7.4
BIT4=Y7.5
;BIT4=Y51.1
BIT5=Y51.4
AREAD_START=0
AREAD_SIZE=9999
@@ -58,10 +58,16 @@ BLINK_FILT=0
[OPTPAR]
;PZCOUNT_MODE=STD|BIT
PZCOUNT_MODE=STD.PAR.6711
PZCOUNT_MODE=STD.D.3010.DW
;PZ_CAD_MADDR=1602; cad
;PZ_REQ_MADDR=1603; pz richiesti (DW)
;PZ_DONE_MADDR=1604; pz fatti
;PZ_GTOT_MADDR=1605; pz tot macchina
[BRANCH]
;D.3010.DW: pz prodotti
;D.3020.DW: TOTALI
;D.3060.DW: pz da fare
;D.3064.DW: SUPER-TOTALE???
[BRANCH]
NAME=master
+2 -1
View File
@@ -11,6 +11,7 @@ CMDREBO=/IOB/sendRebootGateway?GWIP=
CMDIOB2CALL=/IOB/getIob2call?GWIP=
[IOB]
STARTLIST=3013
STARTLIST=C502
;STARTLIST=3013
MAXCNC=4
;STARTLIST=3001,3002,3003,3004,3005
+13 -3
View File
@@ -462,7 +462,6 @@ namespace IOB_WIN
protected void pzCntReload()
{
// legge da IO server ULTIMO valore CONTPEZZI al riavvio...
lgInfo("Lettura contapezzi dall'url {0}", urlGetPzCount);
string currServerCount = "";
if (checkServerAlive)
{
@@ -470,16 +469,27 @@ namespace IOB_WIN
if (QueueIN.Count > 0)
{
currServerCount = utils.callUrl(urlGetPzCount);
lgInfo("Lettura contapezzi dall'url {0}", urlGetPzCount);
}
// altrimenti uso dati da TCiclo registrati...
else
{
currServerCount = utils.callUrl(urlGetPzCountRec);
lgInfo("Lettura contapezzi da TCiclo dall'url {0}", urlGetPzCountRec);
}
if (currServerCount != "")
{
int.TryParse(currServerCount, out contapezzi);
lgInfo("Ricevuta conferma da server di {0} pezzi registrati per ODL", currServerCount);
// se "-1" resto a ultimo...
if (currServerCount != "-1")
{
int.TryParse(currServerCount, out contapezzi);
lgInfo("Ricevuta conferma da server di {0} pezzi registrati per ODL", currServerCount);
}
else
{
contapezzi = lastCountCNC;
lgInfo("Errore lettura contapezzi (-1) - uso lastCountCNC --> " + contapezzi);
}
}
else
{
Vendored
+1 -1
View File
@@ -14,7 +14,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=287']) {
withEnv(['NEXT_BUILD_NUMBER=288']) {
// env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO-IOB-WIN'