|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 读侧面码盘完成信号 | 
|---|
|  |  |  | OperateResultExOne<byte[]> resultMp = siemensS7Net.Read("DB79.362", (short) 4); | 
|---|
|  |  |  | if (resultMp.IsSuccess) { | 
|---|
|  |  |  | StaProtocol staProtocol207 = station.get(207); | 
|---|
|  |  |  | StaProtocol staProtocol212 = station.get(212); | 
|---|
|  |  |  | staProtocol207.setMpCompletedFlag(siemensS7Net.getByteTransform().TransInt16(resultMp.Content, 0)); | 
|---|
|  |  |  | staProtocol212.setMpCompletedFlag(siemensS7Net.getByteTransform().TransInt16(resultMp.Content, 2)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //            OperateResultExOne<byte[]> resultMp = siemensS7Net.Read("DB79.362", (short) 4); | 
|---|
|  |  |  | //            if (resultMp.IsSuccess) { | 
|---|
|  |  |  | //                StaProtocol staProtocol207 = station.get(207); | 
|---|
|  |  |  | //                StaProtocol staProtocol212 = station.get(212); | 
|---|
|  |  |  | //                staProtocol207.setMpCompletedFlag(siemensS7Net.getByteTransform().TransInt16(resultMp.Content, 0)); | 
|---|
|  |  |  | //                staProtocol212.setMpCompletedFlag(siemensS7Net.getByteTransform().TransInt16(resultMp.Content, 2)); | 
|---|
|  |  |  | //            } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 读取正面条码 | 
|---|
|  |  |  | OperateResultExOne<byte[]> result3 = siemensS7Net.Read("DB103.0", (short) (5 * 40)); | 
|---|