|
@@ -34,13 +34,13 @@ namespace SCADA_DAQ.Customer.Machines
|
|
|
base.ScanCompleted(sender, e);
|
|
|
if (BaseDevice.DeviceID.StartsWith("输送线"))
|
|
|
{
|
|
|
- //var op = new OperationBo { StartRow = 2, StartCol = 42, StartLayer = 5, ItemName = "标准_塑料管夹_THPG-342" };
|
|
|
- //var opHex = op.OperToHex();
|
|
|
- //var screen3 = MachineServer.GetInstance().GetMachine<SampleMachine>("显示屏3");
|
|
|
- //if(screen3.GetListenReg("400001") != null)
|
|
|
- //{
|
|
|
- // screen3.GetListenReg("400001").WriteReg(opHex);
|
|
|
- //}
|
|
|
+ var op = new OperationBo { StartRow = 2, StartCol = 42, StartLayer = 5, ItemName = "标准_塑料管夹_THPG-342" };
|
|
|
+ var opHex = op.OperToHex();
|
|
|
+ var screen3 = MachineServer.GetInstance().GetMachine<SampleMachine>("显示屏3");
|
|
|
+ // if (screen3.GetListenReg("400001") != null)
|
|
|
+ // {
|
|
|
+ // screen3.GetListenReg("400001").WriteReg("标准_塑料管夹_THPG-342");
|
|
|
+ // }
|
|
|
|
|
|
|
|
|
//var screen4 = MachineServer.GetInstance().GetMachine<SampleMachine>("显示屏4");
|