// ReSharper disable CheckNamespace #pragma warning disable 1591 using System; using System.Collections.Generic; using GSF.ComponentModel; namespace PhasorWebUI.Adapters { public class FrequencyDefinition { public string Label { get; set; } } public class PhasorDefinition { public int ID { get; set; } public string Label { get; set; } public string PhasorType { get; set; } public string Phase { get; set; } public int? DestinationPhasorID { get; set; } public int? NominalVoltage { get; set; } public int SourceIndex { get; set; } } public class AnalogDefinition { public string Label { get; set; } public string AnalogType { get; set; } } public class DigitalDefinition { public string Label { get; set; } } public class ConfigurationCell { public int ID { get; set; } public int? ParentID { get; set; } public Guid? UniqueID { get; set; } public decimal? Longitude { get; set; } public decimal? Latitude { get; set; } public ushort IDCode { get; set; } public string StationName { get; set; } public string IDLabel { get; set; } public FrequencyDefinition FrequencyDefinition { get; set; } public List PhasorDefinitions { get; } = new List(); public List AnalogDefinitions { get; } = new List(); public List DigitalDefinitions { get; } = new List(); } public class ConfigurationFrame { public List Cells { get; } = new List(); public ushort IDCode { get; set; } public string StationName { get; set; } public string IDLabel { get; set; } [DefaultValueExpression("Global.DefaultCalculationFramesPerSecond")] public ushort FrameRate { get; set; } public string ConnectionString { get; set; } public int ProtocolID { get; set; } public bool IsConcentrator { get; set; } } }