96 lines
2.2 KiB
C#
96 lines
2.2 KiB
C#
using WcsMain.WcsAttribute.AppConfig;
|
||
|
||
namespace WcsMain.AppEntity.SystemData;
|
||
|
||
/*
|
||
* ConfigKey 对应表内的 config_key
|
||
* 若此处填写没有的 ConfigKey,则该变量会保持默认值;若不填写 ConfigKey 则会读取该属性的名称
|
||
*/
|
||
|
||
/// <summary>
|
||
/// 数据库配置表的映射
|
||
/// </summary>
|
||
public class AppConfigEntity
|
||
{
|
||
/******************************* 系统基本信息 *******************************/
|
||
|
||
/// <summary>
|
||
/// Wcs 系统在系统中的编号
|
||
/// </summary>
|
||
[ConfigKey("WcsId")]
|
||
public string? WcsId { get; set; }
|
||
|
||
|
||
|
||
/****************************** 功能配置 ******************************/
|
||
|
||
/// <summary>
|
||
/// 表示是否开启定时器
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 关闭
|
||
/// 1 - 开启
|
||
/// </remarks>
|
||
[ConfigKey("UseCirculation")]
|
||
public string? UseCirculation { get; set; }
|
||
|
||
/// <summary>
|
||
/// 表示是否开启连接PLC
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 关闭
|
||
/// 1 - 开启
|
||
/// </remarks>
|
||
[ConfigKey("UseConnectPlc")]
|
||
public string? UseConnectPlc { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 表示是否开启 Socket 连接
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 关闭
|
||
/// 1 - 开启
|
||
/// </remarks>
|
||
[ConfigKey("UseSocket")]
|
||
public string? UseSocket { get; set; }
|
||
|
||
/// <summary>
|
||
/// 表示是否开启 Opr 连接 电子标签
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 关闭
|
||
/// 1 - 开启
|
||
/// </remarks>
|
||
[ConfigKey("UseOpr")]
|
||
public string? UseOpr { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 表示过账确认的方法
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 直接写过账区
|
||
/// 1 - 写过账反馈区
|
||
/// </remarks>
|
||
[ConfigKey("CheckAccountMethod")]
|
||
public string? CheckAccountMethod { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// 是否是扫码入库
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 不是扫码入库
|
||
/// 1 - 扫码入库
|
||
/// </remarks>
|
||
[ConfigKey("ExcuteStackerInTaskWithScan")]
|
||
public string? ExcuteStackerInTaskWithScan { get; set; }
|
||
|
||
/// <summary>
|
||
/// 去往 pick2 箱子的比率
|
||
/// </summary>
|
||
[ConfigKey("Pick2Lv")]
|
||
public int Pick2Lv { get; set; }
|
||
}
|