58 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			58 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | using System; | |||
|  | using System.Collections.Generic; | |||
|  | using System.Linq; | |||
|  | using System.Text; | |||
|  | 
 | |||
|  | namespace DeiNiu.Utils | |||
|  | { | |||
|  |     public struct WmsConstants | |||
|  |     {  | |||
|  |         public static DateTime WAVE_LAST_FREE_TIME; | |||
|  |         public static int PAGER_SIZE = 100; | |||
|  |         public static bool LOG_SQL_ON = false; | |||
|  |         public static bool IS_MENU_EXPANDED = false; | |||
|  |         /// <summary> | |||
|  |          | |||
|  |         public static int MAX_SECONDS_BETWEEN_WAVES = 20 * 60000; | |||
|  |         /// <summary> | |||
|  |         ///  auto new wave when form is load | |||
|  |         /// </summary> | |||
|  |         public static bool AUTO_NEW_WAVE = true; | |||
|  |         public static int MAX_COLORS = 9; | |||
|  |         /// <summary> | |||
|  |         /// 统计波次用时,作为取订单间隔的参考 | |||
|  |         /// </summary> | |||
|  |         public static int WAVE_CNT = 0; | |||
|  |         public static int WAVE_TOTAL_SECONDS = 0; | |||
|  |         public static DateTime WAVE_LAST_TIME; | |||
|  |         public static DateTime WAVE_LAST_END =DateTime.Now; | |||
|  |         public static string WAVE_LAST_ORDER = "";//last wave order for count time  | |||
|  |         public static string WAVE_CURRENT_ORDER = ""; | |||
|  |         public static int WAVE_SECONDS; //average seconds per wave | |||
|  |         public static int MAX_LABEL_DATA_IN_A_WAVE = 38;   | |||
|  |         public static int MAX_CONTROL_DATA_IN_A_WAVE = 1000; | |||
|  |         public static int HISTORY_REC_KEEP_DAYS = 30; | |||
|  |   | |||
|  |         public static Dictionary<string, int> SEEDS_LABEL_ID = new Dictionary<string, int>(); | |||
|  |         public static Dictionary<string, bool> WAVE_CURRENT_PICK_STATUS = new Dictionary<string, bool>(); | |||
|  | 
 | |||
|  |         /// <summary> | |||
|  |         /// light up success or not | |||
|  |         /// </summary> | |||
|  |         //public static Dictionary<string, bool> WAVE_CURRENT_LIGHTS_STATUS = new Dictionary<string, bool>(); | |||
|  |         public static Dictionary<string, bool> WAVE_CURRENT_LIGHTS_STATUS = new Dictionary<string, bool>(); | |||
|  |         /// <summary> | |||
|  |         /// pick status,lights turnned off or not | |||
|  |         /// </summary> | |||
|  |         public static Dictionary<int, bool> WAVE_CURRENT_LIGHTS_PORT_STATUS = new Dictionary<int, bool>(); | |||
|  |         public static string WCF_UN_AUTH_MESSAGE = "未授权的访问,请登录后再试"; | |||
|  |         public static string PRINTER_NAME_CODE = "ZDesigner GT800 (EPL)"; | |||
|  |         public static string PRINTER_NAME_A4 = "HP LaserJet Professional P1106"; | |||
|  | 
 | |||
|  |         public static string SQL_CONN_WMS = ""; | |||
|  |         public static bool OUT_STOCK_PDA_SCAN = true; | |||
|  | 
 | |||
|  | 
 | |||
|  |     } | |||
|  | } |