|
@@ -125,7 +125,7 @@ namespace SCADA_DAQ.Customer.Machines
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (e.ChangeType == DateTimeChangeType.SecondChanged && e.TimeFlag.Second % 1 == 0)
|
|
|
|
|
|
+ if (e.ChangeType == DateTimeChangeType.SecondChanged && e.TimeFlag.Second % 1 == 0 && CustomerEnv.CustomerConfig.SetPower.MESUpload)
|
|
{
|
|
{
|
|
var ip = CustomerEnv.CustomerConfig.MESInfo.MesDataUrl?.Split('/', ':').ToList()[3];
|
|
var ip = CustomerEnv.CustomerConfig.MESInfo.MesDataUrl?.Split('/', ':').ToList()[3];
|
|
var connectStatus = GetInternetConStatus.GetNetConStatus(ip);
|
|
var connectStatus = GetInternetConStatus.GetNetConStatus(ip);
|