Selaa lähdekoodia

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 vuotta sitten
vanhempi
commit
92873d0f37
2 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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();


Loading…
Peruuta
Tallenna