public R_CallService(IR_CallRepository _Repository, IRCallCacheService _RCallCacheService, IR_PhjService _R_PhjService, IR_PersoninfService _R_PersoninfService, IPersonPointDefineService _PersonPointDefineService) { this._Repository = _Repository; this._RCallCacheService = _RCallCacheService; this._R_PhjService = _R_PhjService; this._R_PersoninfService = _R_PersoninfService; this._PersonPointDefineService = _PersonPointDefineService; }
static KJ237CacheHelper() { rPRealCacheService = ServiceFactory.Create <IRPRealCacheService>(); r_PhjService = ServiceFactory.Create <IR_PhjService>(); r_PhistoryService = ServiceFactory.Create <IR_PhistoryService>(); rsyncLocalCacheService = ServiceFactory.Create <IRsyncLocalCacheService>(); personPointDefineService = ServiceFactory.Create <IPersonPointDefineService>(); rPersoninfCacheService = ServiceFactory.Create <IRPersoninfCacheService>(); r_PersoninfRepository = ServiceFactory.Create <IR_PersoninfRepository>(); rUndefinedDefCacheService = ServiceFactory.Create <IRUndefinedDefCacheService>(); pointDefineService = ServiceFactory.Create <IPointDefineService>(); alarmCacheService = ServiceFactory.Create <IAlarmCacheService>(); alarmRecordRepository = ServiceFactory.Create <IAlarmRecordRepository>(); alarmTodbService = ServiceFactory.Create <IInsertToDbService <Jc_BInfo> >(); phjTodbService = ServiceFactory.Create <IInsertToDbService <R_PhjInfo> >(); phistoryTodbService = ServiceFactory.Create <IInsertToDbService <R_PhistoryInfo> >(); r_PBCacheService = ServiceFactory.Create <IR_PBCacheService>(); areaCacheService = ServiceFactory.Create <IAreaCacheService>(); r_PbService = ServiceFactory.Create <IInsertToDbService <R_PbInfo> >(); r_CallService = ServiceFactory.Create <IR_CallService>(); r_KqbcService = ServiceFactory.Create <IR_KqbcService>(); }
private R_CallModel() { _R_CallService = ServiceFactory.Create <IR_CallService>(); _R_PhjService = ServiceFactory.Create <IR_PhjService>(); }