schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
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
91
using DataEntity.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XImagingXhandler.XDAL;
 
namespace DataEntity.Share
{
    public class Shared
    {
        #region 配置参数
        /// <summary>
        /// 配置参数
        /// </summary>
        public static ConfigParam Config { get; set; } = new ConfigParam();
        #endregion
 
        #region 通道相关
        /// <summary>
        /// 通道机械臂ID
        /// </summary>
        public static int ChanelArmId { get; set; }
        /// <summary>
        /// 夹爪机械臂ID
        /// </summary>
        public static int GripperArmId { get; set; }
 
 
        /// <summary>
        /// 通道ID
        /// </summary>
        public static int[] ChannelsId { get; set; }
        /// <summary>
        /// 可用通道数量
        /// </summary>
        public static int ChannelCount { get; set; } = 0;
        #endregion
 
        /// <summary>
        /// MainWindow
        /// </summary>
        public static object Main{ get; set; }
 
        /// <summary>
        /// 软件信息
        /// </summary>
        public static SoftwareInformation SoftwareInformation { get; set; }
        /// <summary>
        /// 机械臂信息
        /// </summary>
        public static List<DeviceArm> DeviceArmList { get; set; }
 
        /// <summary>
        /// 用户信息
        /// </summary>
        public static UserInfo User { get; set; }
 
        /// <summary>
        /// 当前运行的实验信息
        /// </summary>
        public static ExperimentModel Exp { get; set; }
 
        /// <summary>
        /// 当前运行的实验信息
        /// </summary>
        public static ExperimentRunChoiceBacteraModel ExpChoiceBactera { get; set; }
 
        /// <summary>
        /// 台面像素被缩放的倍数
        /// </summary>
        public static double tabletopReduceTimes { get; set; }
 
        #region 运行时最终的MethodEx(包括所有子方法、增加所有节点唯一key)
        public static MethodEx AllNodeMethod { get; set; } = new MethodEx();
        #endregion
    }
 
 
    /// <summary>
    /// 公共参数
    /// </summary>
    public static class CommonParameter
    {
        /// <summary>
        /// 变量(固定值:#!HxSEP!#)
        /// </summary>
        public static string SpecifiedDisplay = "#!HxSEP!#";
    }
}