From f2f4ecd04b2987f6aed8216442e82a81009c2366 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 09 12月 2024 17:18:15 +0800 Subject: [PATCH] 222 --- 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