Update log x connKO
This commit is contained in:
+1
-1
@@ -293,7 +293,7 @@ namespace IOB_WIN
|
||||
{
|
||||
if (verboseLog || periodicLog)
|
||||
{
|
||||
lgInfo("ConnKO - tryConnect");
|
||||
lgInfo("FANUC: ConnKO - tryConnect");
|
||||
}
|
||||
// in primis salvo data ping...
|
||||
lastPING = DateTime.Now;
|
||||
|
||||
@@ -489,7 +489,7 @@ namespace IOB_WIN
|
||||
else
|
||||
{
|
||||
currServerCount = utils.callUrl(urlGetPzCountRec);
|
||||
lgInfo("Lettura contapezzi da TCiclo dall'url {0} --> {1}", urlGetPzCountRec, currServerCount);
|
||||
lgInfo("Lettura contapezzi da TCiclo dall'url {0} --> num pz: {1}", urlGetPzCountRec, currServerCount);
|
||||
lastIdxODL = utils.callUrl(urlGetCurrODL);
|
||||
lgInfo("Lettura ODL dall'url {0} --> {1}", urlGetPzCountRec, lastIdxODL);
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace IOB_WIN
|
||||
cSignals = currBitmapSignals;
|
||||
lastCountCNC = pzCounter;
|
||||
numPzPrel = pzPrelevati;
|
||||
lastRecTC = lastTC;
|
||||
lastRecTC = lastTC;
|
||||
lastMissRobot = lastMission;
|
||||
}
|
||||
// test contapezzi
|
||||
@@ -151,7 +151,7 @@ namespace IOB_WIN
|
||||
// test gest programmi
|
||||
#if true
|
||||
//saveProgram("prog", "default");
|
||||
sendProgram("prog", "default2");
|
||||
sendProgram("prog", "default2");
|
||||
#endif
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -281,7 +281,7 @@ namespace IOB_WIN
|
||||
{
|
||||
if (verboseLog || periodicLog)
|
||||
{
|
||||
lgInfo("ConnKO - tryConnect");
|
||||
lgInfo("KAWASAKI: ConnKO - tryConnect");
|
||||
}
|
||||
// in primis salvo data ping...
|
||||
lastPING = DateTime.Now;
|
||||
@@ -730,7 +730,7 @@ namespace IOB_WIN
|
||||
{
|
||||
B_input += (1 << 5);
|
||||
}
|
||||
|
||||
|
||||
// process ODL e contapezzi
|
||||
string currODL = "";
|
||||
try
|
||||
|
||||
+1
-1
@@ -192,7 +192,7 @@ namespace IOB_WIN
|
||||
{
|
||||
if (verboseLog || periodicLog)
|
||||
{
|
||||
lgInfo("ConnKO - tryConnect");
|
||||
lgInfo("OSAI: ConnKO - tryConnect");
|
||||
}
|
||||
// PING SOLO x OPEN!!!
|
||||
bool needPing = (cIobConf.tipoIob == tipoAdapter.OSAI_OPEN);
|
||||
|
||||
@@ -4,7 +4,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
|
||||
namespace IOB_WIN
|
||||
@@ -49,7 +48,7 @@ namespace IOB_WIN
|
||||
/// <summary>
|
||||
/// parametri di connessione
|
||||
/// </summary>
|
||||
protected connParamS7 parametri;
|
||||
protected connParamS7 parametri;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -177,7 +176,7 @@ namespace IOB_WIN
|
||||
// gestione invio ritardato contapezzi
|
||||
pzCountDelay = utils.CRI("pzCountDelay");
|
||||
lastPzCountSend = DateTime.Now;
|
||||
lastWarnODL = DateTime.Now;
|
||||
lastWarnODL = DateTime.Now;
|
||||
// inizializzo parametri...
|
||||
parametri = new connParamS7()
|
||||
{
|
||||
@@ -372,7 +371,7 @@ namespace IOB_WIN
|
||||
{
|
||||
if (verboseLog || periodicLog)
|
||||
{
|
||||
lgInfo("ConnKO - tryConnect");
|
||||
lgInfo("SIEMENS: ConnKO - tryConnect");
|
||||
}
|
||||
// in primis salvo data ping...
|
||||
lastPING = DateTime.Now;
|
||||
|
||||
@@ -388,7 +388,7 @@ namespace IOB_WIN
|
||||
{
|
||||
if (verboseLog || periodicLog)
|
||||
{
|
||||
lgInfo("ConnKO - tryConnect");
|
||||
lgInfo("SIEMENS-TORRI: ConnKO - tryConnect");
|
||||
}
|
||||
// in primis salvo data ping...
|
||||
lastPING = DateTime.Now;
|
||||
|
||||
Reference in New Issue
Block a user