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.SecretId = fccStationInfo.SecretId; this.AcessKey = fccStationInfo.AcessKey; 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.WebSocketPort = fccStationInfo.WebSocketPort; this.PaymentType = fccStationInfo.PaymentType; this.CheckOrderInterval = fccStationInfo.CheckOrderInterval; } /// /// id /// public long? Id { get; set; } /// /// 云端站点 id /// public string BuildId { get; set; } /// /// 客户端id /// public string SecretId { get; set; } /// /// 与云端加密的 key /// public string AcessKey { 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 与 fcc 页面 webSocket 端口 /// public string WebSocketPort { get; set; } /// /// 支付方式,【id+支付名称,id+支付名称】 /// public string PaymentType { get; set; } /// /// 检查订单时间间隔 /// public int CheckOrderInterval { get; set; } } }