示例#1
0
        //删除opc内容
        // OPC opc = new OPC();
        // List<OpcHelperItem> opcItemList = new List<OpcHelperItem>();

        public HomeController(ISB_UserServices userser, IRE_SysRoleUserServices sysser, IRE_SysRolePageServices syspageser,
                              ISB_PageServices pser, ISB_SysRoleServices sroleser, IAP_Factory_RealServices factoryser,
                              IPG_Area_RealServices areaser, IBB_InstrumentServices InstrumentSer, IBB_ThresholdServices thresholdser, ISB_WarnLogServices warnlogser,
                              IAP_Factory_HistoryServices factory_hisser, IAP_Factory_StatisticsServices factory_staticser,
                              IAP_Station_RealServices station_realser, IAP_Centrifuge_RealServices centri_realser,
                              IAP_Centrifuge_StatisticsServices centri_staticser, IAP_Station_HistoryServices stahisser,
                              IPG_Area_HistoryServices areahisser, IAP_Centrifuge_HistoryServices cenhisser, IOpcHelperItemServices opcHelperItemSer,
                              IUPIEnergyServices upienergyser)
        {
            userSer               = userser;
            sysroleuserSer        = sysser;
            sysrolepageSer        = syspageser;
            pageSer               = pser;
            sysroleSer            = sroleser;
            instrumentSer         = InstrumentSer;
            thresholdSer          = thresholdser;
            warnlogSer            = warnlogser;
            factory_realSer       = factoryser;
            factory_hisSer        = factory_hisser;
            factory_staticSer     = factory_staticser;
            station_realSer       = station_realser;
            centri_realSer        = centri_realser;
            centri_staticSer      = centri_staticser;
            area_realSer          = areaser;
            stahisSer             = stahisser;
            areahisSer            = areahisser;
            cenhisSer             = cenhisser;
            opcHelperItemServices = opcHelperItemSer;
            upienergySer          = upienergyser;
        }
示例#2
0
 public OperatingController(ISB_OperateHistoryServices Operathisser, ISB_PageServices PageSer, ISB_ClientServices ClientSer,
                            IBB_InstrumentServices InstrumentSer, IBB_StationServices stationser, IBB_AreaServices areaser, IBB_FactoryServices factoryser)
 {
     operathisSer  = Operathisser;
     pageSer       = PageSer;
     clientSer     = ClientSer;
     instrumentSer = InstrumentSer;
     stationSer    = stationser;
     areaSer       = areaser;
     factorySer    = factoryser;
 }