Bläddra i källkod

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 år sedan
förälder
incheckning
92873d0f37
2 ändrade filer med 5 tillägg och 5 borttagningar
  1. +3
    -3
      src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java
  2. +2
    -2
      src/main/java/com/telpo/dipperposition/service/impl/DipperAstTimeAsyncTaskServiceImpl.java

+ 3
- 3
src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java Visa fil

@@ -242,10 +242,10 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS
astTimeCmd += HexConvert.encodeHEX(lanLongValue);
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 hexIn;


+ 2
- 2
src/main/java/com/telpo/dipperposition/service/impl/DipperAstTimeAsyncTaskServiceImpl.java Visa fil

@@ -95,8 +95,8 @@ public class DipperAstTimeAsyncTaskServiceImpl implements IDipperAstTimeAsyncTas
astTimeCmd += "0000000000";
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 sendResult = client.sendCmd(hexIn, ackAckCheckRef);
//client.closeConnection();


Laddar…
Avbryt
Spara