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