using Hydro.CommonBase; using MetroFramework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Collections.Generic; using System.Drawing; namespace Hydro.ConfigModel { public class HostExt { /// /// 标识 /// public string Tag { get; set; } = null; /// /// 共享剪切板 /// public string accurary { get; set; } = "0.1"; /// /// 共享所有磁盘 /// public bool ShareAllDisk { get; set; } /// /// 共享磁盘列表,当 ShareAllDisk = false 时使用 /// public List ShareDiskList { get; set; } = new List(); /// /// 对象类型 /// public string ObjectType { get; set; } /// /// 当前显示时刻,默认值为0 /// public int Period { get; set; } = 0; [JsonIgnore] public double[] Result_Arr { get; set; } [JsonIgnore] public dict ResultFormat { get; set; } = null; /// /// 显示模式,0:默认,1:显示曲线 /// [JsonIgnore] public int ResultShowType { get; set; } = 0; [JsonIgnore] public dict ResultColorFormat { get; set; } = null; [JsonIgnore] public string bestObj { get; set; } = null; public int 小数位数 { get; set; } = 3; public string childSolution { get; set; } = ""; public string childTag { get; set; } = ""; public string childType { get; set; } = "传入"; public string isSave { get; set; } = ""; public string SaveRange { get; set; } = ""; public string SaveAcc { get; set; } = ""; public string isMemSave { get; set; } = ""; public string MemSaveRange { get; set; } = ""; public string MemSaveAcc { get; set; } = ""; public string MemSaveIndex { get; set; } = ""; public bool Enable { get; set; } = true; public bool Visible { get; set; } = true; public bool Prefer { get; set; } = false; //public MetroColorStyle_Inner TitleColor { get; set; } public MetroColorStyle_Inner ContentColor { get; set; } public bool isUseCustomColor { get; set; } = false; public DRange doubleRange { get; set; } = null; public string AnFrom { get; set; } = ""; public string AnValue { get; set; }=""; public double MuRange { get; set; } = double.NaN; public double MuRate { get; set; } = double.NaN; } }