Esempio n. 1
0
 public DeviceLogController(IDeviceLogService dls, IDeviceService ds, IRoleProjectService rs, IConfiguration config)
 {
     this._dls    = dls;
     this._ds     = ds;
     this._rs     = rs;
     this._config = config;
 }
Esempio n. 2
0
 /// <summary>
 /// 角色的项目权限
 /// </summary>
 public RoleProjectController(IRoleService rs, IProjectService ps, IRoleProjectService rps, IConfiguration config)
 {
     this._rs     = rs;
     this._ps     = ps;
     this._rps    = rps;
     this._config = config;
 }
Esempio n. 3
0
 public WarnController(IWarnService ws, IProjectService ps, IConfiguration config, IRoleProjectService rp, IDeviceService ds)
 {
     this._ws     = ws;
     this._ps     = ps;
     this._config = config;
     this._rp     = rp;
     this._ds     = ds;
 }
 public DeviceStatisticsDataController(IDeviceStatistcsDataService dsd, IGroupService gs, IProjectService ps, IDeviceService ds, IConfiguration config, IRoleProjectService rps)
 {
     this._dsd    = dsd;
     this._gs     = gs;
     this._ps     = ps;
     this._ds     = ds;
     this._config = config;
     this._rps    = rps;
 }
Esempio n. 5
0
 public ProjectImageController(ILogger <ProjectImageController> log, IProjectImageService pis, IConfiguration config, IWebHostEnvironment webHostEnvironment, IProjectService ps, IRoleProjectService rps)
 {
     this._log                = log;
     this._pis                = pis;
     this._config             = config;
     this._webHostEnvironment = webHostEnvironment;
     this._ps  = ps;
     this._rps = rps;
 }
Esempio n. 6
0
 public ProjectController(ILogger <ProjectController> log, IProjectService ps, IConfiguration config, IUserService us, IRoleProjectService rp, IGroupService gs)
 {
     this._log    = log;
     this._ps     = ps;
     this._config = config;
     this._us     = us;
     this._rp     = rp;
     this._gs     = gs;
 }
Esempio n. 7
0
        //获取设备时附带设备的图片、设备工艺图等信息,设备列表只返回设备的基本信息

        //注入项目用来验证项目是否存在,角色项目验证是否有权限操作,类型用来验证类型信息,组织用来验证组织信息
        public DeviceController(ILogger <DeviceController> log, IDeviceService ds, IProjectService ps, ITypeService ts, IGroupService gs, IConfiguration config, IRoleProjectService rp, IWebHostEnvironment webHostEnvironment)
        {
            this._log                = log;
            this._ds                 = ds;
            this._ps                 = ps;
            this._ts                 = ts;
            this._gs                 = gs;
            this._config             = config;
            this._rp                 = rp;
            this._webHostEnvironment = webHostEnvironment;
        }
Esempio n. 8
0
 //验证设备是否存在,并验证是否有权限对设备进行编辑
 public DeviceActionFilterAttribute(IDeviceService ds, IRoleProjectService rps, IConfiguration config)
 {
     this._ds     = ds;
     this._rps    = rps;
     this._config = config;
 }