public string getBinaryToSOTDMAValue()
 {
     try
     {
         return(root.setBinaryToDecimal(this.SyncState).PadLeft(2, '0') +
                root.setBinaryToDecimal(this.SlotTimeOut).PadLeft(3, '0') +
                root.setBinaryToDecimal(this.subMessage.SlotOffset).PadLeft(14, '0'));
     }
     catch (Exception ex)
     {
         log.Error(ex, "SOTDMA :: getValue");
         throw;
     }
 }
예제 #2
0
 public string getBinaryToITDMAValue()
 {
     try
     {
         return(root.setBinaryToDecimal(this.SyncState).PadLeft(2, '0') +
                root.setBinaryToDecimal(this.SlotIncrement).PadLeft(13, '0') +
                root.setBinaryToDecimal(this.NumberOfSlots).PadLeft(3, '0') +
                root.setBinaryToDecimal(this.KeepFlag).PadLeft(1, '0'));
     }
     catch (Exception ex)
     {
         log.Error(ex, "SOTDMA :: getValue");
         throw;
     }
 }