using System.Numerics; namespace Edge.Core.Domain.FccStationInfo.Output { /// /// 获取站点基本信息结果 /// public class StationInfoOutput { /// /// 总数量 /// public int Total { get; set; } /// /// 站点信息 /// public List StationList { get; set; } } public class StationInfo { public StationInfo() { } public StationInfo(FccStationInfo fccStationInfo) { this.Id = fccStationInfo.Id; this.BuildId = fccStationInfo.BuildId; this.Name = fccStationInfo.Name; this.Longitude = fccStationInfo.Longitude; this.Latitude = fccStationInfo.Latitude; this.SmallProgram = fccStationInfo.SmallProgram; this.CloudService = fccStationInfo.CloudService; this.MqttService = fccStationInfo.MqttService; this.IcardService = fccStationInfo.IcardService; this.ServicePort = fccStationInfo.ServicePort; this.WebSocketPort = fccStationInfo.WebSocketPort; } /// /// id /// public long? Id { get; set; } /// /// 云端站点 id /// public string BuildId { get; set; } /// /// 站点名称 /// public string? Name { get; set; } /// /// 经度 /// public decimal Longitude { get; set; } /// /// 纬度 /// public decimal Latitude { get; set; } /// /// 小程序链接地址 /// public string SmallProgram { get; set; } /// /// 云端地址 /// public string CloudService { get; set; } /// /// 云端 MQTT 地址 /// public string MqttService { get; set; } /// /// icard 数据库连接地址 /// public string? IcardService { get; set; } /// /// 本地 fcc 与油机 socket 通讯端口 /// public string ServicePort { get; set; } /// /// 本地 fcc 与 fcc 页面 webSocket 端口 /// public string WebSocketPort { get; set; } } }