Vers 305: agigunto msg errore OSAI se non va opensession
This commit is contained in:
+7
-3
@@ -244,7 +244,7 @@ namespace IOB_WIN
|
||||
|
||||
// è little endian (NON serve conversione)
|
||||
hasBigEndian = false;
|
||||
lgInfo("Start init Adapter OSAI all'IP {0}:{1} per IOB {2}", IOBConf.cncIpAddr, IOBConf.cncPort, IOBConf.codIOB);
|
||||
lgInfo("Start init Adapter OSAI all'IP/NOME{0}:{1} per IOB {2}", IOBConf.cncIpAddr, IOBConf.cncPort, IOBConf.codIOB);
|
||||
|
||||
// Creo oggetto x gestione connessione/comunicazione NC: secondo il tipo creo CNDEX o OPEN
|
||||
parentForm.commPlcActive = true;
|
||||
@@ -453,8 +453,12 @@ namespace IOB_WIN
|
||||
{
|
||||
// ora provo connessione...
|
||||
parentForm.commPlcActive = true;
|
||||
OSAI_ref.OpenSession();
|
||||
|
||||
bool fatto = OSAI_ref.OpenSession();
|
||||
if (!fatto)
|
||||
{
|
||||
// log errore!
|
||||
lgInfo("Impossibile effettuare apertura sessione: " + OSAI_ref.ErrMsg);
|
||||
}
|
||||
parentForm.commPlcActive = false;
|
||||
lgInfo("szStatusConnection: " + szStatusConnection);
|
||||
connectionOk = true;
|
||||
|
||||
Vendored
+1
-1
@@ -16,7 +16,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=304']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=305']) {
|
||||
// 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'
|
||||
|
||||
Reference in New Issue
Block a user