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