| | |
| | | |
| | | short[] array = new short[9]; |
| | | array[0] = (short) 0; |
| | | array[1] = command.getTaskNo(); |
| | | array[2] = command.getTaskMode(); |
| | | array[3] = command.getSourcePosX(); |
| | | array[4] = command.getSourcePosY(); |
| | | array[5] = command.getSourcePosZ(); |
| | | array[6] = command.getDestinationPosX(); |
| | | array[7] = command.getDestinationPosY(); |
| | | array[8] = command.getDestinationPosZ(); |
| | | array[1] = command.getTaskNo().shortValue(); |
| | | array[2] = command.getTaskMode().shortValue(); |
| | | array[3] = command.getSourcePosX().shortValue(); |
| | | array[4] = command.getSourcePosY().shortValue(); |
| | | array[5] = command.getSourcePosZ().shortValue(); |
| | | array[6] = command.getDestinationPosX().shortValue(); |
| | | array[7] = command.getDestinationPosY().shortValue(); |
| | | array[8] = command.getDestinationPosZ().shortValue(); |
| | | |
| | | OperateResult result = siemensNet.Write("DB100.0", array); |
| | | if (!result.IsSuccess) { |