zhangchao
2024-08-30 0df958a7911eca72bf4d822b30fc1eb7c10d8e4c
对照协议调整
1个文件已修改
5 ■■■■■ 已修改文件
src/main/java/com/zy/core/thread/SiemensCrnThread.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -261,7 +261,8 @@
        array[11] = command.getDestinationPosXTwo();
        array[12] = command.getDestinationPosYTwo();
        array[13] = command.getDestinationPosZTwo();
        array[14] = command.getCommand();
        //array[14] = command.getCommand();
        array[14] = 1;
        array[15] = command.getAckFinish();
//        array[9] = command.getSourceStaNo();
@@ -284,7 +285,7 @@
                    writeCount++;
                    continue;
                }
                OperateResultExOne<byte[]> resultRead = siemensNet.Read("DB100.0", (short) 24);
                OperateResultExOne<byte[]> resultRead = siemensNet.Read("DB100.0", (short) 32);
                if (resultRead.IsSuccess) {
                    CrnCommand one = new CrnCommand();
                    one.setTaskNo(siemensNet.getByteTransform().TransInt16(resultRead.Content, 2));