using WcsMain.WcsAttribute.AppConfig;
namespace WcsMain.AppEntity.SystemData;
/*
* ConfigKey 对应表内的 config_key
* 若此处填写没有的 ConfigKey,则该变量会保持默认值;若不填写 ConfigKey 则会读取该属性的名称
*/
///
/// 数据库配置表的映射
///
public class AppConfigEntity
{
/******************************* 系统基本信息 *******************************/
///
/// Wcs 系统在系统中的编号
///
[ConfigKey("WcsId")]
public string? WcsId { get; set; }
/***************************** API信息 *************************************/
///
/// Wms 的根地址
///
[ConfigKey("WmsBaseApiAddress")]
public string? WmsBaseAddressApiAddress { get; set; }
///
/// 请求入库的地址
///
[ConfigKey("ApplyEnterApiAddress")]
public string? ApplyEnterApiAddress { get; set;}
///
/// 发送 Wms 任务状态
///
[ConfigKey("SendWmsTaskStatusApiAddress")]
public string? SendWmsTaskStatusApiAddress { get; set; }
///
/// 上报载具到达
///
[ConfigKey("VehicleArriveApiAddress")]
public string? VehicleArriveApiAddress { 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; }
}