Initial project commit

This commit is contained in:
2020-07-18 21:44:27 -04:00
parent 8a1141b373
commit fea891a268
127 changed files with 20838 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
package com.eveningoutpost.dexdrip.G5Model;
import com.eveningoutpost.dexdrip.Models.JoH;
// created by jamorham
public class SessionStopTxMessage extends BaseMessage {
final byte opcode = 0x28;
final int length = 7;
{
postExecuteGuardTime = 1000;
}
SessionStopTxMessage(int stopTime) {
init(opcode, length);
data.putInt(stopTime);
appendCRC();
}
SessionStopTxMessage(String transmitterId) {
final int stopTime = DexTimeKeeper.getDexTime(transmitterId, JoH.tsl());
init(opcode, 7);
data.putInt(stopTime);
appendCRC();
}
}