Exemple #1
0
 public JT808HeaderMessageBodyProperty(int dataLength, bool isPackage, bool versionFlag = false, JT808EncryptMethod jT808EncryptMethod = JT808EncryptMethod.None)
 {
     IsPackage   = isPackage;
     Encrypt     = jT808EncryptMethod;
     DataLength  = dataLength;
     VersionFlag = versionFlag;
 }
Exemple #2
0
 public JT808HeaderMessageBodyProperty(bool versionFlag, JT808EncryptMethod jT808EncryptMethod = JT808EncryptMethod.None)
 {
     IsPackage   = false;
     Encrypt     = jT808EncryptMethod;
     DataLength  = 0;
     VersionFlag = versionFlag;
 }