duheng
2024-08-01 df724e202d16eda69bf8a67c683e2b70ccaca4f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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;
    }
 
 
}