From 461ef6c5aac44da10ca579cd7d14ae6686f4a4b5 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 11 12月 2024 17:58:45 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/LA24030-LuLI_PackageLine
---
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