增加通道配置界面
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user