wcs_server_kate_suzhou/WcsMain/AppEntity/SystemData/AppConfigEntity.cs

118 lines
2.8 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
/***************************** API信息 *************************************/
/// <summary>
/// Wms 的根地址
/// </summary>
[ConfigKey("WmsBaseApiAddress")]
public string? WmsBaseAddressApiAddress { get; set; }
/// <summary>
/// 请求入库的地址
/// </summary>
[ConfigKey("ApplyEnterApiAddress")]
public string? ApplyEnterApiAddress { get; set;}
/// <summary>
/// 发送 Wms 任务状态
/// </summary>
[ConfigKey("SendWmsTaskStatusApiAddress")]
public string? SendWmsTaskStatusApiAddress { get; set; }
/// <summary>
/// 上报载具到达
/// </summary>
[ConfigKey("VehicleArriveApiAddress")]
public string? VehicleArriveApiAddress { 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; }
}