添加日报
This commit is contained in:
@@ -182,7 +182,8 @@ namespace CleanMachineHMI
|
||||
stopWatch.Stop();
|
||||
|
||||
TimeSpan ts = stopWatch.Elapsed;
|
||||
LogHelper.WriteLog($"读取PLC时间:{ts.Milliseconds}", LogTypeEum.Run);
|
||||
Console.WriteLine($"读取PLC时间:{ts.Milliseconds}", LogTypeEum.Run);
|
||||
|
||||
if (haschange)
|
||||
{
|
||||
if (_synchronization != null)
|
||||
@@ -446,7 +447,10 @@ namespace CleanMachineHMI
|
||||
{
|
||||
if (item.PlcItemValue != value)
|
||||
{
|
||||
haschange = true;
|
||||
if (item.PlcItemCode != "PlcHeartbeatWriteData")
|
||||
{
|
||||
haschange = true;
|
||||
}
|
||||
item.PlcItemValue = value;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user