Ejemplo n.º 1
0
 public RadioInfoModel()
 {
     _changesMade          = true;
     _unitId               = Guid.Empty;
     _agencyId             = Guid.Empty;
     _radioName            = string.Empty;
     _signalingFormat      = RadioLog.Common.SignalingNames.MDC;
     _signalingUnitId      = string.Empty;
     _roleName             = string.Empty;
     _personnelName        = string.Empty;
     _radioTypeCode        = Common.RadioTypeCode.Unknown;
     _firstHeardSourceName = string.Empty;
     _excludeFromRollCall  = false;
 }
Ejemplo n.º 2
0
 public RadioInfoModel(RadioLog.Common.RadioInfo radio)
 {
     if (radio == null)
     {
         throw new ArgumentNullException();
     }
     this._unitId               = radio.UnitKeyId;
     this._agencyId             = radio.AgencyKeyId;
     this._radioName            = radio.RadioName;
     this._signalingFormat      = radio.SignalingFormat;
     this._signalingUnitId      = radio.SignalingUnitId;
     this._roleName             = radio.RoleName;
     this._personnelName        = radio.PersonnelName;
     this._radioTypeCode        = radio.RadioType;
     this._firstHeardSourceName = radio.FirstHeardSourceName;
     this._excludeFromRollCall  = radio.ExcludeFromRollCall;
 }
Ejemplo n.º 3
0
 public RadioInfoModel(RadioLog.Common.RadioInfo radio)
 {
     if (radio == null)
         throw new ArgumentNullException();
     this._unitId = radio.UnitKeyId;
     this._agencyId = radio.AgencyKeyId;
     this._radioName = radio.RadioName;
     this._signalingFormat = radio.SignalingFormat;
     this._signalingUnitId = radio.SignalingUnitId;
     this._roleName = radio.RoleName;
     this._personnelName = radio.PersonnelName;
     this._radioTypeCode = radio.RadioType;
     this._firstHeardSourceName = radio.FirstHeardSourceName;
     this._excludeFromRollCall = radio.ExcludeFromRollCall;
 }
Ejemplo n.º 4
0
 public RadioInfoModel()
 {
     _changesMade = true;
     _unitId = Guid.Empty;
     _agencyId = Guid.Empty;
     _radioName = string.Empty;
     _signalingFormat = RadioLog.Common.SignalingNames.MDC;
     _signalingUnitId = string.Empty;
     _roleName = string.Empty;
     _personnelName = string.Empty;
     _radioTypeCode = Common.RadioTypeCode.Unknown;
     _firstHeardSourceName = string.Empty;
     _excludeFromRollCall = false;
 }