From 01c3a4658026e9c3ed9daaf1f1b27da368ab11a9 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周五, 20 12月 2024 18:06:25 +0800 Subject: [PATCH] //校验数据是否正确 【Editby shaocx,2024-12-20】 --- LA24030_LuLiPackageLine_Wms/Admin.NET.Application/CommonHelper/SysHelper.cs | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/CommonHelper/SysHelper.cs b/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/CommonHelper/SysHelper.cs index 3bb6e15..7878779 100644 --- a/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/CommonHelper/SysHelper.cs +++ b/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/CommonHelper/SysHelper.cs @@ -5,6 +5,28 @@ /// </summary> public class SysHelper { + /// <summary> + /// 鑾峰彇璁惧鎶ヨ鐨刣b鍦板潃 + /// </summary> + /// <param name="_DeviceAreaCode"></param> + /// <returns></returns> + /// <exception cref="Exception"></exception> + public static string GetDBForDeviceWarning(string _DeviceAreaCode) + { + switch (_DeviceAreaCode) + { + case "鍒嗘嫞鍖�": + return "5000"; + case "鐮佸寘鍖�": + return "5001"; + case "鍚堝寘鍖�": + return "5002"; + case "灏佺鍖�": + return "5003"; + default: + throw new Exception("涓嶆敮鎸佺殑鍖哄煙"); + } + } ///// <summary> ///// 鑾峰彇鐧诲綍浜虹殑鏄电О -- Gitblit v1.9.3