public WeatherTag(tblTrackTagsActive ta) { CompList = ta.CompList; CreateTime = string.IsNullOrEmpty(ta.CreateTime) ? DateTime.MaxValue : DateTime.Parse(ta.CreateTime); Creator = ta.Creator; DataString = ta.DataString; DelayData = ta.DelayData; Direction = ta.Direction; ExpectedReleaseTime = ta.ExpectedReleaseTime ?? DateTime.MaxValue; IsPtcEnforceable = ta.IsPTCEnforceable; NameRequestingTagPlacement = ta.NameRequestingTagPlacement; PtcData = ta.PTCData; RefNumPtc = ta.RefNumPTC ?? 0; RestrictionFlag = ta.RestrictionFlag; Restrictive = ta.Restrictive ?? 0; Subdivision = ta.Subdivision != null?int.Parse(ta.Subdivision) : 0; TagType = ta.TagType; TagUid = ta.TagUID; TerritoryId = ta.TerritoryID ?? 0; TrackGuid = ta.TrackGUID; AffectedTracks = new Tracks(); }
public SpeedTag() { AffectedTracks = new Tracks(); }
public InfoTag() { AffectedTracks = new Tracks(); }
public WeatherTag() { AffectedTracks = new Tracks(); }
public CrossingTag() { AffectedTracks = new Tracks(); }