修改模型
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CleanModeBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\CleanModeBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string CleanModeId)
|
||||
public bool Exists(int CleanModeId)
|
||||
{
|
||||
return new CleanModeDAL().Exists(CleanModeId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.CleanMode model)
|
||||
public bool Add(CleanMachine.Model.BAS.CleanMode model)
|
||||
{
|
||||
return new CleanModeDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.CleanMode model)
|
||||
public bool Update(CleanMachine.Model.BAS.CleanMode model)
|
||||
{
|
||||
return new CleanModeDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string CleanModeId)
|
||||
public bool Delete(int CleanModeId)
|
||||
{
|
||||
return new CleanModeDAL().Delete(CleanModeId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.CleanMode> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.CleanMode> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new CleanModeDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CleanMode GetModel(string CleanModeId)
|
||||
public CleanMachine.Model.BAS.CleanMode GetModel(int CleanModeId)
|
||||
{
|
||||
return new CleanModeDAL().GetModel(CleanModeId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.CleanMode> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.CleanMode> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new CleanModeDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ContaminationDtlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\ContaminationDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ContaminationDtlId)
|
||||
public bool Exists(int ContaminationDtlId)
|
||||
{
|
||||
return new ContaminationDtlDAL().Exists(ContaminationDtlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ContaminationDtl model)
|
||||
public bool Add(CleanMachine.Model.BAS.ContaminationDtl model)
|
||||
{
|
||||
return new ContaminationDtlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ContaminationDtl model)
|
||||
public bool Update(CleanMachine.Model.BAS.ContaminationDtl model)
|
||||
{
|
||||
return new ContaminationDtlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ContaminationDtlId)
|
||||
public bool Delete(int ContaminationDtlId)
|
||||
{
|
||||
return new ContaminationDtlDAL().Delete(ContaminationDtlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ContaminationDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.ContaminationDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ContaminationDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ContaminationDtl GetModel(string ContaminationDtlId)
|
||||
public CleanMachine.Model.BAS.ContaminationDtl GetModel(int ContaminationDtlId)
|
||||
{
|
||||
return new ContaminationDtlDAL().GetModel(ContaminationDtlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ContaminationDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.ContaminationDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ContaminationDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ContaminationTypeBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\ContaminationTypeBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ContaminationTypeId)
|
||||
public bool Exists(int ContaminationTypeId)
|
||||
{
|
||||
return new ContaminationTypeDAL().Exists(ContaminationTypeId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ContaminationType model)
|
||||
public bool Add(CleanMachine.Model.BAS.ContaminationType model)
|
||||
{
|
||||
return new ContaminationTypeDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ContaminationType model)
|
||||
public bool Update(CleanMachine.Model.BAS.ContaminationType model)
|
||||
{
|
||||
return new ContaminationTypeDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ContaminationTypeId)
|
||||
public bool Delete(int ContaminationTypeId)
|
||||
{
|
||||
return new ContaminationTypeDAL().Delete(ContaminationTypeId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ContaminationType> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.ContaminationType> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ContaminationTypeDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ContaminationType GetModel(string ContaminationTypeId)
|
||||
public CleanMachine.Model.BAS.ContaminationType GetModel(int ContaminationTypeId)
|
||||
{
|
||||
return new ContaminationTypeDAL().GetModel(ContaminationTypeId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ContaminationType> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.ContaminationType> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ContaminationTypeDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\PlcItemBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\PlcItemBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string PlcItemId)
|
||||
public bool Exists(int PlcItemId)
|
||||
{
|
||||
return new PlcItemDAL().Exists(PlcItemId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.PlcItem model)
|
||||
public bool Add(CleanMachine.Model.BAS.PlcItem model)
|
||||
{
|
||||
return new PlcItemDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.PlcItem model)
|
||||
public bool Update(CleanMachine.Model.BAS.PlcItem model)
|
||||
{
|
||||
return new PlcItemDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string PlcItemId)
|
||||
public bool Delete(int PlcItemId)
|
||||
{
|
||||
return new PlcItemDAL().Delete(PlcItemId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.PlcItem> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.PlcItem> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new PlcItemDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.PlcItem GetModel(string PlcItemId)
|
||||
public CleanMachine.Model.BAS.PlcItem GetModel(int PlcItemId)
|
||||
{
|
||||
return new PlcItemDAL().GetModel(PlcItemId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.PlcItem> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.PlcItem> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new PlcItemDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SheetTypeBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\SheetTypeBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string SheetTypeId)
|
||||
public bool Exists(int SheetTypeId)
|
||||
{
|
||||
return new SheetTypeDAL().Exists(SheetTypeId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.SheetType model)
|
||||
public bool Add(CleanMachine.Model.BAS.SheetType model)
|
||||
{
|
||||
return new SheetTypeDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.SheetType model)
|
||||
public bool Update(CleanMachine.Model.BAS.SheetType model)
|
||||
{
|
||||
return new SheetTypeDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string SheetTypeId)
|
||||
public bool Delete(int SheetTypeId)
|
||||
{
|
||||
return new SheetTypeDAL().Delete(SheetTypeId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.SheetType> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.SheetType> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new SheetTypeDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.SheetType GetModel(string SheetTypeId)
|
||||
public CleanMachine.Model.BAS.SheetType GetModel(int SheetTypeId)
|
||||
{
|
||||
return new SheetTypeDAL().GetModel(SheetTypeId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.SheetType> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.SheetType> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new SheetTypeDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WarningBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\WarningBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WarningId)
|
||||
public bool Exists(int WarningId)
|
||||
{
|
||||
return new WarningDAL().Exists(WarningId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Warning model)
|
||||
public bool Add(CleanMachine.Model.BAS.Warning model)
|
||||
{
|
||||
return new WarningDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Warning model)
|
||||
public bool Update(CleanMachine.Model.BAS.Warning model)
|
||||
{
|
||||
return new WarningDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WarningId)
|
||||
public bool Delete(int WarningId)
|
||||
{
|
||||
return new WarningDAL().Delete(WarningId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Warning> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.Warning> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WarningDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Warning GetModel(string WarningId)
|
||||
public CleanMachine.Model.BAS.Warning GetModel(int WarningId)
|
||||
{
|
||||
return new WarningDAL().GetModel(WarningId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Warning> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.Warning> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WarningDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LastPattleNumBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\LastPattleNumBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.LastPattleNum model)
|
||||
public bool Add(CleanMachine.Model.CM.LastPattleNum model)
|
||||
{
|
||||
return new LastPattleNumDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.LastPattleNum model)
|
||||
public bool Update(CleanMachine.Model.CM.LastPattleNum model)
|
||||
{
|
||||
return new LastPattleNumDAL().Update(model);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.LastPattleNum> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LastPattleNumDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,18 +72,40 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.LastPattleNum GetModel(string Key)
|
||||
public CleanMachine.Model.CM.LastPattleNum GetModel(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().GetModel(Key);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().Delete(Key);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CM.LastPattleNum GetModel(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().GetModel(Key);
|
||||
}
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().Exists(Key);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.LastPattleNum> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LastPattleNumDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WarningLogBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WarningLogBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WarningLogId)
|
||||
public bool Exists(int WarningLogId)
|
||||
{
|
||||
return new WarningLogDAL().Exists(WarningLogId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WarningLog model)
|
||||
public bool Add(CleanMachine.Model.CM.WarningLog model)
|
||||
{
|
||||
return new WarningLogDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WarningLog model)
|
||||
public bool Update(CleanMachine.Model.CM.WarningLog model)
|
||||
{
|
||||
return new WarningLogDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WarningLogId)
|
||||
public bool Delete(int WarningLogId)
|
||||
{
|
||||
return new WarningLogDAL().Delete(WarningLogId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WarningLog> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WarningLog> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WarningLogDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WarningLog GetModel(string WarningLogId)
|
||||
public CleanMachine.Model.CM.WarningLog GetModel(int WarningLogId)
|
||||
{
|
||||
return new WarningLogDAL().GetModel(WarningLogId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WarningLog> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WarningLog> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WarningLogDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WorkingPalletBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WorkingPalletBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WorkingPalletId)
|
||||
public bool Exists(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Exists(WorkingPalletId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WorkingPallet model)
|
||||
public bool Add(CleanMachine.Model.CM.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WorkingPallet model)
|
||||
public bool Update(CleanMachine.Model.CM.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WorkingPalletId)
|
||||
public bool Delete(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Delete(WorkingPalletId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WorkingPallet GetModel(string WorkingPalletId)
|
||||
public CleanMachine.Model.CM.WorkingPallet GetModel(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().GetModel(WorkingPalletId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WorkingPalletDtlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WorkingPalletDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WorkingPalletDtlId)
|
||||
public bool Exists(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Exists(WorkingPalletDtlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WorkingPalletDtl model)
|
||||
public bool Add(CleanMachine.Model.CM.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WorkingPalletDtl model)
|
||||
public bool Update(CleanMachine.Model.CM.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WorkingPalletDtlId)
|
||||
public bool Delete(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Delete(WorkingPalletDtlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WorkingPalletDtl GetModel(string WorkingPalletDtlId)
|
||||
public CleanMachine.Model.CM.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetModel(WorkingPalletDtlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LanguageBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\LanguageBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string LanguageId)
|
||||
public bool Exists(int LanguageId)
|
||||
{
|
||||
return new LanguageDAL().Exists(LanguageId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Language model)
|
||||
public bool Add(CleanMachine.Model.SYS.Language model)
|
||||
{
|
||||
return new LanguageDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Language model)
|
||||
public bool Update(CleanMachine.Model.SYS.Language model)
|
||||
{
|
||||
return new LanguageDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string LanguageId)
|
||||
public bool Delete(int LanguageId)
|
||||
{
|
||||
return new LanguageDAL().Delete(LanguageId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Language> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Language> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LanguageDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Language GetModel(string LanguageId)
|
||||
public CleanMachine.Model.SYS.Language GetModel(int LanguageId)
|
||||
{
|
||||
return new LanguageDAL().GetModel(LanguageId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Language> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Language> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LanguageDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LanguageControlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\LanguageControlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string LanguageControlId)
|
||||
public bool Exists(int LanguageControlId)
|
||||
{
|
||||
return new LanguageControlDAL().Exists(LanguageControlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.LanguageControl model)
|
||||
public bool Add(CleanMachine.Model.SYS.LanguageControl model)
|
||||
{
|
||||
return new LanguageControlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.LanguageControl model)
|
||||
public bool Update(CleanMachine.Model.SYS.LanguageControl model)
|
||||
{
|
||||
return new LanguageControlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string LanguageControlId)
|
||||
public bool Delete(int LanguageControlId)
|
||||
{
|
||||
return new LanguageControlDAL().Delete(LanguageControlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.LanguageControl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.LanguageControl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LanguageControlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.LanguageControl GetModel(string LanguageControlId)
|
||||
public CleanMachine.Model.SYS.LanguageControl GetModel(int LanguageControlId)
|
||||
{
|
||||
return new LanguageControlDAL().GetModel(LanguageControlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.LanguageControl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.LanguageControl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LanguageControlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LogBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\LogBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string SysLogId)
|
||||
public bool Exists(int SysLogId)
|
||||
{
|
||||
return new LogDAL().Exists(SysLogId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Log model)
|
||||
public bool Add(CleanMachine.Model.SYS.Log model)
|
||||
{
|
||||
return new LogDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Log model)
|
||||
public bool Update(CleanMachine.Model.SYS.Log model)
|
||||
{
|
||||
return new LogDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string SysLogId)
|
||||
public bool Delete(int SysLogId)
|
||||
{
|
||||
return new LogDAL().Delete(SysLogId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Log> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Log> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LogDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Log GetModel(string SysLogId)
|
||||
public CleanMachine.Model.SYS.Log GetModel(int SysLogId)
|
||||
{
|
||||
return new LogDAL().GetModel(SysLogId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Log> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Log> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LogDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\MenuBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\MenuBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string MenuId)
|
||||
public bool Exists(int MenuId)
|
||||
{
|
||||
return new MenuDAL().Exists(MenuId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Menu model)
|
||||
public bool Add(CleanMachine.Model.SYS.Menu model)
|
||||
{
|
||||
return new MenuDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Menu model)
|
||||
public bool Update(CleanMachine.Model.SYS.Menu model)
|
||||
{
|
||||
return new MenuDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string MenuId)
|
||||
public bool Delete(int MenuId)
|
||||
{
|
||||
return new MenuDAL().Delete(MenuId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Menu> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Menu> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new MenuDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Menu GetModel(string MenuId)
|
||||
public CleanMachine.Model.SYS.Menu GetModel(int MenuId)
|
||||
{
|
||||
return new MenuDAL().GetModel(MenuId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Menu> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Menu> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new MenuDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ParameterBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\ParameterBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ParameterId)
|
||||
public bool Exists(int ParameterId)
|
||||
{
|
||||
return new ParameterDAL().Exists(ParameterId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Parameter model)
|
||||
public bool Add(CleanMachine.Model.SYS.Parameter model)
|
||||
{
|
||||
return new ParameterDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Parameter model)
|
||||
public bool Update(CleanMachine.Model.SYS.Parameter model)
|
||||
{
|
||||
return new ParameterDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ParameterId)
|
||||
public bool Delete(int ParameterId)
|
||||
{
|
||||
return new ParameterDAL().Delete(ParameterId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Parameter> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Parameter> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ParameterDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Parameter GetModel(string ParameterId)
|
||||
public CleanMachine.Model.SYS.Parameter GetModel(int ParameterId)
|
||||
{
|
||||
return new ParameterDAL().GetModel(ParameterId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Parameter> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Parameter> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ParameterDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\RoleBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\RoleBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string RoleId)
|
||||
public bool Exists(int RoleId)
|
||||
{
|
||||
return new RoleDAL().Exists(RoleId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Role model)
|
||||
public bool Add(CleanMachine.Model.SYS.Role model)
|
||||
{
|
||||
return new RoleDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Role model)
|
||||
public bool Update(CleanMachine.Model.SYS.Role model)
|
||||
{
|
||||
return new RoleDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string RoleId)
|
||||
public bool Delete(int RoleId)
|
||||
{
|
||||
return new RoleDAL().Delete(RoleId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Role> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Role> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new RoleDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Role GetModel(string RoleId)
|
||||
public CleanMachine.Model.SYS.Role GetModel(int RoleId)
|
||||
{
|
||||
return new RoleDAL().GetModel(RoleId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Role> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Role> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new RoleDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\RoleMenuPermissionBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\RoleMenuPermissionBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string RoleMenuPermissionId)
|
||||
public bool Exists(int RoleMenuPermissionId)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Exists(RoleMenuPermissionId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.RoleMenuPermission model)
|
||||
public bool Add(CleanMachine.Model.SYS.RoleMenuPermission model)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.RoleMenuPermission model)
|
||||
public bool Update(CleanMachine.Model.SYS.RoleMenuPermission model)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string RoleMenuPermissionId)
|
||||
public bool Delete(int RoleMenuPermissionId)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Delete(RoleMenuPermissionId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.RoleMenuPermission> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.RoleMenuPermission> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.RoleMenuPermission GetModel(string RoleMenuPermissionId)
|
||||
public CleanMachine.Model.SYS.RoleMenuPermission GetModel(int RoleMenuPermissionId)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().GetModel(RoleMenuPermissionId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.RoleMenuPermission> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.RoleMenuPermission> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new RoleMenuPermissionDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ScheduleDtlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\ScheduleDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ScheduleDtlId)
|
||||
public bool Exists(int ScheduleDtlId)
|
||||
{
|
||||
return new ScheduleDtlDAL().Exists(ScheduleDtlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ScheduleDtl model)
|
||||
public bool Add(CleanMachine.Model.SYS.ScheduleDtl model)
|
||||
{
|
||||
return new ScheduleDtlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ScheduleDtl model)
|
||||
public bool Update(CleanMachine.Model.SYS.ScheduleDtl model)
|
||||
{
|
||||
return new ScheduleDtlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ScheduleDtlId)
|
||||
public bool Delete(int ScheduleDtlId)
|
||||
{
|
||||
return new ScheduleDtlDAL().Delete(ScheduleDtlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ScheduleDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.ScheduleDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ScheduleDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ScheduleDtl GetModel(string ScheduleDtlId)
|
||||
public CleanMachine.Model.SYS.ScheduleDtl GetModel(int ScheduleDtlId)
|
||||
{
|
||||
return new ScheduleDtlDAL().GetModel(ScheduleDtlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ScheduleDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.ScheduleDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ScheduleDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\UserBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\UserBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string UserId)
|
||||
public bool Exists(int UserId)
|
||||
{
|
||||
return new UserDAL().Exists(UserId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.User model)
|
||||
public bool Add(CleanMachine.Model.SYS.User model)
|
||||
{
|
||||
return new UserDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.User model)
|
||||
public bool Update(CleanMachine.Model.SYS.User model)
|
||||
{
|
||||
return new UserDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string UserId)
|
||||
public bool Delete(int UserId)
|
||||
{
|
||||
return new UserDAL().Delete(UserId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.User> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.User> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new UserDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,18 +72,40 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.User GetModel(string UserId)
|
||||
public CleanMachine.Model.SYS.User GetModel(int UserId)
|
||||
{
|
||||
return new UserDAL().GetModel(UserId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string UserCode)
|
||||
{
|
||||
return new UserDAL().Delete(UserCode);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.SYS.User GetModel(string UserCode)
|
||||
{
|
||||
return new UserDAL().GetModel(UserCode);
|
||||
}
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string UserCode)
|
||||
{
|
||||
return new UserDAL().Exists(UserCode);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.User> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.User> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new UserDAL().GetModelList(rule);
|
||||
// }
|
||||
91
CleanMachine.BLL/ZBK/WorkingPalletBLL.cs
Normal file
91
CleanMachine.BLL/ZBK/WorkingPalletBLL.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ZBK\\WorkingPalletBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL.ZBK;
|
||||
|
||||
namespace CleanMachine.BLL.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletBLL
|
||||
{
|
||||
|
||||
public WorkingPalletBLL()
|
||||
{
|
||||
|
||||
}
|
||||
#region 一般方法
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Exists(WorkingPalletId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ZBK.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Add(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ZBK.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Update(model);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDAL().Delete(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Delete(WorkingPalletId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ZBK.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDAL().GetList(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ZBK.WorkingPallet GetModel(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().GetModel(WorkingPalletId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ZBK.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDAL().GetModelList(rule);
|
||||
// }
|
||||
}
|
||||
}
|
||||
91
CleanMachine.BLL/ZBK/WorkingPalletDtlBLL.cs
Normal file
91
CleanMachine.BLL/ZBK/WorkingPalletDtlBLL.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ZBK\\WorkingPalletDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL.ZBK;
|
||||
|
||||
namespace CleanMachine.BLL.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDtlBLL
|
||||
{
|
||||
|
||||
public WorkingPalletDtlBLL()
|
||||
{
|
||||
|
||||
}
|
||||
#region 一般方法
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Exists(WorkingPalletDtlId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ZBK.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Add(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ZBK.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Update(model);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Delete(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Delete(WorkingPalletDtlId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ZBK.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ZBK.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetModel(WorkingPalletDtlId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ZBK.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\CleanModeDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\BAS\\CleanModeDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string CleanModeId)
|
||||
public bool Exists(int CleanModeId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from BAS_CLEAN_MODE WHERE CLEAN_MODE_ID=@CleanModeId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { CleanModeId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.CleanMode model)
|
||||
public bool Add(CleanMachine.Model.BAS.CleanMode model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO BAS_CLEAN_MODE
|
||||
(CLEAN_MODE_ID,CLEAN_MODE_CODE,CLEAN_MODE_NAME,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.CleanMode model)
|
||||
public bool Update(CleanMachine.Model.BAS.CleanMode model)
|
||||
{
|
||||
string strSql = $@"UPDATE BAS_CLEAN_MODE SET
|
||||
CLEAN_MODE_CODE=@CleanModeCode,CLEAN_MODE_NAME=@CleanModeName,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string CleanModeId)
|
||||
public bool Delete(int CleanModeId)
|
||||
{
|
||||
return this.Delete("CLEAN_MODE_ID=@CleanModeId ", new { CleanModeId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.CleanMode> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.CleanMode> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM BAS_CLEAN_MODE ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.CleanMode>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.BAS.CleanMode>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CleanMode GetModel(string CleanModeId)
|
||||
public CleanMachine.Model.BAS.CleanMode GetModel(int CleanModeId)
|
||||
{
|
||||
return this.GetList("CLEAN_MODE_ID=@CleanModeId", new { CleanModeId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.CleanMode> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.CleanMode> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\ContaminationDtlDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\BAS\\ContaminationDtlDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ContaminationDtlId)
|
||||
public bool Exists(int ContaminationDtlId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from BAS_CONTAMINATION_DTL WHERE CONTAMINATION_DTL_ID=@ContaminationDtlId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { ContaminationDtlId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ContaminationDtl model)
|
||||
public bool Add(CleanMachine.Model.BAS.ContaminationDtl model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO BAS_CONTAMINATION_DTL
|
||||
(CONTAMINATION_DTL_ID,CONTAMINATION_TYPE_CODE,CONTAMINATION_DTL_CODE,CONTAMINATION_DTL_NAME,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ContaminationDtl model)
|
||||
public bool Update(CleanMachine.Model.BAS.ContaminationDtl model)
|
||||
{
|
||||
string strSql = $@"UPDATE BAS_CONTAMINATION_DTL SET
|
||||
CONTAMINATION_TYPE_CODE=@ContaminationTypeCode,CONTAMINATION_DTL_CODE=@ContaminationDtlCode,CONTAMINATION_DTL_NAME=@ContaminationDtlName,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ContaminationDtlId)
|
||||
public bool Delete(int ContaminationDtlId)
|
||||
{
|
||||
return this.Delete("CONTAMINATION_DTL_ID=@ContaminationDtlId ", new { ContaminationDtlId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ContaminationDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.ContaminationDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM BAS_CONTAMINATION_DTL ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.ContaminationDtl>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.BAS.ContaminationDtl>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ContaminationDtl GetModel(string ContaminationDtlId)
|
||||
public CleanMachine.Model.BAS.ContaminationDtl GetModel(int ContaminationDtlId)
|
||||
{
|
||||
return this.GetList("CONTAMINATION_DTL_ID=@ContaminationDtlId", new { ContaminationDtlId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ContaminationDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.ContaminationDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\ContaminationTypeDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\BAS\\ContaminationTypeDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ContaminationTypeId)
|
||||
public bool Exists(int ContaminationTypeId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from BAS_CONTAMINATION_TYPE WHERE CONTAMINATION_TYPE_ID=@ContaminationTypeId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { ContaminationTypeId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ContaminationType model)
|
||||
public bool Add(CleanMachine.Model.BAS.ContaminationType model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO BAS_CONTAMINATION_TYPE
|
||||
(CONTAMINATION_TYPE_ID,CONTAMINATION_TYPE_CODE,CONTAMINATION_TYPE_NAME,CLEAN_MODE_CODE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ContaminationType model)
|
||||
public bool Update(CleanMachine.Model.BAS.ContaminationType model)
|
||||
{
|
||||
string strSql = $@"UPDATE BAS_CONTAMINATION_TYPE SET
|
||||
CONTAMINATION_TYPE_CODE=@ContaminationTypeCode,CONTAMINATION_TYPE_NAME=@ContaminationTypeName,CLEAN_MODE_CODE=@CleanModeCode,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ContaminationTypeId)
|
||||
public bool Delete(int ContaminationTypeId)
|
||||
{
|
||||
return this.Delete("CONTAMINATION_TYPE_ID=@ContaminationTypeId ", new { ContaminationTypeId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ContaminationType> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.ContaminationType> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM BAS_CONTAMINATION_TYPE ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.ContaminationType>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.BAS.ContaminationType>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ContaminationType GetModel(string ContaminationTypeId)
|
||||
public CleanMachine.Model.BAS.ContaminationType GetModel(int ContaminationTypeId)
|
||||
{
|
||||
return this.GetList("CONTAMINATION_TYPE_ID=@ContaminationTypeId", new { ContaminationTypeId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ContaminationType> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.ContaminationType> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\PlcItemDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\BAS\\PlcItemDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string PlcItemId)
|
||||
public bool Exists(int PlcItemId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from BAS_PLC_ITEM WHERE PLC_ITEM_ID=@PlcItemId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { PlcItemId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.PlcItem model)
|
||||
public bool Add(CleanMachine.Model.BAS.PlcItem model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO BAS_PLC_ITEM
|
||||
(PLC_ITEM_ID,PLC_ITEM_CODE,PLC_ITEM_NAME,PLC_ITEM_TYPE,PLC_ITEM_DATA_TYPE,PLC_ITEM_DATA_LENGTH,PLC_ITEM_PRI_ADDRESS,PLC_ITEM_MODBUS_ADDRESS,PLC_ITEM_DEVIATION_ADDRESS,PLC_ITEM_VALUE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.PlcItem model)
|
||||
public bool Update(CleanMachine.Model.BAS.PlcItem model)
|
||||
{
|
||||
string strSql = $@"UPDATE BAS_PLC_ITEM SET
|
||||
PLC_ITEM_CODE=@PlcItemCode,PLC_ITEM_NAME=@PlcItemName,PLC_ITEM_TYPE=@PlcItemType,PLC_ITEM_DATA_TYPE=@PlcItemDataType,PLC_ITEM_DATA_LENGTH=@PlcItemDataLength,PLC_ITEM_PRI_ADDRESS=@PlcItemPriAddress,PLC_ITEM_MODBUS_ADDRESS=@PlcItemModbusAddress,PLC_ITEM_DEVIATION_ADDRESS=@PlcItemDeviationAddress,PLC_ITEM_VALUE=@PlcItemValue,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string PlcItemId)
|
||||
public bool Delete(int PlcItemId)
|
||||
{
|
||||
return this.Delete("PLC_ITEM_ID=@PlcItemId ", new { PlcItemId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.PlcItem> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.PlcItem> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM BAS_PLC_ITEM ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.PlcItem>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.BAS.PlcItem>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.PlcItem GetModel(string PlcItemId)
|
||||
public CleanMachine.Model.BAS.PlcItem GetModel(int PlcItemId)
|
||||
{
|
||||
return this.GetList("PLC_ITEM_ID=@PlcItemId", new { PlcItemId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.PlcItem> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.PlcItem> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SheetTypeDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\BAS\\SheetTypeDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string SheetTypeId)
|
||||
public bool Exists(int SheetTypeId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from BAS_SHEET_TYPE WHERE SHEET_TYPE_ID=@SheetTypeId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { SheetTypeId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.SheetType model)
|
||||
public bool Add(CleanMachine.Model.BAS.SheetType model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO BAS_SHEET_TYPE
|
||||
(SHEET_TYPE_ID,SHEET_TYPE_CODE,SHEET_TYPE_NAME,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.SheetType model)
|
||||
public bool Update(CleanMachine.Model.BAS.SheetType model)
|
||||
{
|
||||
string strSql = $@"UPDATE BAS_SHEET_TYPE SET
|
||||
SHEET_TYPE_CODE=@SheetTypeCode,SHEET_TYPE_NAME=@SheetTypeName,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string SheetTypeId)
|
||||
public bool Delete(int SheetTypeId)
|
||||
{
|
||||
return this.Delete("SHEET_TYPE_ID=@SheetTypeId ", new { SheetTypeId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.SheetType> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.SheetType> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM BAS_SHEET_TYPE ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SheetType>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.BAS.SheetType>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.SheetType GetModel(string SheetTypeId)
|
||||
public CleanMachine.Model.BAS.SheetType GetModel(int SheetTypeId)
|
||||
{
|
||||
return this.GetList("SHEET_TYPE_ID=@SheetTypeId", new { SheetTypeId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.SheetType> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.SheetType> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\WarningDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\BAS\\WarningDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WarningId)
|
||||
public bool Exists(int WarningId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from BAS_WARNING WHERE WARNING_ID=@WarningId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { WarningId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Warning model)
|
||||
public bool Add(CleanMachine.Model.BAS.Warning model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO BAS_WARNING
|
||||
(WARNING_ID,WARNING_CODE,WARNING_NAME,PLC_ITEM_CODE,WARNING_TYPE,WARNING_MESSAGE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Warning model)
|
||||
public bool Update(CleanMachine.Model.BAS.Warning model)
|
||||
{
|
||||
string strSql = $@"UPDATE BAS_WARNING SET
|
||||
WARNING_CODE=@WarningCode,WARNING_NAME=@WarningName,PLC_ITEM_CODE=@PlcItemCode,WARNING_TYPE=@WarningType,WARNING_MESSAGE=@WarningMessage,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WarningId)
|
||||
public bool Delete(int WarningId)
|
||||
{
|
||||
return this.Delete("WARNING_ID=@WarningId ", new { WarningId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Warning> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.Warning> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM BAS_WARNING ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.Warning>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.BAS.Warning>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Warning GetModel(string WarningId)
|
||||
public CleanMachine.Model.BAS.Warning GetModel(int WarningId)
|
||||
{
|
||||
return this.GetList("WARNING_ID=@WarningId", new { WarningId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Warning> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.Warning> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\LastPattleNumDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\CM\\LastPattleNumDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.LastPattleNum model)
|
||||
public bool Add(CleanMachine.Model.CM.LastPattleNum model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO CM_LastPattleNum
|
||||
(Key,Value)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.LastPattleNum model)
|
||||
public bool Update(CleanMachine.Model.CM.LastPattleNum model)
|
||||
{
|
||||
string strSql = $@"UPDATE CM_LastPattleNum SET
|
||||
Value=@Value
|
||||
@@ -80,30 +80,57 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.LastPattleNum> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM CM_LastPattleNum ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.LastPattleNum>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.CM.LastPattleNum>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.LastPattleNum GetModel(string Key)
|
||||
public CleanMachine.Model.CM.LastPattleNum GetModel(string Key)
|
||||
{
|
||||
return this.GetList("Key=@Key", new { Key }).FirstOrDefault();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string Key)
|
||||
{
|
||||
return this.Delete("Key=@Key ", new { Key }) ;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CM.LastPattleNum GetModel(string Key)
|
||||
{
|
||||
return this.GetList("Key=@Key", new { Key }).QueryFirstOrDefault();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string Key)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from CM_LastPattleNum WHERE Key=@Key ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { Key }) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.LastPattleNum> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\WarningLogDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\CM\\WarningLogDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WarningLogId)
|
||||
public bool Exists(int WarningLogId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from CM_WARNING_LOG WHERE WARNING_LOG_ID=@WarningLogId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { WarningLogId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WarningLog model)
|
||||
public bool Add(CleanMachine.Model.CM.WarningLog model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO CM_WARNING_LOG
|
||||
(WARNING_LOG_ID,WARNING_CODE,WARNING_NAME,WARNING_TYPE,WARNING_MESSAGE,WARNING_TIME,PLC_ITEM_CODE,WARING_STATUS,WARNING_HANDLE_RESULT,WARNING_HANDLE_TIME,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WarningLog model)
|
||||
public bool Update(CleanMachine.Model.CM.WarningLog model)
|
||||
{
|
||||
string strSql = $@"UPDATE CM_WARNING_LOG SET
|
||||
WARNING_CODE=@WarningCode,WARNING_NAME=@WarningName,WARNING_TYPE=@WarningType,WARNING_MESSAGE=@WarningMessage,WARNING_TIME=@WarningTime,PLC_ITEM_CODE=@PlcItemCode,WARING_STATUS=@WaringStatus,WARNING_HANDLE_RESULT=@WarningHandleResult,WARNING_HANDLE_TIME=@WarningHandleTime,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WarningLogId)
|
||||
public bool Delete(int WarningLogId)
|
||||
{
|
||||
return this.Delete("WARNING_LOG_ID=@WarningLogId ", new { WarningLogId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WarningLog> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WarningLog> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM CM_WARNING_LOG ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.WarningLog>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.CM.WarningLog>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WarningLog GetModel(string WarningLogId)
|
||||
public CleanMachine.Model.CM.WarningLog GetModel(int WarningLogId)
|
||||
{
|
||||
return this.GetList("WARNING_LOG_ID=@WarningLogId", new { WarningLogId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WarningLog> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WarningLog> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
112
CleanMachine.DAL/CM/WorkingPalletDAL.cs
Normal file
112
CleanMachine.DAL/CM/WorkingPalletDAL.cs
Normal file
@@ -0,0 +1,112 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\CM\\WorkingPalletDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDAL
|
||||
{
|
||||
|
||||
|
||||
|
||||
public WorkingPalletDAL()
|
||||
{
|
||||
|
||||
}
|
||||
#region 一般方法
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(int WorkingPalletId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from CM_WORKING_PALLET WHERE WORKING_PALLET_ID=@WorkingPalletId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { WorkingPalletId }) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.CM.WorkingPallet model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO CM_WORKING_PALLET
|
||||
(WORKING_PALLET_ID,WORKING_PALLET_CODE,WORKING_PALLET_DESC,WORKING_STATUS,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
values
|
||||
(@WorkingPalletId,@WorkingPalletCode,@WorkingPalletDesc,@WorkingStatus,@CreateBy,@CreateTime,@UpdateBy,@UpdateTime,@DataVersion,@Remarks1,@Remarks2,@Remarks3,@Remarks4,@Remarks5) ";
|
||||
return LeadDbHelperSQLite.Execute(strSql, model) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.CM.WorkingPallet model)
|
||||
{
|
||||
string strSql = $@"UPDATE CM_WORKING_PALLET SET
|
||||
WORKING_PALLET_CODE=@WorkingPalletCode,WORKING_PALLET_DESC=@WorkingPalletDesc,WORKING_STATUS=@WorkingStatus,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
WHERE WORKING_PALLET_ID=@WorkingPalletId ";
|
||||
return LeadDbHelperSQLite.Execute(strSql, model) > 0;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"DELETE FROM CM_WORKING_PALLET ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Execute(strSql, Params) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(int WorkingPalletId)
|
||||
{
|
||||
return this.Delete("WORKING_PALLET_ID=@WorkingPalletId ", new { WorkingPalletId }) ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM CM_WORKING_PALLET ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.CM.WorkingPallet>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CM.WorkingPallet GetModel(int WorkingPalletId)
|
||||
{
|
||||
return this.GetList("WORKING_PALLET_ID=@WorkingPalletId", new { WorkingPalletId }).FirstOrDefault();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
// }
|
||||
}
|
||||
}
|
||||
112
CleanMachine.DAL/CM/WorkingPalletDtlDAL.cs
Normal file
112
CleanMachine.DAL/CM/WorkingPalletDtlDAL.cs
Normal file
@@ -0,0 +1,112 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\CM\\WorkingPalletDtlDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDtlDAL
|
||||
{
|
||||
|
||||
|
||||
|
||||
public WorkingPalletDtlDAL()
|
||||
{
|
||||
|
||||
}
|
||||
#region 一般方法
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(int WorkingPalletDtlId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from CM_WORKING_PALLET_DTL WHERE WORKING_PALLET_DTL_ID=@WorkingPalletDtlId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { WorkingPalletDtlId }) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.CM.WorkingPalletDtl model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO CM_WORKING_PALLET_DTL
|
||||
(WORKING_PALLET_DTL_ID,WORKING_PALLET_CODE,IR_CODE,SHEET_TYPE_CODE,INPUT_TIME,CLEAN_MODE_CODE,CONTAMINATION_TYPE_CODE,CONTAMINATION_DTL_CODE,CURRENT_NUMBER,OPERATE_USER_ID,OPERATE_USER_TIME,WORKING_DTL_STATUS,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
values
|
||||
(@WorkingPalletDtlId,@WorkingPalletCode,@IrCode,@SheetTypeCode,@InputTime,@CleanModeCode,@ContaminationTypeCode,@ContaminationDtlCode,@CurrentNumber,@OperateUserId,@OperateUserTime,@WorkingDtlStatus,@CreateBy,@CreateTime,@UpdateBy,@UpdateTime,@DataVersion,@Remarks1,@Remarks2,@Remarks3,@Remarks4,@Remarks5) ";
|
||||
return LeadDbHelperSQLite.Execute(strSql, model) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.CM.WorkingPalletDtl model)
|
||||
{
|
||||
string strSql = $@"UPDATE CM_WORKING_PALLET_DTL SET
|
||||
WORKING_PALLET_CODE=@WorkingPalletCode,IR_CODE=@IrCode,SHEET_TYPE_CODE=@SheetTypeCode,INPUT_TIME=@InputTime,CLEAN_MODE_CODE=@CleanModeCode,CONTAMINATION_TYPE_CODE=@ContaminationTypeCode,CONTAMINATION_DTL_CODE=@ContaminationDtlCode,CURRENT_NUMBER=@CurrentNumber,OPERATE_USER_ID=@OperateUserId,OPERATE_USER_TIME=@OperateUserTime,WORKING_DTL_STATUS=@WorkingDtlStatus,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
WHERE WORKING_PALLET_DTL_ID=@WorkingPalletDtlId ";
|
||||
return LeadDbHelperSQLite.Execute(strSql, model) > 0;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"DELETE FROM CM_WORKING_PALLET_DTL ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Execute(strSql, Params) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(int WorkingPalletDtlId)
|
||||
{
|
||||
return this.Delete("WORKING_PALLET_DTL_ID=@WorkingPalletDtlId ", new { WorkingPalletDtlId }) ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM CM_WORKING_PALLET_DTL ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.CM.WorkingPalletDtl>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CM.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
|
||||
{
|
||||
return this.GetList("WORKING_PALLET_DTL_ID=@WorkingPalletDtlId", new { WorkingPalletDtlId }).FirstOrDefault();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
// }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\LanguageControlDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\LanguageControlDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string LanguageControlId)
|
||||
public bool Exists(int LanguageControlId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_LANGUAGE_CONTROL WHERE LANGUAGE_CONTROL_ID=@LanguageControlId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { LanguageControlId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.LanguageControl model)
|
||||
public bool Add(CleanMachine.Model.SYS.LanguageControl model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_LANGUAGE_CONTROL
|
||||
(LANGUAGE_CONTROL_ID,LANGUAGE_CODE,FORM_CODE,CONTROL_CODE,CONTROL_NAME,CONTROL_TYPE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.LanguageControl model)
|
||||
public bool Update(CleanMachine.Model.SYS.LanguageControl model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_LANGUAGE_CONTROL SET
|
||||
LANGUAGE_CODE=@LanguageCode,FORM_CODE=@FormCode,CONTROL_CODE=@ControlCode,CONTROL_NAME=@ControlName,CONTROL_TYPE=@ControlType,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string LanguageControlId)
|
||||
public bool Delete(int LanguageControlId)
|
||||
{
|
||||
return this.Delete("LANGUAGE_CONTROL_ID=@LanguageControlId ", new { LanguageControlId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.LanguageControl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.LanguageControl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_LANGUAGE_CONTROL ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.LanguageControl>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.LanguageControl>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.LanguageControl GetModel(string LanguageControlId)
|
||||
public CleanMachine.Model.SYS.LanguageControl GetModel(int LanguageControlId)
|
||||
{
|
||||
return this.GetList("LANGUAGE_CONTROL_ID=@LanguageControlId", new { LanguageControlId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.LanguageControl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.LanguageControl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\LanguageDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\LanguageDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string LanguageId)
|
||||
public bool Exists(int LanguageId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_LANGUAGE WHERE LANGUAGE_ID=@LanguageId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { LanguageId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Language model)
|
||||
public bool Add(CleanMachine.Model.SYS.Language model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_LANGUAGE
|
||||
(LANGUAGE_ID,LANGUAGE_CODE,LANGUAGE_NAME,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Language model)
|
||||
public bool Update(CleanMachine.Model.SYS.Language model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_LANGUAGE SET
|
||||
LANGUAGE_CODE=@LanguageCode,LANGUAGE_NAME=@LanguageName,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string LanguageId)
|
||||
public bool Delete(int LanguageId)
|
||||
{
|
||||
return this.Delete("LANGUAGE_ID=@LanguageId ", new { LanguageId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Language> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Language> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_LANGUAGE ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.Language>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.Language>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Language GetModel(string LanguageId)
|
||||
public CleanMachine.Model.SYS.Language GetModel(int LanguageId)
|
||||
{
|
||||
return this.GetList("LANGUAGE_ID=@LanguageId", new { LanguageId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Language> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Language> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\LogDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\LogDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string SysLogId)
|
||||
public bool Exists(int SysLogId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_LOG WHERE SYS_LOG_ID=@SysLogId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { SysLogId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Log model)
|
||||
public bool Add(CleanMachine.Model.SYS.Log model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_LOG
|
||||
(SYS_LOG_ID,USER_ID,OPERATE_STATUS,RESULT_STATUS,MESSAGE,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Log model)
|
||||
public bool Update(CleanMachine.Model.SYS.Log model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_LOG SET
|
||||
USER_ID=@UserId,OPERATE_STATUS=@OperateStatus,RESULT_STATUS=@ResultStatus,MESSAGE=@Message,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string SysLogId)
|
||||
public bool Delete(int SysLogId)
|
||||
{
|
||||
return this.Delete("SYS_LOG_ID=@SysLogId ", new { SysLogId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Log> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Log> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_LOG ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.Log>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.Log>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Log GetModel(string SysLogId)
|
||||
public CleanMachine.Model.SYS.Log GetModel(int SysLogId)
|
||||
{
|
||||
return this.GetList("SYS_LOG_ID=@SysLogId", new { SysLogId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Log> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Log> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\MenuDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\MenuDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string MenuId)
|
||||
public bool Exists(int MenuId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_MENU WHERE MENU_ID=@MenuId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { MenuId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Menu model)
|
||||
public bool Add(CleanMachine.Model.SYS.Menu model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_MENU
|
||||
(MENU_ID,MENU_CODE,MENU_NAME,MENU_URL,MENU_PID,MENU_ORDER,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Menu model)
|
||||
public bool Update(CleanMachine.Model.SYS.Menu model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_MENU SET
|
||||
MENU_CODE=@MenuCode,MENU_NAME=@MenuName,MENU_URL=@MenuUrl,MENU_PID=@MenuPid,MENU_ORDER=@MenuOrder,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string MenuId)
|
||||
public bool Delete(int MenuId)
|
||||
{
|
||||
return this.Delete("MENU_ID=@MenuId ", new { MenuId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Menu> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Menu> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_MENU ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.Menu>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.Menu>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Menu GetModel(string MenuId)
|
||||
public CleanMachine.Model.SYS.Menu GetModel(int MenuId)
|
||||
{
|
||||
return this.GetList("MENU_ID=@MenuId", new { MenuId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Menu> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Menu> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\ParameterDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\ParameterDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ParameterId)
|
||||
public bool Exists(int ParameterId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_PARAMETER WHERE PARAMETER_ID=@ParameterId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { ParameterId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Parameter model)
|
||||
public bool Add(CleanMachine.Model.SYS.Parameter model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_PARAMETER
|
||||
(PARAMETER_ID,PARAMETER_CODE,PARAMETER_NAME,PARAMETER_VALUE,PARAMETER_TYPE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Parameter model)
|
||||
public bool Update(CleanMachine.Model.SYS.Parameter model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_PARAMETER SET
|
||||
PARAMETER_CODE=@ParameterCode,PARAMETER_NAME=@ParameterName,PARAMETER_VALUE=@ParameterValue,PARAMETER_TYPE=@ParameterType,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ParameterId)
|
||||
public bool Delete(int ParameterId)
|
||||
{
|
||||
return this.Delete("PARAMETER_ID=@ParameterId ", new { ParameterId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Parameter> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Parameter> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_PARAMETER ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.Parameter>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.Parameter>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Parameter GetModel(string ParameterId)
|
||||
public CleanMachine.Model.SYS.Parameter GetModel(int ParameterId)
|
||||
{
|
||||
return this.GetList("PARAMETER_ID=@ParameterId", new { ParameterId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Parameter> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Parameter> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\RoleDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\RoleDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string RoleId)
|
||||
public bool Exists(int RoleId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_ROLE WHERE ROLE_ID=@RoleId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { RoleId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Role model)
|
||||
public bool Add(CleanMachine.Model.SYS.Role model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_ROLE
|
||||
(ROLE_ID,ROLE_CODE,ROLE_NAME,ROLE_GRADE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Role model)
|
||||
public bool Update(CleanMachine.Model.SYS.Role model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_ROLE SET
|
||||
ROLE_CODE=@RoleCode,ROLE_NAME=@RoleName,ROLE_GRADE=@RoleGrade,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string RoleId)
|
||||
public bool Delete(int RoleId)
|
||||
{
|
||||
return this.Delete("ROLE_ID=@RoleId ", new { RoleId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Role> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Role> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_ROLE ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.Role>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.Role>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Role GetModel(string RoleId)
|
||||
public CleanMachine.Model.SYS.Role GetModel(int RoleId)
|
||||
{
|
||||
return this.GetList("ROLE_ID=@RoleId", new { RoleId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Role> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Role> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\RoleMenuPermissionDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\RoleMenuPermissionDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string RoleMenuPermissionId)
|
||||
public bool Exists(int RoleMenuPermissionId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_ROLE_MENU_PERMISSION WHERE ROLE_MENU_PERMISSION_ID=@RoleMenuPermissionId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { RoleMenuPermissionId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.RoleMenuPermission model)
|
||||
public bool Add(CleanMachine.Model.SYS.RoleMenuPermission model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_ROLE_MENU_PERMISSION
|
||||
(ROLE_MENU_PERMISSION_ID,ROLE_ID,MENU_ID,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.RoleMenuPermission model)
|
||||
public bool Update(CleanMachine.Model.SYS.RoleMenuPermission model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_ROLE_MENU_PERMISSION SET
|
||||
ROLE_ID=@RoleId,MENU_ID=@MenuId,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string RoleMenuPermissionId)
|
||||
public bool Delete(int RoleMenuPermissionId)
|
||||
{
|
||||
return this.Delete("ROLE_MENU_PERMISSION_ID=@RoleMenuPermissionId ", new { RoleMenuPermissionId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.RoleMenuPermission> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.RoleMenuPermission> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_ROLE_MENU_PERMISSION ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.RoleMenuPermission>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.RoleMenuPermission>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.RoleMenuPermission GetModel(string RoleMenuPermissionId)
|
||||
public CleanMachine.Model.SYS.RoleMenuPermission GetModel(int RoleMenuPermissionId)
|
||||
{
|
||||
return this.GetList("ROLE_MENU_PERMISSION_ID=@RoleMenuPermissionId", new { RoleMenuPermissionId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.RoleMenuPermission> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.RoleMenuPermission> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\ScheduleDtlDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\ScheduleDtlDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ScheduleDtlId)
|
||||
public bool Exists(int ScheduleDtlId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_SCHEDULE_DTL WHERE SCHEDULE_DTL_ID=@ScheduleDtlId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { ScheduleDtlId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ScheduleDtl model)
|
||||
public bool Add(CleanMachine.Model.SYS.ScheduleDtl model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_SCHEDULE_DTL
|
||||
(SCHEDULE_DTL_ID,SCHEDULE_CODE,SCHEDULE_NAME,BEGIN_TIME,END_TIME,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ScheduleDtl model)
|
||||
public bool Update(CleanMachine.Model.SYS.ScheduleDtl model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_SCHEDULE_DTL SET
|
||||
SCHEDULE_CODE=@ScheduleCode,SCHEDULE_NAME=@ScheduleName,BEGIN_TIME=@BeginTime,END_TIME=@EndTime,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ScheduleDtlId)
|
||||
public bool Delete(int ScheduleDtlId)
|
||||
{
|
||||
return this.Delete("SCHEDULE_DTL_ID=@ScheduleDtlId ", new { ScheduleDtlId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ScheduleDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.ScheduleDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_SCHEDULE_DTL ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.ScheduleDtl>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.ScheduleDtl>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ScheduleDtl GetModel(string ScheduleDtlId)
|
||||
public CleanMachine.Model.SYS.ScheduleDtl GetModel(int ScheduleDtlId)
|
||||
{
|
||||
return this.GetList("SCHEDULE_DTL_ID=@ScheduleDtlId", new { ScheduleDtlId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ScheduleDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.ScheduleDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\UserDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\SYS\\UserDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string UserId)
|
||||
public bool Exists(int UserId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_USER WHERE USER_ID=@UserId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { UserId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.User model)
|
||||
public bool Add(CleanMachine.Model.SYS.User model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO SYS_USER
|
||||
(USER_ID,USER_CODE,USER_NAME,PASSWORD,GENDER,ROLE_ID,SCHEDULE_CODE,USED_FLAG,DEL_FLAG,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.User model)
|
||||
public bool Update(CleanMachine.Model.SYS.User model)
|
||||
{
|
||||
string strSql = $@"UPDATE SYS_USER SET
|
||||
USER_CODE=@UserCode,USER_NAME=@UserName,PASSWORD=@Password,GENDER=@Gender,ROLE_ID=@RoleId,SCHEDULE_CODE=@ScheduleCode,USED_FLAG=@UsedFlag,DEL_FLAG=@DelFlag,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string UserId)
|
||||
public bool Delete(int UserId)
|
||||
{
|
||||
return this.Delete("USER_ID=@UserId ", new { UserId }) ;
|
||||
}
|
||||
@@ -80,30 +80,57 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.User> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.User> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM SYS_USER ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.User>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.SYS.User>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.User GetModel(string UserId)
|
||||
public CleanMachine.Model.SYS.User GetModel(int UserId)
|
||||
{
|
||||
return this.GetList("USER_ID=@UserId", new { UserId }).FirstOrDefault();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string UserCode)
|
||||
{
|
||||
return this.Delete("USER_CODE=@UserCode ", new { UserCode }) ;
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.SYS.User GetModel(string UserCode)
|
||||
{
|
||||
return this.GetList("USER_CODE=@UserCode", new { UserCode }).QueryFirstOrDefault();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string UserCode)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from SYS_USER WHERE USER_CODE=@UserCode ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { UserCode }) > 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.User> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.User> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\WorkingPalletDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\ZBK\\WorkingPalletDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WorkingPalletId)
|
||||
public bool Exists(int WorkingPalletId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from ZBK_WORKING_PALLET WHERE WORKING_PALLET_ID=@WorkingPalletId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { WorkingPalletId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WorkingPallet model)
|
||||
public bool Add(CleanMachine.Model.ZBK.WorkingPallet model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO ZBK_WORKING_PALLET
|
||||
(WORKING_PALLET_ID,WORKING_PALLET_CODE,WORKING_PALLET_DESC,WORKING_STATUS,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WorkingPallet model)
|
||||
public bool Update(CleanMachine.Model.ZBK.WorkingPallet model)
|
||||
{
|
||||
string strSql = $@"UPDATE ZBK_WORKING_PALLET SET
|
||||
WORKING_PALLET_CODE=@WorkingPalletCode,WORKING_PALLET_DESC=@WorkingPalletDesc,WORKING_STATUS=@WorkingStatus,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WorkingPalletId)
|
||||
public bool Delete(int WorkingPalletId)
|
||||
{
|
||||
return this.Delete("WORKING_PALLET_ID=@WorkingPalletId ", new { WorkingPalletId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.ZBK.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM ZBK_WORKING_PALLET ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.WorkingPallet>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.ZBK.WorkingPallet>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WorkingPallet GetModel(string WorkingPalletId)
|
||||
public CleanMachine.Model.ZBK.WorkingPallet GetModel(int WorkingPalletId)
|
||||
{
|
||||
return this.GetList("WORKING_PALLET_ID=@WorkingPalletId", new { WorkingPalletId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.ZBK.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\WorkingPalletDtlDAL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"DAL\\ZBK\\WorkingPalletDtlDAL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Collections.Generic;
|
||||
|
||||
using LeadDataBaseUtility;
|
||||
|
||||
namespace CleanMachine.DAL
|
||||
namespace CleanMachine.DAL.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -26,7 +26,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WorkingPalletDtlId)
|
||||
public bool Exists(int WorkingPalletDtlId)
|
||||
{
|
||||
string strSql = @"SELECT count(1) from ZBK_WORKING_PALLET_DTL WHERE WORKING_PALLET_DTL_ID=@WorkingPalletDtlId ";
|
||||
return LeadDbHelperSQLite.ExecuteScalar<int>(strSql, new { WorkingPalletDtlId }) > 0;
|
||||
@@ -35,7 +35,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WorkingPalletDtl model)
|
||||
public bool Add(CleanMachine.Model.ZBK.WorkingPalletDtl model)
|
||||
{
|
||||
string strSql = $@"INSERT INTO ZBK_WORKING_PALLET_DTL
|
||||
(WORKING_PALLET_DTL_ID,WORKING_PALLET_CODE,IR_CODE,SHEET_TYPE_CODE,INPUT_TIME,CLEAN_MODE_CODE,CONTAMINATION_TYPE_CODE,CONTAMINATION_DTL_CODE,CURRENT_NUMBER,OPERATE_USER_ID,OPERATE_USER_TIME,WORKING_DTL_STATUS,CREATE_BY,CREATE_TIME,UPDATE_BY,UPDATE_TIME,DATA_VERSION,REMARKS1,REMARKS2,REMARKS3,REMARKS4,REMARKS5)
|
||||
@@ -47,7 +47,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WorkingPalletDtl model)
|
||||
public bool Update(CleanMachine.Model.ZBK.WorkingPalletDtl model)
|
||||
{
|
||||
string strSql = $@"UPDATE ZBK_WORKING_PALLET_DTL SET
|
||||
WORKING_PALLET_CODE=@WorkingPalletCode,IR_CODE=@IrCode,SHEET_TYPE_CODE=@SheetTypeCode,INPUT_TIME=@InputTime,CLEAN_MODE_CODE=@CleanModeCode,CONTAMINATION_TYPE_CODE=@ContaminationTypeCode,CONTAMINATION_DTL_CODE=@ContaminationDtlCode,CURRENT_NUMBER=@CurrentNumber,OPERATE_USER_ID=@OperateUserId,OPERATE_USER_TIME=@OperateUserTime,WORKING_DTL_STATUS=@WorkingDtlStatus,CREATE_BY=@CreateBy,CREATE_TIME=@CreateTime,UPDATE_BY=@UpdateBy,UPDATE_TIME=@UpdateTime,DATA_VERSION=@DataVersion,REMARKS1=@Remarks1,REMARKS2=@Remarks2,REMARKS3=@Remarks3,REMARKS4=@Remarks4,REMARKS5=@Remarks5
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WorkingPalletDtlId)
|
||||
public bool Delete(int WorkingPalletDtlId)
|
||||
{
|
||||
return this.Delete("WORKING_PALLET_DTL_ID=@WorkingPalletDtlId ", new { WorkingPalletDtlId }) ;
|
||||
}
|
||||
@@ -80,20 +80,20 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.ZBK.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
string strSql = $@"SELECT * FROM ZBK_WORKING_PALLET_DTL ";
|
||||
if (strWhere.Trim() != "")
|
||||
{
|
||||
strSql += $" WHERE {strWhere}";
|
||||
}
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.WorkingPalletDtl>(strSql, Params);
|
||||
return LeadDbHelperSQLite.Query<CleanMachine.Model.ZBK.WorkingPalletDtl>(strSql, Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WorkingPalletDtl GetModel(string WorkingPalletDtlId)
|
||||
public CleanMachine.Model.ZBK.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
|
||||
{
|
||||
return this.GetList("WORKING_PALLET_DTL_ID=@WorkingPalletDtlId", new { WorkingPalletDtlId }).FirstOrDefault();
|
||||
}
|
||||
@@ -103,7 +103,7 @@ namespace CleanMachine.DAL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.ZBK.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// var tuper = _dbhelper.BuildRuleGroupStr(rule);
|
||||
// return this.GetList(tuper.where, tuper.Param);
|
||||
169
CleanMachine.Model/BAS/CleanMode.cs
Normal file
169
CleanMachine.Model/BAS/CleanMode.cs
Normal file
@@ -0,0 +1,169 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\CleanMode"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class CleanMode
|
||||
{
|
||||
|
||||
private int cleanModeId;
|
||||
private string cleanModeCode;
|
||||
private string cleanModeName;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CleanModeId
|
||||
{
|
||||
get { return this.cleanModeId; }
|
||||
set { this.cleanModeId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeName
|
||||
{
|
||||
get { return this.cleanModeName; }
|
||||
set { this.cleanModeName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
179
CleanMachine.Model/BAS/ContaminationDtl.cs
Normal file
179
CleanMachine.Model/BAS/ContaminationDtl.cs
Normal file
@@ -0,0 +1,179 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\ContaminationDtl"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ContaminationDtl
|
||||
{
|
||||
|
||||
private int contaminationDtlId;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationDtlCode;
|
||||
private string contaminationDtlName;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ContaminationDtlId
|
||||
{
|
||||
get { return this.contaminationDtlId; }
|
||||
set { this.contaminationDtlId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlCode
|
||||
{
|
||||
get { return this.contaminationDtlCode; }
|
||||
set { this.contaminationDtlCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlName
|
||||
{
|
||||
get { return this.contaminationDtlName; }
|
||||
set { this.contaminationDtlName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
179
CleanMachine.Model/BAS/ContaminationType.cs
Normal file
179
CleanMachine.Model/BAS/ContaminationType.cs
Normal file
@@ -0,0 +1,179 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\ContaminationType"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ContaminationType
|
||||
{
|
||||
|
||||
private int contaminationTypeId;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationTypeName;
|
||||
private string cleanModeCode;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ContaminationTypeId
|
||||
{
|
||||
get { return this.contaminationTypeId; }
|
||||
set { this.contaminationTypeId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeName
|
||||
{
|
||||
get { return this.contaminationTypeName; }
|
||||
set { this.contaminationTypeName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
239
CleanMachine.Model/BAS/PlcItem.cs
Normal file
239
CleanMachine.Model/BAS/PlcItem.cs
Normal file
@@ -0,0 +1,239 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\PlcItem"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class PlcItem
|
||||
{
|
||||
|
||||
private int plcItemId;
|
||||
private string plcItemCode;
|
||||
private string plcItemName;
|
||||
private int plcItemType;
|
||||
private int plcItemDataType;
|
||||
private int plcItemDataLength;
|
||||
private string plcItemPriAddress;
|
||||
private string plcItemModbusAddress;
|
||||
private string plcItemDeviationAddress;
|
||||
private string plcItemValue;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemId
|
||||
{
|
||||
get { return this.plcItemId; }
|
||||
set { this.plcItemId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemName
|
||||
{
|
||||
get { return this.plcItemName; }
|
||||
set { this.plcItemName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemType
|
||||
{
|
||||
get { return this.plcItemType; }
|
||||
set { this.plcItemType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemDataType
|
||||
{
|
||||
get { return this.plcItemDataType; }
|
||||
set { this.plcItemDataType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemDataLength
|
||||
{
|
||||
get { return this.plcItemDataLength; }
|
||||
set { this.plcItemDataLength=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemPriAddress
|
||||
{
|
||||
get { return this.plcItemPriAddress; }
|
||||
set { this.plcItemPriAddress=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemModbusAddress
|
||||
{
|
||||
get { return this.plcItemModbusAddress; }
|
||||
set { this.plcItemModbusAddress=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemDeviationAddress
|
||||
{
|
||||
get { return this.plcItemDeviationAddress; }
|
||||
set { this.plcItemDeviationAddress=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemValue
|
||||
{
|
||||
get { return this.plcItemValue; }
|
||||
set { this.plcItemValue=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
169
CleanMachine.Model/BAS/SheetType.cs
Normal file
169
CleanMachine.Model/BAS/SheetType.cs
Normal file
@@ -0,0 +1,169 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\SheetType"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class SheetType
|
||||
{
|
||||
|
||||
private int sheetTypeId;
|
||||
private string sheetTypeCode;
|
||||
private string sheetTypeName;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int SheetTypeId
|
||||
{
|
||||
get { return this.sheetTypeId; }
|
||||
set { this.sheetTypeId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeCode
|
||||
{
|
||||
get { return this.sheetTypeCode; }
|
||||
set { this.sheetTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeName
|
||||
{
|
||||
get { return this.sheetTypeName; }
|
||||
set { this.sheetTypeName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
199
CleanMachine.Model/BAS/Warning.cs
Normal file
199
CleanMachine.Model/BAS/Warning.cs
Normal file
@@ -0,0 +1,199 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\BAS\\Warning"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Warning
|
||||
{
|
||||
|
||||
private int warningId;
|
||||
private string warningCode;
|
||||
private string warningName;
|
||||
private string plcItemCode;
|
||||
private string warningType;
|
||||
private string warningMessage;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WarningId
|
||||
{
|
||||
get { return this.warningId; }
|
||||
set { this.warningId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningCode
|
||||
{
|
||||
get { return this.warningCode; }
|
||||
set { this.warningCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningName
|
||||
{
|
||||
get { return this.warningName; }
|
||||
set { this.warningName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningType
|
||||
{
|
||||
get { return this.warningType; }
|
||||
set { this.warningType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningMessage
|
||||
{
|
||||
get { return this.warningMessage; }
|
||||
set { this.warningMessage=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
39
CleanMachine.Model/CM/LastPattleNum.cs
Normal file
39
CleanMachine.Model/CM/LastPattleNum.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\CM\\LastPattleNum"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class LastPattleNum
|
||||
{
|
||||
|
||||
private string key;
|
||||
private int value;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Key
|
||||
{
|
||||
get { return this.key; }
|
||||
set { this.key=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Value
|
||||
{
|
||||
get { return this.value; }
|
||||
set { this.value=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
219
CleanMachine.Model/CM/WarningLog.cs
Normal file
219
CleanMachine.Model/CM/WarningLog.cs
Normal file
@@ -0,0 +1,219 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\CM\\WarningLog"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WarningLog
|
||||
{
|
||||
|
||||
private int warningLogId;
|
||||
private string warningCode;
|
||||
private string warningName;
|
||||
private string warningType;
|
||||
private string warningMessage;
|
||||
private DateTime warningTime;
|
||||
private string plcItemCode;
|
||||
private int waringStatus;
|
||||
private int warningHandleResult;
|
||||
private DateTime warningHandleTime;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WarningLogId
|
||||
{
|
||||
get { return this.warningLogId; }
|
||||
set { this.warningLogId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningCode
|
||||
{
|
||||
get { return this.warningCode; }
|
||||
set { this.warningCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningName
|
||||
{
|
||||
get { return this.warningName; }
|
||||
set { this.warningName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningType
|
||||
{
|
||||
get { return this.warningType; }
|
||||
set { this.warningType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningMessage
|
||||
{
|
||||
get { return this.warningMessage; }
|
||||
set { this.warningMessage=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime WarningTime
|
||||
{
|
||||
get { return this.warningTime; }
|
||||
set { this.warningTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WaringStatus
|
||||
{
|
||||
get { return this.waringStatus; }
|
||||
set { this.waringStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WarningHandleResult
|
||||
{
|
||||
get { return this.warningHandleResult; }
|
||||
set { this.warningHandleResult=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime WarningHandleTime
|
||||
{
|
||||
get { return this.warningHandleTime; }
|
||||
set { this.warningHandleTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
159
CleanMachine.Model/CM/WorkingPallet.cs
Normal file
159
CleanMachine.Model/CM/WorkingPallet.cs
Normal file
@@ -0,0 +1,159 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\CM\\WorkingPallet"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPallet
|
||||
{
|
||||
|
||||
private int workingPalletId;
|
||||
private string workingPalletCode;
|
||||
private string workingPalletDesc;
|
||||
private int workingStatus;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingPalletId
|
||||
{
|
||||
get { return this.workingPalletId; }
|
||||
set { this.workingPalletId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletDesc
|
||||
{
|
||||
get { return this.workingPalletDesc; }
|
||||
set { this.workingPalletDesc=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingStatus
|
||||
{
|
||||
get { return this.workingStatus; }
|
||||
set { this.workingStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
239
CleanMachine.Model/CM/WorkingPalletDtl.cs
Normal file
239
CleanMachine.Model/CM/WorkingPalletDtl.cs
Normal file
@@ -0,0 +1,239 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\CM\\WorkingPalletDtl"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDtl
|
||||
{
|
||||
|
||||
private int workingPalletDtlId;
|
||||
private string workingPalletCode;
|
||||
private string irCode;
|
||||
private string sheetTypeCode;
|
||||
private DateTime inputTime;
|
||||
private string cleanModeCode;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationDtlCode;
|
||||
private int currentNumber;
|
||||
private int operateUserId;
|
||||
private DateTime operateUserTime;
|
||||
private int workingDtlStatus;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingPalletDtlId
|
||||
{
|
||||
get { return this.workingPalletDtlId; }
|
||||
set { this.workingPalletDtlId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string IrCode
|
||||
{
|
||||
get { return this.irCode; }
|
||||
set { this.irCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeCode
|
||||
{
|
||||
get { return this.sheetTypeCode; }
|
||||
set { this.sheetTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime InputTime
|
||||
{
|
||||
get { return this.inputTime; }
|
||||
set { this.inputTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlCode
|
||||
{
|
||||
get { return this.contaminationDtlCode; }
|
||||
set { this.contaminationDtlCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CurrentNumber
|
||||
{
|
||||
get { return this.currentNumber; }
|
||||
set { this.currentNumber=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperateUserId
|
||||
{
|
||||
get { return this.operateUserId; }
|
||||
set { this.operateUserId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateUserTime
|
||||
{
|
||||
get { return this.operateUserTime; }
|
||||
set { this.operateUserTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingDtlStatus
|
||||
{
|
||||
get { return this.workingDtlStatus; }
|
||||
set { this.workingDtlStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class CleanMode: BaseModel
|
||||
{
|
||||
|
||||
private string cleanModeId;
|
||||
private string cleanModeCode;
|
||||
private string cleanModeName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeId
|
||||
{
|
||||
get { return this.cleanModeId; }
|
||||
set { this.cleanModeId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeName
|
||||
{
|
||||
get { return this.cleanModeName; }
|
||||
set { this.cleanModeName = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 污染明细
|
||||
/// </summary>
|
||||
public class ContaminationDtl: BaseModel
|
||||
{
|
||||
|
||||
private string contaminationDtlId;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationDtlCode;
|
||||
private string contaminationDtlName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlId
|
||||
{
|
||||
get { return this.contaminationDtlId; }
|
||||
set { this.contaminationDtlId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlCode
|
||||
{
|
||||
get { return this.contaminationDtlCode; }
|
||||
set { this.contaminationDtlCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlName
|
||||
{
|
||||
get { return this.contaminationDtlName; }
|
||||
set { this.contaminationDtlName = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 污染类型
|
||||
/// </summary>
|
||||
public class ContaminationType:BaseModel
|
||||
{
|
||||
|
||||
private string contaminationTypeId;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationTypeName;
|
||||
private string cleanModeCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeId
|
||||
{
|
||||
get { return this.contaminationTypeId; }
|
||||
set { this.contaminationTypeId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeName
|
||||
{
|
||||
get { return this.contaminationTypeName; }
|
||||
set { this.contaminationTypeName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Language:BaseModel
|
||||
{
|
||||
|
||||
private string languageId;
|
||||
private string languageCode;
|
||||
private string languageName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageId
|
||||
{
|
||||
get { return this.languageId; }
|
||||
set { this.languageId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageCode
|
||||
{
|
||||
get { return this.languageCode; }
|
||||
set { this.languageCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageName
|
||||
{
|
||||
get { return this.languageName; }
|
||||
set { this.languageName = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class LanguageControl : BaseModel
|
||||
{
|
||||
|
||||
private string languageControlId;
|
||||
private string languageCode;
|
||||
private string formCode;
|
||||
private string controlCode;
|
||||
private string controlName;
|
||||
private string controlType;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageControlId
|
||||
{
|
||||
get { return this.languageControlId; }
|
||||
set { this.languageControlId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageCode
|
||||
{
|
||||
get { return this.languageCode; }
|
||||
set { this.languageCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FormCode
|
||||
{
|
||||
get { return this.formCode; }
|
||||
set { this.formCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ControlCode
|
||||
{
|
||||
get { return this.controlCode; }
|
||||
set { this.controlCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ControlName
|
||||
{
|
||||
get { return this.controlName; }
|
||||
set { this.controlName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ControlType
|
||||
{
|
||||
get { return this.controlType; }
|
||||
set { this.controlType = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class LastPattleNum:BaseModel
|
||||
{
|
||||
|
||||
private string key;
|
||||
private string value;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Key
|
||||
{
|
||||
get { return this.key; }
|
||||
set { this.key = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Value
|
||||
{
|
||||
get { return this.value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Log : BaseModel
|
||||
{
|
||||
|
||||
private string sysLogId;
|
||||
private int userId;
|
||||
private string operateStatus;
|
||||
private string resultStatus;
|
||||
private string message;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SysLogId
|
||||
{
|
||||
get { return this.sysLogId; }
|
||||
set { this.sysLogId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UserId
|
||||
{
|
||||
get { return this.userId; }
|
||||
set { this.userId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperateStatus
|
||||
{
|
||||
get { return this.operateStatus; }
|
||||
set { this.operateStatus = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ResultStatus
|
||||
{
|
||||
get { return this.resultStatus; }
|
||||
set { this.resultStatus = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Message
|
||||
{
|
||||
get { return this.message; }
|
||||
set { this.message = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Menu : BaseModel
|
||||
{
|
||||
|
||||
private string menuId;
|
||||
private string menuCode;
|
||||
private string menuName;
|
||||
private string menuUrl;
|
||||
private int menuPid;
|
||||
private int menuOrder;
|
||||
private int usedFlag;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Parameter : BaseModel
|
||||
{
|
||||
|
||||
private string parameterId;
|
||||
private string parameterCode;
|
||||
private string parameterName;
|
||||
private string parameterValue;
|
||||
private string parameterType;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterId
|
||||
{
|
||||
get { return this.parameterId; }
|
||||
set { this.parameterId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterCode
|
||||
{
|
||||
get { return this.parameterCode; }
|
||||
set { this.parameterCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterName
|
||||
{
|
||||
get { return this.parameterName; }
|
||||
set { this.parameterName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterValue
|
||||
{
|
||||
get { return this.parameterValue; }
|
||||
set { this.parameterValue = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterType
|
||||
{
|
||||
get { return this.parameterType; }
|
||||
set { this.parameterType = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,117 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class PlcItem : BaseModel
|
||||
{
|
||||
|
||||
private string plcItemId;
|
||||
private string plcItemCode;
|
||||
private string plcItemName;
|
||||
private int plcItemType;
|
||||
private int plcItemDataType;
|
||||
private int plcItemDataLength;
|
||||
private string plcItemPriAddress;
|
||||
private string plcItemModbusAddress;
|
||||
private string plcItemDeviationAddress;
|
||||
private string plcItemValue;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemId
|
||||
{
|
||||
get { return this.plcItemId; }
|
||||
set { this.plcItemId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemName
|
||||
{
|
||||
get { return this.plcItemName; }
|
||||
set { this.plcItemName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemType
|
||||
{
|
||||
get { return this.plcItemType; }
|
||||
set { this.plcItemType = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemDataType
|
||||
{
|
||||
get { return this.plcItemDataType; }
|
||||
set { this.plcItemDataType = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int PlcItemDataLength
|
||||
{
|
||||
get { return this.plcItemDataLength; }
|
||||
set { this.plcItemDataLength = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemPriAddress
|
||||
{
|
||||
get { return this.plcItemPriAddress; }
|
||||
set { this.plcItemPriAddress = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemModbusAddress
|
||||
{
|
||||
get { return this.plcItemModbusAddress; }
|
||||
set { this.plcItemModbusAddress = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemDeviationAddress
|
||||
{
|
||||
get { return this.plcItemDeviationAddress; }
|
||||
set { this.plcItemDeviationAddress = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemValue
|
||||
{
|
||||
get { return this.plcItemValue; }
|
||||
set { this.plcItemValue = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Role : BaseModel
|
||||
{
|
||||
|
||||
private string roleId;
|
||||
private string roleCode;
|
||||
private string roleName;
|
||||
private int roleGrade;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleId
|
||||
{
|
||||
get { return this.roleId; }
|
||||
set { this.roleId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleCode
|
||||
{
|
||||
get { return this.roleCode; }
|
||||
set { this.roleCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleName
|
||||
{
|
||||
get { return this.roleName; }
|
||||
set { this.roleName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int RoleGrade
|
||||
{
|
||||
get { return this.roleGrade; }
|
||||
set { this.roleGrade = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class RoleMenuPermission : BaseModel
|
||||
{
|
||||
|
||||
private string roleMenuPermissionId;
|
||||
private string roleId;
|
||||
private string menuId;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleMenuPermissionId
|
||||
{
|
||||
get { return this.roleMenuPermissionId; }
|
||||
set { this.roleMenuPermissionId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleId
|
||||
{
|
||||
get { return this.roleId; }
|
||||
set { this.roleId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string MenuId
|
||||
{
|
||||
get { return this.menuId; }
|
||||
set { this.menuId = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
169
CleanMachine.Model/SYS/Language.cs
Normal file
169
CleanMachine.Model/SYS/Language.cs
Normal file
@@ -0,0 +1,169 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\Language"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Language
|
||||
{
|
||||
|
||||
private int languageId;
|
||||
private string languageCode;
|
||||
private string languageName;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int LanguageId
|
||||
{
|
||||
get { return this.languageId; }
|
||||
set { this.languageId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageCode
|
||||
{
|
||||
get { return this.languageCode; }
|
||||
set { this.languageCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageName
|
||||
{
|
||||
get { return this.languageName; }
|
||||
set { this.languageName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
199
CleanMachine.Model/SYS/LanguageControl.cs
Normal file
199
CleanMachine.Model/SYS/LanguageControl.cs
Normal file
@@ -0,0 +1,199 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\LanguageControl"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class LanguageControl
|
||||
{
|
||||
|
||||
private int languageControlId;
|
||||
private string languageCode;
|
||||
private string formCode;
|
||||
private string controlCode;
|
||||
private string controlName;
|
||||
private string controlType;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int LanguageControlId
|
||||
{
|
||||
get { return this.languageControlId; }
|
||||
set { this.languageControlId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string LanguageCode
|
||||
{
|
||||
get { return this.languageCode; }
|
||||
set { this.languageCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FormCode
|
||||
{
|
||||
get { return this.formCode; }
|
||||
set { this.formCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ControlCode
|
||||
{
|
||||
get { return this.controlCode; }
|
||||
set { this.controlCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ControlName
|
||||
{
|
||||
get { return this.controlName; }
|
||||
set { this.controlName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ControlType
|
||||
{
|
||||
get { return this.controlType; }
|
||||
set { this.controlType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
169
CleanMachine.Model/SYS/Log.cs
Normal file
169
CleanMachine.Model/SYS/Log.cs
Normal file
@@ -0,0 +1,169 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\Log"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Log
|
||||
{
|
||||
|
||||
private int sysLogId;
|
||||
private int userId;
|
||||
private string operateStatus;
|
||||
private string resultStatus;
|
||||
private string message;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int SysLogId
|
||||
{
|
||||
get { return this.sysLogId; }
|
||||
set { this.sysLogId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UserId
|
||||
{
|
||||
get { return this.userId; }
|
||||
set { this.userId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string OperateStatus
|
||||
{
|
||||
get { return this.operateStatus; }
|
||||
set { this.operateStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ResultStatus
|
||||
{
|
||||
get { return this.resultStatus; }
|
||||
set { this.resultStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Message
|
||||
{
|
||||
get { return this.message; }
|
||||
set { this.message=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
199
CleanMachine.Model/SYS/Menu.cs
Normal file
199
CleanMachine.Model/SYS/Menu.cs
Normal file
@@ -0,0 +1,199 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\Menu"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Menu
|
||||
{
|
||||
|
||||
private int menuId;
|
||||
private string menuCode;
|
||||
private string menuName;
|
||||
private string menuUrl;
|
||||
private int menuPid;
|
||||
private int menuOrder;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int MenuId
|
||||
{
|
||||
get { return this.menuId; }
|
||||
set { this.menuId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string MenuCode
|
||||
{
|
||||
get { return this.menuCode; }
|
||||
set { this.menuCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string MenuName
|
||||
{
|
||||
get { return this.menuName; }
|
||||
set { this.menuName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string MenuUrl
|
||||
{
|
||||
get { return this.menuUrl; }
|
||||
set { this.menuUrl=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int MenuPid
|
||||
{
|
||||
get { return this.menuPid; }
|
||||
set { this.menuPid=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int MenuOrder
|
||||
{
|
||||
get { return this.menuOrder; }
|
||||
set { this.menuOrder=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
189
CleanMachine.Model/SYS/Parameter.cs
Normal file
189
CleanMachine.Model/SYS/Parameter.cs
Normal file
@@ -0,0 +1,189 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\Parameter"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Parameter
|
||||
{
|
||||
|
||||
private int parameterId;
|
||||
private string parameterCode;
|
||||
private string parameterName;
|
||||
private string parameterValue;
|
||||
private string parameterType;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ParameterId
|
||||
{
|
||||
get { return this.parameterId; }
|
||||
set { this.parameterId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterCode
|
||||
{
|
||||
get { return this.parameterCode; }
|
||||
set { this.parameterCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterName
|
||||
{
|
||||
get { return this.parameterName; }
|
||||
set { this.parameterName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterValue
|
||||
{
|
||||
get { return this.parameterValue; }
|
||||
set { this.parameterValue=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ParameterType
|
||||
{
|
||||
get { return this.parameterType; }
|
||||
set { this.parameterType=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
179
CleanMachine.Model/SYS/Role.cs
Normal file
179
CleanMachine.Model/SYS/Role.cs
Normal file
@@ -0,0 +1,179 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\Role"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Role
|
||||
{
|
||||
|
||||
private int roleId;
|
||||
private string roleCode;
|
||||
private string roleName;
|
||||
private int roleGrade;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int RoleId
|
||||
{
|
||||
get { return this.roleId; }
|
||||
set { this.roleId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleCode
|
||||
{
|
||||
get { return this.roleCode; }
|
||||
set { this.roleCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleName
|
||||
{
|
||||
get { return this.roleName; }
|
||||
set { this.roleName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int RoleGrade
|
||||
{
|
||||
get { return this.roleGrade; }
|
||||
set { this.roleGrade=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
149
CleanMachine.Model/SYS/RoleMenuPermission.cs
Normal file
149
CleanMachine.Model/SYS/RoleMenuPermission.cs
Normal file
@@ -0,0 +1,149 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\RoleMenuPermission"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class RoleMenuPermission
|
||||
{
|
||||
|
||||
private int roleMenuPermissionId;
|
||||
private int roleId;
|
||||
private int menuId;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int RoleMenuPermissionId
|
||||
{
|
||||
get { return this.roleMenuPermissionId; }
|
||||
set { this.roleMenuPermissionId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int RoleId
|
||||
{
|
||||
get { return this.roleId; }
|
||||
set { this.roleId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int MenuId
|
||||
{
|
||||
get { return this.menuId; }
|
||||
set { this.menuId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
189
CleanMachine.Model/SYS/ScheduleDtl.cs
Normal file
189
CleanMachine.Model/SYS/ScheduleDtl.cs
Normal file
@@ -0,0 +1,189 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\ScheduleDtl"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ScheduleDtl
|
||||
{
|
||||
|
||||
private int scheduleDtlId;
|
||||
private string scheduleCode;
|
||||
private string scheduleName;
|
||||
private string beginTime;
|
||||
private string endTime;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int ScheduleDtlId
|
||||
{
|
||||
get { return this.scheduleDtlId; }
|
||||
set { this.scheduleDtlId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleCode
|
||||
{
|
||||
get { return this.scheduleCode; }
|
||||
set { this.scheduleCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleName
|
||||
{
|
||||
get { return this.scheduleName; }
|
||||
set { this.scheduleName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BeginTime
|
||||
{
|
||||
get { return this.beginTime; }
|
||||
set { this.beginTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string EndTime
|
||||
{
|
||||
get { return this.endTime; }
|
||||
set { this.endTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
209
CleanMachine.Model/SYS/User.cs
Normal file
209
CleanMachine.Model/SYS/User.cs
Normal file
@@ -0,0 +1,209 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\User"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class User
|
||||
{
|
||||
|
||||
private int userId;
|
||||
private string userCode;
|
||||
private string userName;
|
||||
private string password;
|
||||
private int gender;
|
||||
private int roleId;
|
||||
private string scheduleCode;
|
||||
private int usedFlag;
|
||||
private int delFlag;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UserId
|
||||
{
|
||||
get { return this.userId; }
|
||||
set { this.userId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string UserCode
|
||||
{
|
||||
get { return this.userCode; }
|
||||
set { this.userCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string UserName
|
||||
{
|
||||
get { return this.userName; }
|
||||
set { this.userName=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Password
|
||||
{
|
||||
get { return this.password; }
|
||||
set { this.password=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Gender
|
||||
{
|
||||
get { return this.gender; }
|
||||
set { this.gender=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int RoleId
|
||||
{
|
||||
get { return this.roleId; }
|
||||
set { this.roleId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleCode
|
||||
{
|
||||
get { return this.scheduleCode; }
|
||||
set { this.scheduleCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UsedFlag
|
||||
{
|
||||
get { return this.usedFlag; }
|
||||
set { this.usedFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DelFlag
|
||||
{
|
||||
get { return this.delFlag; }
|
||||
set { this.delFlag=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ScheduleDtl : BaseModel
|
||||
{
|
||||
|
||||
private string scheduleDtlId;
|
||||
private string scheduleCode;
|
||||
private string scheduleName;
|
||||
private string beginTime;
|
||||
private string endTime;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleDtlId
|
||||
{
|
||||
get { return this.scheduleDtlId; }
|
||||
set { this.scheduleDtlId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleCode
|
||||
{
|
||||
get { return this.scheduleCode; }
|
||||
set { this.scheduleCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleName
|
||||
{
|
||||
get { return this.scheduleName; }
|
||||
set { this.scheduleName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BeginTime
|
||||
{
|
||||
get { return this.beginTime; }
|
||||
set { this.beginTime = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string EndTime
|
||||
{
|
||||
get { return this.endTime; }
|
||||
set { this.endTime = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class SheetType : BaseModel
|
||||
{
|
||||
|
||||
private string sheetTypeId;
|
||||
private string sheetTypeCode;
|
||||
private string sheetTypeName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeId
|
||||
{
|
||||
get { return this.sheetTypeId; }
|
||||
set { this.sheetTypeId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeCode
|
||||
{
|
||||
get { return this.sheetTypeCode; }
|
||||
set { this.sheetTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeName
|
||||
{
|
||||
get { return this.sheetTypeName; }
|
||||
set { this.sheetTypeName = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class User : BaseModel
|
||||
{
|
||||
|
||||
private string userId;
|
||||
private string userCode;
|
||||
private string userName;
|
||||
private string password;
|
||||
private int gender;
|
||||
private string roleId;
|
||||
private string scheduleCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string UserId
|
||||
{
|
||||
get { return this.userId; }
|
||||
set { this.userId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string UserCode
|
||||
{
|
||||
get { return this.userCode; }
|
||||
set { this.userCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string UserName
|
||||
{
|
||||
get { return this.userName; }
|
||||
set { this.userName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Password
|
||||
{
|
||||
get { return this.password; }
|
||||
set { this.password = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int Gender
|
||||
{
|
||||
get { return this.gender; }
|
||||
set { this.gender = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RoleId
|
||||
{
|
||||
get { return this.roleId; }
|
||||
set { this.roleId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ScheduleCode
|
||||
{
|
||||
get { return this.scheduleCode; }
|
||||
set { this.scheduleCode = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Warning : BaseModel
|
||||
{
|
||||
|
||||
private string warningId;
|
||||
private string warningCode;
|
||||
private string warningName;
|
||||
private string plcItemCode;
|
||||
private string warningType;
|
||||
private string warningMessage;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningId
|
||||
{
|
||||
get { return this.warningId; }
|
||||
set { this.warningId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningCode
|
||||
{
|
||||
get { return this.warningCode; }
|
||||
set { this.warningCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningName
|
||||
{
|
||||
get { return this.warningName; }
|
||||
set { this.warningName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningType
|
||||
{
|
||||
get { return this.warningType; }
|
||||
set { this.warningType = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningMessage
|
||||
{
|
||||
get { return this.warningMessage; }
|
||||
set { this.warningMessage = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,118 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WarningLog : BaseModel
|
||||
{
|
||||
|
||||
private string warningLogId;
|
||||
private string warningCode;
|
||||
private string warningName;
|
||||
private string warningType;
|
||||
private string warningMessage;
|
||||
private DateTime warningTime;
|
||||
private string plcItemCode;
|
||||
private int waringStatus;
|
||||
private int warningHandleResult;
|
||||
private DateTime warningHandleTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningLogId
|
||||
{
|
||||
get { return this.warningLogId; }
|
||||
set { this.warningLogId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningCode
|
||||
{
|
||||
get { return this.warningCode; }
|
||||
set { this.warningCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningName
|
||||
{
|
||||
get { return this.warningName; }
|
||||
set { this.warningName = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningType
|
||||
{
|
||||
get { return this.warningType; }
|
||||
set { this.warningType = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WarningMessage
|
||||
{
|
||||
get { return this.warningMessage; }
|
||||
set { this.warningMessage = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime WarningTime
|
||||
{
|
||||
get { return this.warningTime; }
|
||||
set { this.warningTime = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string PlcItemCode
|
||||
{
|
||||
get { return this.plcItemCode; }
|
||||
set { this.plcItemCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WaringStatus
|
||||
{
|
||||
get { return this.waringStatus; }
|
||||
set { this.waringStatus = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WarningHandleResult
|
||||
{
|
||||
get { return this.warningHandleResult; }
|
||||
set { this.warningHandleResult = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime WarningHandleTime
|
||||
{
|
||||
get { return this.warningHandleTime; }
|
||||
set { this.warningHandleTime = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPallet : BaseModel
|
||||
{
|
||||
|
||||
private string workingPalletId;
|
||||
private string workingPalletCode;
|
||||
private string workingPalletDesc;
|
||||
private string workingStatus;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletId
|
||||
{
|
||||
get { return this.workingPalletId; }
|
||||
set { this.workingPalletId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletDesc
|
||||
{
|
||||
get { return this.workingPalletDesc; }
|
||||
set { this.workingPalletDesc = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingStatus
|
||||
{
|
||||
get { return this.workingStatus; }
|
||||
set { this.workingStatus = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,138 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDtl : BaseModel
|
||||
{
|
||||
|
||||
private string workingPalletDtlId;
|
||||
private string workingPalletCode;
|
||||
private string irCode;
|
||||
private string sheetTypeCode;
|
||||
private DateTime inputTime;
|
||||
private string cleanModeCode;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationDtlCode;
|
||||
private int currentNumber;
|
||||
private int operateUserId;
|
||||
private DateTime operateUserTime;
|
||||
private int workingDtlStatus;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletDtlId
|
||||
{
|
||||
get { return this.workingPalletDtlId; }
|
||||
set { this.workingPalletDtlId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string IrCode
|
||||
{
|
||||
get { return this.irCode; }
|
||||
set { this.irCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeCode
|
||||
{
|
||||
get { return this.sheetTypeCode; }
|
||||
set { this.sheetTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime InputTime
|
||||
{
|
||||
get { return this.inputTime; }
|
||||
set { this.inputTime = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlCode
|
||||
{
|
||||
get { return this.contaminationDtlCode; }
|
||||
set { this.contaminationDtlCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CurrentNumber
|
||||
{
|
||||
get { return this.currentNumber; }
|
||||
set { this.currentNumber = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperateUserId
|
||||
{
|
||||
get { return this.operateUserId; }
|
||||
set { this.operateUserId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateUserTime
|
||||
{
|
||||
get { return this.operateUserTime; }
|
||||
set { this.operateUserTime = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingDtlStatus
|
||||
{
|
||||
get { return this.workingDtlStatus; }
|
||||
set { this.workingDtlStatus = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
159
CleanMachine.Model/ZBK/WorkingPallet.cs
Normal file
159
CleanMachine.Model/ZBK/WorkingPallet.cs
Normal file
@@ -0,0 +1,159 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\ZBK\\WorkingPallet"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPallet
|
||||
{
|
||||
|
||||
private int workingPalletId;
|
||||
private string workingPalletCode;
|
||||
private string workingPalletDesc;
|
||||
private int workingStatus;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingPalletId
|
||||
{
|
||||
get { return this.workingPalletId; }
|
||||
set { this.workingPalletId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletDesc
|
||||
{
|
||||
get { return this.workingPalletDesc; }
|
||||
set { this.workingPalletDesc=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingStatus
|
||||
{
|
||||
get { return this.workingStatus; }
|
||||
set { this.workingStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
239
CleanMachine.Model/ZBK/WorkingPalletDtl.cs
Normal file
239
CleanMachine.Model/ZBK/WorkingPalletDtl.cs
Normal file
@@ -0,0 +1,239 @@
|
||||
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"Model\\ZBK\\WorkingPalletDtl"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
namespace CleanMachine.Model.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDtl
|
||||
{
|
||||
|
||||
private int workingPalletDtlId;
|
||||
private string workingPalletCode;
|
||||
private string irCode;
|
||||
private string sheetTypeCode;
|
||||
private DateTime inputTime;
|
||||
private string cleanModeCode;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationDtlCode;
|
||||
private int currentNumber;
|
||||
private int operateUserId;
|
||||
private DateTime operateUserTime;
|
||||
private int workingDtlStatus;
|
||||
private int createBy;
|
||||
private DateTime createTime;
|
||||
private int updateBy;
|
||||
private DateTime updateTime;
|
||||
private int dataVersion;
|
||||
private string remarks1;
|
||||
private string remarks2;
|
||||
private string remarks3;
|
||||
private string remarks4;
|
||||
private string remarks5;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingPalletDtlId
|
||||
{
|
||||
get { return this.workingPalletDtlId; }
|
||||
set { this.workingPalletDtlId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string IrCode
|
||||
{
|
||||
get { return this.irCode; }
|
||||
set { this.irCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeCode
|
||||
{
|
||||
get { return this.sheetTypeCode; }
|
||||
set { this.sheetTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime InputTime
|
||||
{
|
||||
get { return this.inputTime; }
|
||||
set { this.inputTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlCode
|
||||
{
|
||||
get { return this.contaminationDtlCode; }
|
||||
set { this.contaminationDtlCode=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CurrentNumber
|
||||
{
|
||||
get { return this.currentNumber; }
|
||||
set { this.currentNumber=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperateUserId
|
||||
{
|
||||
get { return this.operateUserId; }
|
||||
set { this.operateUserId=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateUserTime
|
||||
{
|
||||
get { return this.operateUserTime; }
|
||||
set { this.operateUserTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingDtlStatus
|
||||
{
|
||||
get { return this.workingDtlStatus; }
|
||||
set { this.workingDtlStatus=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CreateBy
|
||||
{
|
||||
get { return this.createBy; }
|
||||
set { this.createBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return this.createTime; }
|
||||
set { this.createTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int UpdateBy
|
||||
{
|
||||
get { return this.updateBy; }
|
||||
set { this.updateBy=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime UpdateTime
|
||||
{
|
||||
get { return this.updateTime; }
|
||||
set { this.updateTime=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int DataVersion
|
||||
{
|
||||
get { return this.dataVersion; }
|
||||
set { this.dataVersion=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks1
|
||||
{
|
||||
get { return this.remarks1; }
|
||||
set { this.remarks1=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks2
|
||||
{
|
||||
get { return this.remarks2; }
|
||||
set { this.remarks2=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks3
|
||||
{
|
||||
get { return this.remarks3; }
|
||||
set { this.remarks3=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks4
|
||||
{
|
||||
get { return this.remarks4; }
|
||||
set { this.remarks4=value;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Remarks5
|
||||
{
|
||||
get { return this.remarks5; }
|
||||
set { this.remarks5=value;}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ZbkWorkingPallet:BaseModel
|
||||
{
|
||||
|
||||
private string workingPalletId;
|
||||
private string workingPalletCode;
|
||||
private string workingPalletDesc;
|
||||
private int workingStatus;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletId
|
||||
{
|
||||
get { return this.workingPalletId; }
|
||||
set { this.workingPalletId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletDesc
|
||||
{
|
||||
get { return this.workingPalletDesc; }
|
||||
set { this.workingPalletDesc = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingStatus
|
||||
{
|
||||
get { return this.workingStatus; }
|
||||
set { this.workingStatus = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,137 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CleanMachine.Model
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class ZbkWorkingPalletDtl : BaseModel
|
||||
{
|
||||
|
||||
private string workingPalletDtlId;
|
||||
private string workingPalletCode;
|
||||
private string irCode;
|
||||
private string sheetTypeCode;
|
||||
private DateTime inputTime;
|
||||
private string cleanModeCode;
|
||||
private string contaminationTypeCode;
|
||||
private string contaminationDtlCode;
|
||||
private int currentNumber;
|
||||
private int operateUserId;
|
||||
private DateTime operateUserTime;
|
||||
private int workingDtlStatus;
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletDtlId
|
||||
{
|
||||
get { return this.workingPalletDtlId; }
|
||||
set { this.workingPalletDtlId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string WorkingPalletCode
|
||||
{
|
||||
get { return this.workingPalletCode; }
|
||||
set { this.workingPalletCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string IrCode
|
||||
{
|
||||
get { return this.irCode; }
|
||||
set { this.irCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SheetTypeCode
|
||||
{
|
||||
get { return this.sheetTypeCode; }
|
||||
set { this.sheetTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime InputTime
|
||||
{
|
||||
get { return this.inputTime; }
|
||||
set { this.inputTime = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string CleanModeCode
|
||||
{
|
||||
get { return this.cleanModeCode; }
|
||||
set { this.cleanModeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationTypeCode
|
||||
{
|
||||
get { return this.contaminationTypeCode; }
|
||||
set { this.contaminationTypeCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ContaminationDtlCode
|
||||
{
|
||||
get { return this.contaminationDtlCode; }
|
||||
set { this.contaminationDtlCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int CurrentNumber
|
||||
{
|
||||
get { return this.currentNumber; }
|
||||
set { this.currentNumber = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int OperateUserId
|
||||
{
|
||||
get { return this.operateUserId; }
|
||||
set { this.operateUserId = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime OperateUserTime
|
||||
{
|
||||
get { return this.operateUserTime; }
|
||||
set { this.operateUserTime = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public int WorkingDtlStatus
|
||||
{
|
||||
get { return this.workingDtlStatus; }
|
||||
set { this.workingDtlStatus = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -51,8 +51,9 @@ namespace CleanMachineHMI
|
||||
return;
|
||||
}
|
||||
|
||||
var sql = $@"SELECT A.USER_ID,A.USER_CODE,A.USER_NAME,A.SCHEDULE_CODE,A.USED_FLAG,A.DEL_FLAG,A.PASSWORD,B.ROLE_ID,B.ROLE_GRADE FROM SYS_USER A LEFT JOIN SYS_ROLE B ON A.ROLE_ID = B.ROLE_ID WHERE A.USER_CODE= '{txtAccount.Text}'";
|
||||
// var sql = $@"SELECT A.USER_ID,A.USER_CODE,A.USER_NAME,A.SCHEDULE_CODE,A.USED_FLAG,A.DEL_FLAG,A.PASSWORD,B.ROLE_ID,B.ROLE_GRADE FROM SYS_USER A LEFT JOIN SYS_ROLE B ON A.ROLE_ID = B.ROLE_ID WHERE A.USER_CODE= '{txtAccount.Text}'";
|
||||
DataTable dt = LeadDbHelperSQLite.Query(sql).Tables[0];
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
var data = dt.Rows[0];
|
||||
|
||||
Reference in New Issue
Block a user