增加通道配置界面

This commit is contained in:
liming 蔡
2026-08-10 16:05:17 +08:00
parent 45c39f738b
commit 25f2ae3d44
22 changed files with 964 additions and 68 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -542,7 +542,7 @@ namespace JinYuan.VirtualDataLibrary
public static string ChannelPath = Path.Combine(System.Windows.Forms.Application.StartupPath, "Config\\Channel.json");
#region 读取json配置
public static Models.SysCfg.ChannelConfig LoadFromJson(string filePath)
public static Models.ChannelConfig LoadFromJson(string filePath)
{
var json = File.ReadAllText(filePath);
return JsonConvert.DeserializeObject<ChannelConfig>(json);
+1 -1
View File
@@ -143,7 +143,7 @@ namespace JinYuan.VirtualDataLibrary
/// <summary>
/// 通道档位设置
/// </summary>
public Models.SysCfg.ChannelConfig ChannelConfig = new ChannelConfig();
public Models.ChannelConfig ChannelConfig = new Models.ChannelConfig();
/// <summary>
/// 设备状态