41 lines
		
	
	
		
			907 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			907 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using AIMSDAL;
 | |
| using AIMSModel;
 | |
| using AIMSObjectQuery;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using System.Reflection;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace AIMSBLL
 | |
| {
 | |
|     public partial class BSysConfig
 | |
|     {
 | |
|         public static bool IsExit(string Name)
 | |
|         {
 | |
|             return DSysConfig.IsExit(Name);
 | |
|         }
 | |
|         public static void Add(SysConfig DrugsObj)
 | |
|         {
 | |
|             try
 | |
|             {
 | |
|                 DSysConfig.Add(DrugsObj);
 | |
|                 MessageBox.Show("参数增加成功!");
 | |
|             }
 | |
|             catch
 | |
|             {
 | |
|                 MessageBox.Show("参数增加失败!");
 | |
|             }
 | |
|         } 
 | |
|         public static SysConfig GetModel(int Id)
 | |
|         {
 | |
|             return DSysConfig.GetModel(Id);
 | |
|         }
 | |
| 
 | |
|         public static object GetDataTable()
 | |
|         {
 | |
|             return DSysConfig.GetDataTable();
 | |
|         }
 | |
|     }
 | |
| }
 |