using Hydro.CommonBase;
|
using MetroFramework;
|
using Newtonsoft.Json;
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
using System.Drawing;
|
|
namespace Hydro.ConfigModel
|
{
|
public class HostExt
|
{
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public string Tag { get; set; } = null;
|
/// <summary>
|
/// 共享剪切板
|
/// </summary>
|
public string accurary { get; set; } = "0.1";
|
|
/// <summary>
|
/// 共享所有磁盘
|
/// </summary>
|
public bool ShareAllDisk { get; set; }
|
|
/// <summary>
|
/// 共享磁盘列表,当 ShareAllDisk = false 时使用
|
/// </summary>
|
public List<string> ShareDiskList { get; set; } = new List<string>();
|
/// <summary>
|
/// 对象类型
|
/// </summary>
|
public string ObjectType { get; set; }
|
/// <summary>
|
/// 当前显示时刻,默认值为0
|
/// </summary>
|
public int Period { get; set; } = 0;
|
[JsonIgnore]
|
public double[] Result_Arr { get; set; }
|
[JsonIgnore]
|
public dict<double, string> ResultFormat { get; set; } = null;
|
/// <summary>
|
/// 显示模式,0:默认,1:显示曲线
|
/// </summary>
|
[JsonIgnore]
|
|
public int ResultShowType { get; set; } = 0;
|
|
[JsonIgnore]
|
public dict<double, Color> 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;
|
}
|
|
|
}
|