cl
2024-08-05 ce7b04e4d31bce0b173b7a4811eb89df67a4ccbf
修改采集参数
已修改2个文件
31 ■■■■ 文件已修改
jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jcdm-main/src/main/java/com/jcdm/main/constant/Constants.java
@@ -50,15 +50,19 @@
    public static final String OP110= "OP110";
    public static final String OP120= "OP120";
    public static final String OP120_2= "OP120-2";
    public static final String OP130= "OP130";
    public static final String OP140= "OP140";
    public static final String OP150= "OP150";
    public static final String OP160= "OP160";
    public static final String OP165= "OP165";
    public static final String OP170= "OP170";
    public static final String OP180= "OP180";
    public static final String OP190= "OP190";
    public static final String OP200= "OP200";
    public static final String OP210= "OP210";
    public static final String OP220= "OP220";
    public static final String OP230= "OP230";
    public static final Integer INT_ONE= 1;
    public static final Integer INT_TWO= 2;
jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java
@@ -58,6 +58,17 @@
        Constants.materialMap.put("2","9900199053B");
        //通道
        Constants.thoroughfareMap.put(Constants.OP010,"JCDM035-1");
        Constants.thoroughfareMap.put(Constants.OP020,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP030,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP120_2,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP130,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP140,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP150,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP160,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP165,"JCDM035-2");
        Constants.thoroughfareMap.put(Constants.OP040,"JCDM035-3");
        Constants.thoroughfareMap.put(Constants.OP050,"JCDM035-3");
        Constants.thoroughfareMap.put(Constants.OP060,"JCDM035-3");
@@ -67,12 +78,20 @@
        Constants.thoroughfareMap.put(Constants.OP100,"JCDM035-3");
        Constants.thoroughfareMap.put(Constants.OP110,"JCDM035-3");
        Constants.thoroughfareMap.put(Constants.OP170,"JCDM035-4");
        Constants.thoroughfareMap.put(Constants.OP180,"JCDM035-4");
        Constants.thoroughfareMap.put(Constants.OP190,"JCDM035-4");
        Constants.thoroughfareMap.put(Constants.OP200,"JCDM035-4");
        Constants.thoroughfareMap.put(Constants.OP210,"JCDM035-4");
        Constants.thoroughfareMap.put(Constants.OP220,"JCDM035-4");
        Constants.thoroughfareMap.put(Constants.OP230,"JCDM035-4");
        //主线人工工位
        Constants.OP040_OP160.add(Constants.OP040);
        Constants.OP040_OP160.add(Constants.OP050);
        Constants.OP040_OP160.add(Constants.OP060);
        //Constants.OP040_OP160.add(Constants.OP060);
        Constants.OP040_OP160.add(Constants.OP070);
        Constants.OP040_OP160.add(Constants.OP080);
        Constants.OP040_OP160.add(Constants.OP100);
        Constants.OP040_OP160.add(Constants.OP120_2);
        OPCUaSubscription opcUaSubscription = new OPCUaSubscription(
                miloService,