增加通道配置界面
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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);
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace JinYuan.VirtualDataLibrary
|
||||
/// <summary>
|
||||
/// 通道档位设置
|
||||
/// </summary>
|
||||
public Models.SysCfg.ChannelConfig ChannelConfig = new ChannelConfig();
|
||||
public Models.ChannelConfig ChannelConfig = new Models.ChannelConfig();
|
||||
|
||||
/// <summary>
|
||||
/// 设备状态
|
||||
|
||||
Reference in New Issue
Block a user