| | |
| | | StaProtocol staProtocol06 = station.get(3006); |
| | | short a11171 = siemensS7Net.getByteTransform().TransInt16(result37new.Content, 0); |
| | | short a11172 = siemensS7Net.getByteTransform().TransInt16(result37new.Content, 2); |
| | | staProtocol11.setStaNoEnd(a11171); |
| | | staProtocol11.setBan(a11172==1); |
| | | |
| | | short a11173 = siemensS7Net.getByteTransform().TransInt16(result37new.Content, 4); |
| | | short a11174 = siemensS7Net.getByteTransform().TransInt16(result37new.Content, 6); |
| | | staProtocol06.setStaNoEnd(a11173); |
| | | staProtocol06.setBan(a11174==1); |
| | | staProtocol11.setStaNoEnd(a11173); |
| | | staProtocol11.setBan(a11171==1); |
| | | staProtocol06.setStaNoEnd(a11174); |
| | | staProtocol06.setBan(a11172==1); |
| | | } |
| | | } |
| | | |
| | |
| | | staProtocol.setTongType(tongType); |
| | | staProtocol.setBatch(batch); |
| | | staProtocol.setAmount(amount); |
| | | staProtocol.setAnfme(Double.valueOf(amount)); |
| | | staProtocol.setAnfme2(Double.valueOf(amount)); |
| | | int i1 = w1 / 100; |
| | | staProtocol.setWeight1((double) i1); |
| | | // staProtocol.setWeight2(w2); |