You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.2 KiB
96 lines
2.2 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using System.Data;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSStorageBLL
|
|
{
|
|
public static void AddAndEdit(ICSStorage Storage, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSStorageDAL.AddAndEdit(Storage, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static ICSStorage select(String guid, String Appconstr)
|
|
{
|
|
try
|
|
{
|
|
return ICSStorageDAL.select(guid, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static ICSStorage selectById(String guid, String Appconstr)
|
|
{
|
|
try
|
|
{
|
|
return ICSStorageDAL.selectByID(guid, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static ICSStorage selectByCode(String storagecode, String Appconstr)
|
|
{
|
|
return ICSStorageDAL.selectByCode(storagecode, Appconstr);
|
|
}
|
|
|
|
public static void delete(List<String> guidList)
|
|
{
|
|
try
|
|
{
|
|
ICSStorageDAL.delete(guidList);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static void SelectERP(string ERPName)
|
|
{
|
|
ICSStorageDAL.SelectERP(ERPName);
|
|
}
|
|
|
|
public static void SaveInfo(DataTable data, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSStorageDAL.SaveInfo(data, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static void SaveConnect(string Connecting, string StorageSerial1, Dictionary<string, string> ConnList)
|
|
{
|
|
try
|
|
{
|
|
|
|
ICSStorageDAL.SaveConnect(Connecting, StorageSerial1, ConnList);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
}
|
|
}
|