#
lsh
2023-03-01 685c14c1e3ae1ac8ad89958abee78f6e9476a72d
src/main/java/com/zy/core/thread/SiemensCrnThread.java
@@ -232,10 +232,21 @@
        array[0] = command.getAckFinish();
        array[1] = command.getTaskNo();
        array[2] = command.getTaskMode();
        array[3] = command.getSourcePosX();
        if (command.getSourcePosX()==4){
            array[3] = 1;
        }else {
            array[3] = 2;
        }
        array[4] = command.getSourcePosY();
        array[5] = command.getSourcePosZ();
        array[6] = command.getDestinationPosX();
        if (command.getDestinationPosX()==4){
            array[6] = 1;
        }else {
            array[6] = 2;
        }
        array[7] = command.getDestinationPosY();
        array[8] = command.getDestinationPosZ();
        array[9] = command.getCommand();