记录界面优化
This commit is contained in:
@@ -15,20 +15,18 @@ namespace UIShare.GlobalVariable
|
||||
public class SystemConfig
|
||||
{
|
||||
[JsonIgnore]
|
||||
public string SystemPath { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "UIShare");
|
||||
public string SystemPath { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "ADP");
|
||||
[JsonIgnore]
|
||||
public string DLLFilePath { get; set; } = @"D:\ADP\指令\";
|
||||
[JsonIgnore]
|
||||
public string TSMasterName { get; set; } = "ADP测试上位机";
|
||||
public string SubProgramFilePath { get; set; } = @"D:\ADP\子程序\";
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public int PerformanceLevel { get; set; } = 50;
|
||||
public string DLLFilePath { get; set; } = @"D:\ADP\指令\";
|
||||
public string SubProgramFilePath { get; set; } = @"D:\ADP\子程序\";
|
||||
public string DefaultProgramFilePath { get; set; } = "";
|
||||
public string DefaultBLFFilePath { get; set; } = "";
|
||||
public string DefaultDBCFilePath { get; set; } = "";
|
||||
public string TSMasterName { get; set; } = "ADP测试上位机";
|
||||
|
||||
/// <summary>
|
||||
/// 设备列表:每个工位独立一份(SystemConfig 已注册为 Scoped)。
|
||||
/// 当前阶段预置几条模拟设备,便于设置界面直接展示左侧列表。
|
||||
/// </summary>
|
||||
public ObservableCollection<DeviceInfoModel> DeviceList { get; set; } = new()
|
||||
{
|
||||
new DeviceInfoModel { DeviceName = "DAQ_001", DeviceType = "数据采集卡", Remark = "8 通道电压采集", IsEnabled = true, IsConnected = false },
|
||||
|
||||
Reference in New Issue
Block a user