| | |
| | | public static final String LED_CONTENT_SPEED ="LED_CONTENT_SPEED" ; |
| | | public static final String HK_HOST ="HK_HOST" ; |
| | | public static final String HK_APPKEY ="HK_APPKEY" ; |
| | | public static final String LOGIN_OUT_URL ="LOGIN_OUT" ; |
| | | public static final String HK_APPSECRET ="HK_APPSECRET" ; |
| | | public static final String HK_HTTPS ="HK_HTTPS" ; |
| | | public static final String HK_PUSH_URL = "HK_PUSH_URL"; |
| | |
| | | public static final String HK_ROOTORG_NAME ="HK_ROOTORG_NAME" ; |
| | | public static final String PLATFORM ="PLATFORM" ; |
| | | public static final String POWER_MINUTE ="POWER_MINUTE" ; |
| | | public static final String SPECIAL_COMPANY_ID ="SPECIAL_COMPANY_ID" ; |
| | | |
| | | public static final String RESERVATION_TOTAL_NUM ="RESERVATION_TOTAL_NUM" ; |
| | | public static final String SIGN_IN_PLACE_LAT ="SIGN_IN_PLACE_LAT" ; |
| | | public static final String SIGN_IN_PLACE_LNT ="SIGN_IN_PLACE_LNT" ; |
| | |
| | | public static final String MEMBER_IMG = "MEMBER_IMG"; |
| | | public static final String PLATFORM_EVENT_IMG = "PLATFORM_EVENT_IMG"; |
| | | public static final String VISIT_NOTICE = "VISIT_NOTICE"; |
| | | public static final String TIME_OUT_CONFIG = "TIME_OUT_CONFIG"; |
| | | |
| | | //健康证配置 |
| | | public static final String LW_HEALTH_CARD = "LW_HEALTH_CARD"; |
| | | public static final String HEALTH_CARD = "HEALTH_CARD"; |
| | |
| | | public static final String FTP_USERNAME ="FTP_USERNAME" ; |
| | | public static final String FTP_PWD ="FTP_PWD" ; |
| | | public static final String FTP_RESOURCE_PATH ="FTP_RESOURCE_PATH" ; |
| | | public static final String FTP_LOCAL_RESOURCE_PATH ="FTP_LOCAL_RESOURCE_PATH" ; |
| | | public static final String ERP_ORGLIST_URL ="ERP_ORGLIST_URL" ; |
| | | public static final String ERP_USERLIST_URL ="ERP_USERLIST_URL" ; |
| | | public static final String ERP_APPROVE_URL ="ERP_APPROVE_URL" ; |
| | |
| | | public static final String HK_NGINX_URL = "HK_NGINX_URL"; |
| | | public static final String PLATFORM_BOOKING_TIPS = "PLATFORM_BOOKING_TIPS"; |
| | | public static final String PLATFORM_GUIDEMAP = "PLATFORM_GUIDEMAP"; |
| | | public static final String WSM_PARAM ="WSM_PARAM" ; |
| | | public static final String WMS_PARAM ="WMS_PARAM" ; |
| | | public static final String WMS_INBOUND_PLATFROM_URL ="WMS_INBOUND_PLATFROM_URL" ; |
| | | public static final String WMS_GET_INVENTORYLIST_URL ="WMS_GET_INVENTORYLIST_URL" ; |
| | | public static final String WMS_OUTBOUND_PLATFROM_URL ="WMS_OUTBOUND_PLATFROM_URL" ; |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 判断是否为有效车牌号 |
| | |
| | | |
| | | public interface RedisKeys { |
| | | public static final String IMPORTING_MEMBER ="IMPORTING_MEMBER"; |
| | | public static final String IMPORTING_GAS ="IMPORTING_GAS"; |
| | | public static final String ERP_TOKEN ="ERP_TOKEN"; |
| | | public static final long EXPIRE_TIME = 7200; |
| | | |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(Constants.carCodeTuominStr("皖A10991")); |
| | | System.out.println(Constants.carCodeTuominStr("皖AA10991")); |
| | | System.out.println(Constants.checkCarNo("皖A10991")); |
| | | System.out.println(Constants.checkCarNo("皖AA10991")); |
| | | // System.out.println(Constants.getVehiclePlateNo("湘B140D17").getDescription()); |
| | | // System.out.println(Constants.getVehiclePlateNo("宿AP0637").getDescription()); |
| | | |
| | |
| | | |
| | | public enum PlatformWarnEvent { |
| | | STOP_TIMEOUT(0, "停靠超时","${carCode}月台停靠超时" ), |
| | | STOP_ERROR(1, "停靠错误","${carCode}月台停靠错误" ); |
| | | STOP_ERROR(1, "停靠错误","${carCode}月台停靠错误" ), |
| | | WORK_TIMEOUT(2, "作业超时","${carCode}作业超时" ); |
| | | |
| | | // 成员变量 |
| | | private int key; |
| | |
| | | * 5、超时停靠:1号月台 皖A12345 当前车辆超时停靠,请尽快驶离 |
| | | */ |
| | | public enum PlatformLedContent { |
| | | IDEL_CONTNET(1, "空闲中","{param}" ), |
| | | IDEL_CONTNET(1, "空闲中","安泰物流有限责任公司" ), |
| | | CALLING(2, "叫号中","${param} ${param2} 叫号中"), |
| | | WORKING(3, "作业中","${param} ${param2} 作业中" ), |
| | | WRONG_IN(4, "错误停靠","${param} ${param2} 当前车辆错误停靠,请尽快驶离" ), |
| | | TIMEOUT_IN(5, "超时停靠","${param} ${param2} 当前车辆超时停靠,请尽快驶离" ), |
| | | TIMEOUT_WORK(6, "作业超时","${param} ${param2} 当前车辆作业超时" ), |
| | | DONE(7, "作业完成","${param} ${param2} 作业完成" ), |
| | | ; |
| | | |
| | | // 成员变量 |
| | |
| | | 2. 作业完成:皖A12345作业完成,请尽快驶离 |
| | | 3. 错误停靠:皖A12345月台停靠错误,请尽快驶离 |
| | | 4. 超时停靠:皖A12345月台停靠超时,请尽快驶离请尽快驶离 |
| | | 5. 作业超时:皖A12345月台停靠超时,请尽快驶离请尽快驶离 |
| | | */ |
| | | public enum PlatformBroadcastContent { |
| | | CALLING(1, "叫号中","${param}请前往${param2}等待作业"), |
| | | DONE(2, "作业完成","${param}作业完成,请尽快驶离" ), |
| | | WRONG_IN(3, "错误停靠","${param}月台停靠错误,请尽快驶离" ), |
| | | TIMEOUT_IN(4, "超时停靠","${param}月台停靠超时,请尽快驶离请尽快驶离" ), |
| | | TIMEOUT_IN(4, "超时停靠","${param}月台停靠超时,请尽快驶离" ), |
| | | TIMEOUT_WORK(5, "作业超时","${param}作业超时" ), |
| | | ; |
| | | |
| | | // 成员变量 |
| | |
| | | this.info = info; |
| | | this.name = name; |
| | | } |
| | | |
| | | public static String getName(int index) { |
| | | for (PlatformBroadcastContent c : PlatformBroadcastContent.values()) { |
| | | if (c.getKey() == index) { |