@@ -242,10 +242,10 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS | |||||
astTimeCmd += HexConvert.encodeHEX(lanLongValue); | astTimeCmd += HexConvert.encodeHEX(lanLongValue); | ||||
astTimeCmd += HexConvert.encodeHEX(altLongValue); | astTimeCmd += HexConvert.encodeHEX(altLongValue); | ||||
String hexIn = HexConvert.convertStringToHex(astTimeCmd) + HexConvert.makeChecksum(astTimeCmd); | |||||
//String hexIn = HexConvert.convertStringToHex(astTimeCmd) + HexConvert.makeChecksum(astTimeCmd); | |||||
String hexIn = astTimeCmd + HexConvert.makeChecksum(astTimeCmd); | |||||
//String sendResult = client.sendCmd(hexIn, ackAckCheckRef); | |||||
//client.closeConnection(); | |||||
//return sendResult; | //return sendResult; | ||||
return hexIn; | return hexIn; | ||||
@@ -95,8 +95,8 @@ public class DipperAstTimeAsyncTaskServiceImpl implements IDipperAstTimeAsyncTas | |||||
astTimeCmd += "0000000000"; | astTimeCmd += "0000000000"; | ||||
astTimeCmd += "00286BEE"; | astTimeCmd += "00286BEE"; | ||||
String hexIn = HexConvert.convertStringToHex(astTimeCmd) + HexConvert.makeChecksum(astTimeCmd); | |||||
//String hexIn = HexConvert.convertStringToHex(astTimeCmd) + HexConvert.makeChecksum(astTimeCmd); | |||||
String hexIn = astTimeCmd + HexConvert.makeChecksum(astTimeCmd); | |||||
//String ackAckCheckRef = "233E0101020004020A1D"; | //String ackAckCheckRef = "233E0101020004020A1D"; | ||||
//String sendResult = client.sendCmd(hexIn, ackAckCheckRef); | //String sendResult = client.sendCmd(hexIn, ackAckCheckRef); | ||||
//client.closeConnection(); | //client.closeConnection(); | ||||