BlSystemParameter.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using ProjectBase.Data.BaseDAL;
  2. using SIMDP.DAL.IDALSQL;
  3. using SIMDP.Model;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Data;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace SIMDP.BLL
  11. {
  12. public class BlSystemParameter : BaseBLL<MoSystemParameter>
  13. {
  14. private IDalSystemParameter dalSystemParamter;
  15. /// <summary>
  16. /// 构造函数
  17. /// </summary>
  18. public BlSystemParameter() : base()
  19. {
  20. base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name);
  21. dalSystemParamter = baseDal as IDalSystemParameter;
  22. dalSystemParamter.OnOperationLog += new OperationLogEventHandler(BlLogOperation.OnOperationLog);
  23. }
  24. //public DataTable GetVarName()
  25. //{
  26. // 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";
  27. // DataTable dt = dalSystemParamter.SqlTable(sql);
  28. // return dt;
  29. //}
  30. }
  31. }