SysSetInfo.cs 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace WMS.Info.Info
  8. {
  9. public class SysSetInfo
  10. {
  11. /// <summary>
  12. /// 是否日志记录执行SQL语句
  13. /// </summary>
  14. [PropertyDescription("是否日志记录执行SQL语句", "是否日志记录执行SQL语句")]
  15. public bool IsLogSql { get; set; } = true;
  16. /// <summary>
  17. /// 是否同一用户名同时登录在于1个的APP类型
  18. /// </summary>
  19. [PropertyDescription("是否同一用户名同时登录在于1个的APP类型", "是否同一用户名同时登录在于1个的APP类型")]
  20. public bool IsOnlyLogin { get; set; } = false;
  21. /// <summary>
  22. /// 在线登录超时时间(单位:分钟)
  23. /// </summary>
  24. [PropertyDescription("在线登录超时时间(单位:分钟)", "在线登录超时时间(单位:分钟)")]
  25. public int OnLoginTimeOutM { get; set; } = 30;
  26. /// <summary>
  27. /// 密码错误次数后锁定
  28. /// </summary>
  29. [PropertyDescription("密码错误次数后锁定", "密码错误次数后锁定")]
  30. public int UserPwdErrQty { get; set; } = 5;
  31. /// <summary>
  32. /// 密码过期时间(天)
  33. /// </summary>
  34. [PropertyDescription("密码过期时间(天)", "密码过期时间(天)")]
  35. public int UserPwdExpD { get; set; } = 90;
  36. /// <summary>
  37. /// 是否压缩JS,CSS
  38. /// </summary>
  39. [PropertyDescription("是否压缩JS,CSS", "是否压缩JS,CSS")]
  40. public bool IsJsCssCompressor { get; set; } = false;
  41. /// <summary>
  42. /// 登录头像
  43. /// </summary>
  44. [PropertyDescription("登录头像", "登录头像")]
  45. public string FileHeadImg { get; set; } = "C:/wms/FileHeadImg";
  46. /// <summary>
  47. /// 上传文件路径
  48. /// </summary>
  49. [PropertyDescription("上传文件路径", "上传文件路径")]
  50. public string AnnexesFile { get; set; } = "C:/wms/fileAnnexes";
  51. /// <summary>
  52. /// 是否启用Session
  53. /// </summary>
  54. [PropertyDescription("是否启用Session", "是否启用Session")]
  55. public bool IsSession { get; set; } = false;
  56. /// <summary>
  57. /// 用户初始密码
  58. /// </summary>
  59. [PropertyDescription("用户初始密码", "用户初始密码")]
  60. public string PwdInit { get; set; } = "000000";
  61. /// <summary>
  62. /// wms标题
  63. /// </summary>
  64. [PropertyDescription("wms标题", "wms标题")]
  65. public string WMSTile { get; set; } = "中天智能仓储管理系统";
  66. /// <summary>
  67. /// wms版本
  68. /// </summary>
  69. [PropertyDescription("wms版本", "wms版本")]
  70. public string WMSVersion { get; set; } = "v3.2.9";
  71. /// <summary>
  72. /// 报警统计时间单位设定
  73. /// </summary>
  74. [PropertyDescription("yyyy-mm-dd", "报警统计时间单位设定")]
  75. public string AlaramCount_Param01 { get; set; } = "yyyy-mm-dd";
  76. /// <summary>
  77. /// 报警统计查询记录数设定
  78. /// </summary>
  79. [PropertyDescription("前10条数据", "报警统计查询记录数设定")]
  80. public int AlaramCount_Param02 { get; set; } = 10;
  81. /// <summary>
  82. /// 库龄统计日期天数设定(饼图)
  83. /// </summary>
  84. [PropertyDescription("0-7天", "库龄统计日期天数设定(饼图)")]
  85. public int DullMatterialCount_Param01 { get; set; } = 7;
  86. /// <summary>
  87. /// 库龄统计日期天数设定(饼图)
  88. /// </summary>
  89. [PropertyDescription("8-15天", "库龄统计日期天数设定(饼图)")]
  90. public int DullMatterialCount_Param02 { get; set; } = 7;
  91. /// <summary>
  92. /// 库龄统计日期天数设定(饼图)
  93. /// </summary>
  94. [PropertyDescription("16-30天", "库龄统计日期天数设定(饼图)")]
  95. public int DullMatterialCount_Param03 { get; set; } = 15;
  96. /// <summary>
  97. /// 库龄统计日期天数设定(饼图)
  98. /// </summary>
  99. [PropertyDescription("31天以上", "库龄统计日期天数设定(饼图)")]
  100. public int DullMatterialCount_Param04 { get; set; } = 30;
  101. /// <summary>
  102. /// 库龄统计日期天数设定
  103. /// </summary>
  104. [PropertyDescription("一个星期以上", "库龄统计日期天数设定")]
  105. public int LibraryAgeCount_Param01 { get; set; } = 7;
  106. /// <summary>
  107. /// 库龄统计日期天数设定
  108. /// </summary>
  109. [PropertyDescription("半个月以上", "库龄统计日期天数设定")]
  110. public int LibraryAgeCount_Param02 { get; set; } = 15;
  111. /// <summary>
  112. /// 库龄统计日期天数设定
  113. /// </summary>
  114. [PropertyDescription("一个月以上", "库龄统计日期天数设定")]
  115. public int LibraryAgeCount_Param03 { get; set; } = 30;
  116. /// <summary>
  117. /// 库龄统计记录数设定
  118. /// </summary>
  119. [PropertyDescription("前10条数据", "库龄统计记录数设定")]
  120. public int LibraryAgeCount_Param04 { get; set; } = 10;
  121. /// <summary>
  122. /// 登陆超时设定(单位分钟)
  123. /// </summary>
  124. [PropertyDescription("登录超时", "登陆超时设定(单位分钟)")]
  125. public int LoginTimeOutMi { get; set; } = 30;
  126. /// <summary>
  127. /// 输入密码错误次数设定
  128. /// </summary>
  129. [PropertyDescription("输入密码错误次数", "输入密码错误次数设定")]
  130. public int PWDERRCOUNT { get; set; } = 3;
  131. /// <summary>
  132. /// 密码过期时间设定(单位天)
  133. /// </summary>
  134. [PropertyDescription("密码过期时间", "密码过期时间设定(单位天)")]
  135. public int PwdEXPDay { get; set; } = 30;
  136. /// <summary>
  137. /// RGV运行模式设定(1.出库模式;2.入库模式;3.盘点模式;4.正常模式;)
  138. /// </summary>
  139. [PropertyDescription("RGV运行模式", "RGV运行模式设定(1.出库模式;2.入库模式;3.盘点模式;4.正常模式;)")]
  140. public int Rgv02_Mode { get; set; } = 4;
  141. /// <summary>
  142. /// 出入库物料统计时间单位设定
  143. /// </summary>
  144. [PropertyDescription("day", "出入库物料统计时间单位设定")]
  145. public string StockOutInCount_Param01 { get; set; } = "day";
  146. /// <summary>
  147. /// 出入库物料统计记录数设定
  148. /// </summary>
  149. [PropertyDescription("前13条数据", "出入库物料统计记录数设定")]
  150. public int StockOutInCount_Param02 { get; set; } = 13;
  151. /// <summary>
  152. /// 库存周转率统计时间单位设定
  153. /// </summary>
  154. [PropertyDescription("month", "库存周转率统计时间单位设定")]
  155. public string StockTurnOverRate_Param01 { get; set; } = "month";
  156. /// <summary>
  157. /// 库存周转率统计记录数设定
  158. /// </summary>
  159. [PropertyDescription("前12条数据", "库存周转率统计记录数设定")]
  160. public int StockTurnOverRate_Param02 { get; set; } = 12;
  161. /// <summary>
  162. /// 货位统计类型设定(0.所有仓库;1.立库;2.平库;3.离线仓库)
  163. /// </summary>
  164. [PropertyDescription("F_STATENUM", "货位统计类型设定(0.所有仓库;1.立库;2.平库;3.离线仓库)")]
  165. public int WARECELLCOUNT_Param01 { get; set; } = 1;
  166. /// <summary>
  167. /// 默认仓库
  168. /// </summary>
  169. [PropertyDescription("warehouse", "默认立库")]
  170. public string DefaultWarehouseNo { get; set; } = "JS";
  171. /// <summary>
  172. /// 飞旭webservice地址http://afgqadtest19.europe.lan:53979/qxi/services/QdocWebService?wsdl
  173. /// </summary>
  174. [PropertyDescription("FxWebServiceUrl", "webserviceUrl")]
  175. public string FxWebServiceUrl { get; set; }
  176. /// <summary>
  177. /// wcs调用地址
  178. /// </summary>
  179. [PropertyDescription("WCSApiUrl", "wcs调用地址")]
  180. public string WCSApiUrl { get; set; }
  181. /// <summary>
  182. /// 托盘组编码
  183. /// </summary>
  184. [PropertyDescription("托盘组编码", "EmptyTrayGroup")]
  185. public string DefaultEmptyTrayGroupNo { get; set; } = "EmptyTrayGroup";
  186. /// <summary>
  187. /// 托盘组名称
  188. /// </summary>
  189. [PropertyDescription("DefaultEmptyTrayGroupName", "托盘组名称")]
  190. public string DefaultEmptyTrayGroupName { get; set; } = "空托盘组";
  191. /// <summary>
  192. /// webService用户名
  193. /// </summary>
  194. [PropertyDescription("WebServiceUserName", "用户名")]
  195. public string WebServiceUserName { get; set; } = "H3C-EDI";
  196. /// <summary>
  197. /// webServiceUserName
  198. /// </summary>
  199. [PropertyDescription("WebServicePassword", "密码")]
  200. public string WebServicePassword { get; set; } = "H3C-EDI";
  201. }
  202. }