|
|
|
@ -167,7 +167,7 @@ public class PlcEventTask { |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
} |
|
|
|
} |
|
|
|
plcTask(plcOperate_60, conn, conn.getPointTables()); |
|
|
|
plcTask(plcOperate_60, conn, conn.getPointTables()); |
|
|
|
doDevStatus(plcOperate_60,"1#"); |
|
|
|
doDevStatus(plcOperate_60,"1"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(conn.getPlcIp().contains(".70")){ |
|
|
|
if(conn.getPlcIp().contains(".70")){ |
|
|
|
@ -176,7 +176,7 @@ public class PlcEventTask { |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
} |
|
|
|
} |
|
|
|
plcTask(plcOperate_70, conn, conn.getPointTables()); |
|
|
|
plcTask(plcOperate_70, conn, conn.getPointTables()); |
|
|
|
doDevStatus(plcOperate_70,"2#"); |
|
|
|
doDevStatus(plcOperate_70,"2"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(conn.getPlcIp().contains(".80")){ |
|
|
|
if(conn.getPlcIp().contains(".80")){ |
|
|
|
@ -185,7 +185,7 @@ public class PlcEventTask { |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
} |
|
|
|
} |
|
|
|
plcTask(plcOperate_80, conn, conn.getPointTables()); |
|
|
|
plcTask(plcOperate_80, conn, conn.getPointTables()); |
|
|
|
doDevStatus(plcOperate_80,"3#"); |
|
|
|
doDevStatus(plcOperate_80,"3"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(conn.getPlcIp().contains(".90")){ |
|
|
|
if(conn.getPlcIp().contains(".90")){ |
|
|
|
@ -194,7 +194,7 @@ public class PlcEventTask { |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
} |
|
|
|
} |
|
|
|
plcTask(plcOperate_90, conn, conn.getPointTables()); |
|
|
|
plcTask(plcOperate_90, conn, conn.getPointTables()); |
|
|
|
doDevStatus(plcOperate_90,"4#"); |
|
|
|
doDevStatus(plcOperate_90,"4"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(conn.getPlcIp().contains(".100")){ |
|
|
|
if(conn.getPlcIp().contains(".100")){ |
|
|
|
@ -203,7 +203,7 @@ public class PlcEventTask { |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
} |
|
|
|
} |
|
|
|
plcTask(plcOperate_100, conn, conn.getPointTables()); |
|
|
|
plcTask(plcOperate_100, conn, conn.getPointTables()); |
|
|
|
doDevStatus(plcOperate_100,"5#"); |
|
|
|
doDevStatus(plcOperate_100,"5"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(conn.getPlcIp().contains(".110")){ |
|
|
|
if(conn.getPlcIp().contains(".110")){ |
|
|
|
@ -212,7 +212,7 @@ public class PlcEventTask { |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
plcInit.connect(conn.getPlcIp()); |
|
|
|
} |
|
|
|
} |
|
|
|
plcTask(plcOperate_110, conn, conn.getPointTables()); |
|
|
|
plcTask(plcOperate_110, conn, conn.getPointTables()); |
|
|
|
doDevStatus(plcOperate_110,"6#"); |
|
|
|
doDevStatus(plcOperate_110,"6"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|