|
@@ -212,8 +212,8 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS |
|
|
// astPosCmd 组装 |
|
|
// astPosCmd 组装 |
|
|
String astPosCmd = "233E0401"; |
|
|
String astPosCmd = "233E0401"; |
|
|
astPosCmd += "1000"; |
|
|
astPosCmd += "1000"; |
|
|
astPosCmd += HexConvert.hexStringToBytes(HexConvert.encodeHEX(lanLongValue).toUpperCase()); |
|
|
|
|
|
astPosCmd += HexConvert.hexStringToBytes(HexConvert.encodeHEX(altLongValue).toUpperCase()); |
|
|
|
|
|
|
|
|
astPosCmd += HexConvert.encodeHEX(lanLongValue).toUpperCase(); |
|
|
|
|
|
astPosCmd += HexConvert.encodeHEX(altLongValue).toUpperCase(); |
|
|
astPosCmd += "70170000"; |
|
|
astPosCmd += "70170000"; |
|
|
astPosCmd += "A0860100"; |
|
|
astPosCmd += "A0860100"; |
|
|
|
|
|
|
|
@@ -237,7 +237,7 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS |
|
|
astPosCmdBuf.append(s + " "); |
|
|
astPosCmdBuf.append(s + " "); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return astPosCmdBuf.toString() + checkSum.substring(0,1) + " " + checkSum.substring(2,3); |
|
|
|
|
|
|
|
|
return astPosCmdBuf.toString() + checkSum.substring(0,2) + " " + checkSum.substring(2,4); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |