/// <summary>
 /// 区域点位
 /// </summary>
 public EventTypeController(IEventTypeDAL eventType, ICommonDAL commonDAL) : base(commonDAL)
 {
     _eventTypeDAL = eventType;
 }
Beispiel #2
0
 public PointAreaController(ICommonDAL commonDAL, IPointAreaInfoDAL pointAreaInfoDAL) : base(commonDAL)
 {
     _pointAreaInfoDAL = pointAreaInfoDAL;
 }
Beispiel #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="pipeDAL"></param>
 /// <param name="commonDAL"></param>
 public PipeController(IPipeDAL pipeDAL, ICommonDAL commonDAL) : base(commonDAL)
 {
     _pipeDAL = pipeDAL;
 }
 public EventStatusController(ICommonDAL commonDAL, IEventStatusDAL eventStatusDAL) : base(commonDAL)
 {
     _eventStatusDAL = eventStatusDAL;
 }
Beispiel #5
0
 public PlanLineController(ICommonDAL commonDAL, IPlanLineDAL planLineDAL) : base(commonDAL)
 {
     _planLineDAL = planLineDAL;
 }
Beispiel #6
0
 public HomeController(IP_AdminDAL p_AdminDAL, ICommonDAL commonDAL) : base(commonDAL)
 {
     _p_AdminDAL = p_AdminDAL;
 }
 public UserController(ICommonDAL commonDAL, IMonitorDAL monitorDAL) : base(commonDAL)
 {
     _monitorDAL = monitorDAL;
 }
 public EventManageController(ICommonDAL commonDAL, IEventManageDAL eventManage) : base(commonDAL)
 {
     _eventManage = eventManage;
 }
Beispiel #9
0
 public CommonBL()
 {
     CommonDAL = new CommonDAL();
 }
Beispiel #10
0
 /// <summary>
 /// 区域管理
 /// </summary>
 public PlanAreaController(IPlanAreaDAL planAre, ICommonDAL commonDAL) : base(commonDAL)
 {
     _planAreaDAL = planAre;
 }
Beispiel #11
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="pipeDAL"></param>
        /// <param name="commonDAL"></param>

        public SpatialSearchController(IPipeDAL pipeDAL, ICommonDAL commonDAL, IPOIDAL pOIDAL) : base(commonDAL)
        {
            _pipeDAL = pipeDAL;
            _pOIDAL  = pOIDAL;
        }
Beispiel #12
0
 //调用父类构造函数
 public Sys_UserBLL(IMapper mapper, ICommonDAL <Sys_User> CommonDAL) : base(mapper, CommonDAL)
 {
 }
Beispiel #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonBAL"/> class.
 /// </summary>
 public CommonBAL()
 {
     DAL = new CommonDAL();
 }
Beispiel #14
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="commonDAL"></param>
 /// <param name="eventFrom"></param>
 public EventFromController(ICommonDAL commonDAL, IEventFromDAL eventFrom) : base(commonDAL)
 {
     _eventFrom = eventFrom;
 }
Beispiel #15
0
        //public BaseBll(CommonDAL<TEntity> Dal)
        //{
        //    DAL = Dal;//依赖注入,通过构造函数上层传入实例
        //}

        //public BaseBll(IMapper mapper)
        //{
        //    Mapper = mapper;//依赖注入,通过构造函数上层传入实例
        //}

        public BaseBll(IMapper mapper, ICommonDAL <TEntity> CommonDAL)
        {
            Mapper = mapper;    //依赖注入,通过构造函数上层传入实例
            DAL    = CommonDAL; //依赖注入,通过构造函数上层传入实例
        }
 /// <summary>
 /// BaseController构造函数
 /// </summary>
 /// <param name="commonDAL"></param>
 public BaseApiController(ICommonDAL commonDAL)
 {
     CommonDAL = commonDAL;
 }
 /// <summary>
 /// 区域点位
 /// </summary>
 public EventContentController(IEventContentDAL eventContentDAL, IEventTypeDAL eventTypeDAL, ICommonDAL commonDAL) : base(commonDAL)
 {
     _eventContentDAL = eventContentDAL;
     _eventTypeDAL    = eventTypeDAL;
 }
Beispiel #18
0
 public SystemController(ICommonDAL commonDAL, IP_AdminDAL p_AdminDAL) : base(commonDAL)
 {
     _p_AdminDAL = p_AdminDAL;
 }
Beispiel #19
0
 public FunPurviewController(IP_FunPurviewDAL p_FunPurviewDAL, ICommonDAL commonDAL) : base(commonDAL)
 {
     _p_FunPurviewDAL = p_FunPurviewDAL;
 }
Beispiel #20
0
 //调用父类构造函数
 public Sys_MenuBLL(IMapper mapper, ICommonDAL <Sys_Menu> CommonDAL) : base(mapper, CommonDAL)
 {
 }
Beispiel #21
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="commonDAL"></param>
 /// <param name="eventStart"></param>
 public EventStartForMaintainController(ICommonDAL commonDAL, IEventStartForMaintainDAL eventStart) : base(commonDAL)
 {
     _eventStart = eventStart;
 }