wcs_server_kate_suzhou/WcsMain/AppEntity/SystemData/AppConfigEntity.cs

90 lines
2.1 KiB
C#
Raw Normal View History

2024-05-14 16:30:56 +08:00
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; }
2024-05-14 16:30:56 +08:00
/// <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; }
}