123456789101112131415161718192021222324252627282930 |
- using Ips.Library.Basic;
- namespace Ips.Sps.Scheduling
- {
- public class RunAdCh
- {
- public int ChId { get; set; }
- public int ChNum { get; set; }
- public bool FixCenter { get; set; }
- public long CenterFreq { get; set; }
- public string FrqAddr { get; set; }
- public long FrqTurn { get; set; }
- public string AdcCode { get; set; }
- public int AntId { get; set; }
- public string AntCode { get; set; }
- public string AntName { get; set; }
- public double AntLon { get; set; }
- public double AntLat { get; set; }
- public double AntAlt { get; set; }
- public List<RunSat> Sats { get; set; } = new List<RunSat>();
- }
- public static class RunAdChExtensions
- {
- public static bool CanSetFrq(this RunAdCh adCh)
- {
- return adCh != null && adCh.FrqAddr.IsNotNullOrWhitespace();
- }
- }
- }
|