| | |
| | | |
| | | if (toplc > 0)//è·åå°ææå»å |
| | | { |
| | | if (toplc == 1 && productInfo.Length < productInfo.Width) |
| | | { |
| | | otherDevice.Communicator.Write("DB15.10", productInfo.Width); |
| | | otherDevice.Communicator.Write("DB15.14", productInfo.Length); |
| | | otherDevice.Communicator.Write("DB15.18", productInfo.Height); |
| | | } |
| | | else |
| | | { |
| | | otherDevice.Communicator.Write("DB15.10", productInfo.Length); |
| | | otherDevice.Communicator.Write("DB15.14", productInfo.Width); |
| | | otherDevice.Communicator.Write("DB15.18", productInfo.Height); |
| | | } |
| | | |
| | | |
| | | otherDevice.Communicator.Write("DB15.6", toplc); //åå
¥å»å |
| | | otherDevice.Communicator.Write("DB15.0", true); |