1234567891011121314151617181920212223242526272829303132333435 |
- using ProjectBase.Data.BaseDAL;
- using SIMDP.DAL.IDALSQL;
- using SIMDP.Model;
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SIMDP.BLL
- {
- public class BlSystemParameter : BaseBLL<MoSystemParameter>
- {
- private IDalSystemParameter dalSystemParamter;
- /// <summary>
- /// 构造函数
- /// </summary>
- public BlSystemParameter() : base()
- {
- base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name);
- dalSystemParamter = baseDal as IDalSystemParameter;
- dalSystemParamter.OnOperationLog += new OperationLogEventHandler(BlLogOperation.OnOperationLog);
- }
- //public DataTable GetVarName()
- //{
- // string sql = "SELECT b.parameter_name as name, b.parameter_type as type from system_parameter b UNION SELECT (CONVERT(VARCHAR, c.data_point_group_id) +'_' + c.data_point_name) as name, c.data_point_type as type from data_point c";
- // DataTable dt = dalSystemParamter.SqlTable(sql);
- // return dt;
- //}
- }
- }
|