Spostato readsemafori (con last read PLC) in ogni adapter
This commit is contained in:
@@ -218,6 +218,7 @@ namespace IOB_WIN_NEXT
|
||||
/// </summary>
|
||||
public override void readSemafori(ref newDisplayData currDispData)
|
||||
{
|
||||
base.readSemafori(ref currDispData);
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
// ciclo!
|
||||
|
||||
@@ -631,6 +631,7 @@ namespace IOB_WIN_NEXT
|
||||
/// </summary>
|
||||
public override void readSemafori(ref newDisplayData currDispData)
|
||||
{
|
||||
base.readSemafori(ref currDispData);
|
||||
// in primis controllo status...
|
||||
checkCommStatus();
|
||||
|
||||
|
||||
@@ -521,7 +521,6 @@ namespace IOB_WIN_NEXT
|
||||
{
|
||||
get
|
||||
{
|
||||
lgInfo("Test PING...");
|
||||
IPStatus answ = IPStatus.Unknown;
|
||||
// se disabilitato salto...
|
||||
if (pingDisabled)
|
||||
@@ -4429,7 +4428,6 @@ namespace IOB_WIN_NEXT
|
||||
if (connectionOk)
|
||||
{
|
||||
readSemafori(ref currDispData);
|
||||
lastReadPLC = DateTime.Now;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -701,6 +701,7 @@ namespace IOB_WIN_NEXT
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
KAWASAKI_ref.disconnect();
|
||||
KAWASAKI_ref.Dispose();
|
||||
}
|
||||
|
||||
@@ -903,6 +904,7 @@ namespace IOB_WIN_NEXT
|
||||
/// </summary>
|
||||
public override void readSemafori(ref newDisplayData currDispData)
|
||||
{
|
||||
base.readSemafori(ref currDispData);
|
||||
try
|
||||
{
|
||||
if (verboseLog)
|
||||
|
||||
@@ -255,6 +255,7 @@ namespace IOB_WIN_NEXT
|
||||
/// </summary>
|
||||
public override void readSemafori(ref newDisplayData currDispData)
|
||||
{
|
||||
base.readSemafori(ref currDispData);
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
// ciclo!
|
||||
|
||||
Reference in New Issue
Block a user