| | |
| | | short destinationPosY = siemensNet.getByteTransform().TransInt16(resultRead.Content, 14); |
| | | short destinationPosZ = siemensNet.getByteTransform().TransInt16(resultRead.Content, 16); |
| | | if (taskNo != command.getTaskNo().shortValue() |
| | | || taskMode == command.getTaskMode().shortValue() |
| | | || sourcePosX == command.getSourcePosX().shortValue() |
| | | || sourcePosY == command.getSourcePosY().shortValue() |
| | | || sourcePosZ == command.getSourcePosZ().shortValue() |
| | | || destinationPosX == command.getDestinationPosX().shortValue() |
| | | || destinationPosY == command.getDestinationPosY().shortValue() |
| | | || destinationPosZ == command.getDestinationPosZ().shortValue()) { |
| | | || taskMode != command.getTaskMode().shortValue() |
| | | || sourcePosX != command.getSourcePosX().shortValue() |
| | | || sourcePosY != command.getSourcePosY().shortValue() |
| | | || sourcePosZ != command.getSourcePosZ().shortValue() |
| | | || destinationPosX != command.getDestinationPosX().shortValue() |
| | | || destinationPosY != command.getDestinationPosY().shortValue() |
| | | || destinationPosZ != command.getDestinationPosZ().shortValue()) { |
| | | result = siemensNet.Write("DB100.0", array); |
| | | } else { |
| | | commandDataResult = true; |