hdy
2024-04-18 e2670e7912ea7316d1f9fb518d980b8a4ef94055
点位订阅
已修改2个文件
154 ■■■■ 文件已修改
jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jcdm-main/src/main/java/com/jcdm/main/plcserver/conf/OPCElement.java 112 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java
@@ -58,20 +58,44 @@
    public List<String> getSubList(){
        List<String> lists = new ArrayList<>();
        lists.add(OPCElement.PACK_OP230_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP230_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP240_RecordData);//请求记录数据.
        lists.add(OPCElement.PACK_OP240_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP250_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP250_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP380_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP380_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP300_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP300_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP260_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP260_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP270_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP270_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP290_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP290_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP300_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP300_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP310_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP310_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP330_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP330_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP380_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP380_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP400_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP400_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP410_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP410_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP440_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP440_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP450_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP450_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP460_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP460_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP500_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP500_AngleResult);//请求记录数据
        lists.add(OPCElement.PACK_OP280_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP320_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP340_RecordData);//请求记录数据
//        lists.add(OPCElement.PACK_OP350_RecordData);//请求记录数据
//        lists.add(OPCElement.PACK_OP360_RecordData);//请求记录数据
//        lists.add(OPCElement.PACK_OP370_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP350_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP360_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP370_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP390_RecordData);//请求记录数据
        lists.add(OPCElement.PACK_OP470_RecordData);//请求记录数据
        return lists;
    }
jcdm-main/src/main/java/com/jcdm/main/plcserver/conf/OPCElement.java
@@ -10,29 +10,34 @@
    /**
     * OP230
     */
    public static final String PACK_OP010_RecordSN = "PACK.OP1010.RecordSN";//请求下发SN号
//    public static final String PACK_OP010_RecordSN = "PACK.OP1010.RecordSN";//请求下发SN号
    public static final String PACK_OP230_RecordData = "PACK.OP230.RecordData";//请求记录数据
    public static final String PACK_OP230_AngleResult = "PACK.OP230.AngleResult";//请求拧紧数据
    /**
     * OP240
     */
    public static final String PACK_OP240_RecordData = "PACK.OP240.RecordData";//请求记录数据
    public static final String PACK_OP240_AngleResult = "PACK.OP240.AngleResult";//请求拧紧数据
    /**
     * OP250
     * OP260
     */
    public static final String PACK_OP250_RecordData = "PACK.OP250.RecordData";//请求记录数据
    public static final String PACK_OP260_RecordData = "PACK.OP260.RecordData";//请求记录数据
    public static final String PACK_OP250_AngleResult = "PACK.OP250.AngleResult";//请求拧紧数据
    public static final String PACK_OP260_AngleResult = "PACK.OP260.AngleResult";//请求拧紧数据
    /**
     * OP380
     * OP270
     */
    public static final String PACK_OP380_RecordData = "PACK.OP380.RecordData";//请求记录数据
    public static final String PACK_OP270_RecordData = "PACK.OP270.RecordData";//请求记录数据
    public static final String PACK_OP380_AngleResult = "PACK.OP380.AngleResult";//请求拧紧数据
    public static final String PACK_OP270_AngleResult = "PACK.OP270.AngleResult";//请求拧紧数据
    /**
     * OP290
     */
    public static final String PACK_OP290_RecordData = "PACK.OP290.RecordData";//请求记录数据
    public static final String PACK_OP290_AngleResult = "PACK.OP290.AngleResult";//请求拧紧数据
    /**
     * OP300
@@ -41,25 +46,92 @@
    public static final String PACK_OP300_AngleResult = "PACK.OP300.AngleResult";//请求拧紧数据
    /**
     * OP270
     * OP310
     */
    public static final String PACK_OP270_RecordData = "PACK.OP270.RecordData";//请求记录数据
    public static final String PACK_OP310_RecordData = "PACK.OP310.RecordData";//请求记录数据
    public static final String PACK_OP270_AngleResult = "PACK.OP270.AngleResult";//请求拧紧数据
    public static final String PACK_OP310_AngleResult = "PACK.OP310.AngleResult";//请求拧紧数据
    /**
     * OP270
     * OP330
     */
    public static final String PACK_OP330_RecordData = "PACK.OP330.RecordData";//请求记录数据
    public static final String PACK_OP330_AngleResult = "PACK.OP330.AngleResult";//请求拧紧数据
    /**
     * OP380
     */
    public static final String PACK_OP380_RecordData = "PACK.OP380.RecordData";//请求记录数据
    public static final String PACK_OP380_AngleResult = "PACK.OP380.AngleResult";//请求拧紧数据
    /**
     * OP400
     */
    public static final String PACK_OP400_RecordData = "PACK.OP400.RecordData";//请求记录数据
    public static final String PACK_OP400_AngleResult = "PACK.OP400.AngleResult";//请求拧紧数据
    /**
     * OP410
     */
    public static final String PACK_OP410_RecordData = "PACK.OP410.RecordData";//请求记录数据
    public static final String PACK_OP410_AngleResult = "PACK.OP410.AngleResult";//请求拧紧数据
    /**
     * OP440
     */
    public static final String PACK_OP440_RecordData = "PACK.OP440.RecordData";//请求记录数据
    public static final String PACK_OP440_AngleResult = "PACK.OP440.AngleResult";//请求拧紧数据
    /**
     * OP450
     */
    public static final String PACK_OP450_RecordData = "PACK.OP450.RecordData";//请求记录数据
    public static final String PACK_OP450_AngleResult = "PACK.OP450.AngleResult";//请求拧紧数据
    /**
     * OP460
     */
    public static final String PACK_OP460_RecordData = "PACK.OP460.RecordData";//请求记录数据
    public static final String PACK_OP460_AngleResult = "PACK.OP460.AngleResult";//请求拧紧数据
    /**
     * OP500
     */
    public static final String PACK_OP500_RecordData = "PACK.OP500.RecordData";//请求记录数据
    public static final String PACK_OP500_AngleResult = "PACK.OP500.AngleResult";//请求拧紧数据
    /**
     * OP280
     */
    public static final String PACK_OP280_RecordData = "PACK.OP280.RecordData";//请求记录数据
    /**
     * OP320
     */
    public static final String PACK_OP320_RecordData = "PACK.OP320.RecordData";//请求记录数据
    /**
     * OP340
     */
    public static final String PACK_OP340_RecordData = "PACK.OP340.RecordData";//请求记录数据
    /**
     * OP350
     */
    public static final String PACK_OP350_RecordData = "PACK.OP350.RecordData";//请求记录数据
    /**
     * OP360
     */
    public static final String PACK_OP360_RecordData = "PACK.OP360.RecordData";//请求记录数据
    /**
     * OP370
     */
    public static final String PACK_OP370_RecordData = "PACK.OP370.RecordData";//请求记录数据
    /**
     * OP390
     */
    public static final String PACK_OP390_RecordData = "PACK.OP390.RecordData";//请求记录数据
    /**
     * OP470
     */
    public static final String PACK_OP470_RecordData = "PACK.OP470.RecordData";//请求记录数据
}