使用json存储通道信息
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
<Compile Include="Hourprod.cs" />
|
||||
<Compile Include="BGearEntity.cs" />
|
||||
<Compile Include="SysConfig\ChallengeCode.cs" />
|
||||
<Compile Include="SysConfig\ChannelConfig.cs" />
|
||||
<Compile Include="SysConfig\Device.cs" />
|
||||
<Compile Include="CPKModel.cs" />
|
||||
<Compile Include="DeviceOEE.cs" />
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JinYuan.Models.SysConfig
|
||||
{
|
||||
public class ChannelConfig
|
||||
{
|
||||
public List<Channel> Channels { get; set; } = new List<Channel>();
|
||||
}
|
||||
|
||||
public class Channel
|
||||
{
|
||||
public int ChannelId { get; set; }
|
||||
public int DefaultValue { get; set; }
|
||||
public List<string> Gears { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace JinYuan.Models
|
||||
namespace JinYuan.Models.SysConfig
|
||||
{
|
||||
public class SysConfig
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user