コード例 #1
0
 public DrivewayContext(IBaseRedisOperate <DrivewayModel> redisoperate, IBaseDataBaseOperate <DrivewayModel> databaseoperate, IBaseRedisOperate <DrivewayConnStatusModel> redisOperateDrivewayConnStatus)
 {
     _redisoperate                   = redisoperate;
     _databaseoperate                = databaseoperate;
     _extenredisoperate              = redisoperate as IExtenRedisOperate <DrivewayModel>;
     _extendatabaseoperate           = databaseoperate as IExtenDataBaseOperate <DrivewayModel>;
     _redisOperateDrivewayConnStatus = redisOperateDrivewayConnStatus;
 }
コード例 #2
0
ファイル: RoleManager.cs プロジェクト: 15338869637/4G
 public RoleManager(ILogger _logger, ISerializer _serializer,
                    IBaseRedisOperate <RolePermissionModel> _redisoperate,
                    IBaseDataBaseOperate <RolePermissionModel> _databaseoperate)
 {
     m_logger        = _logger;
     m_serializer    = _serializer;
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }
コード例 #3
0
ファイル: MenuManager.cs プロジェクト: 15338869637/4G
 public MenuManager(ILogger _logger, ISerializer _serializer,
                    IBaseRedisOperate <MenuModel> _redisoperate,
                    IBaseDataBaseOperate <MenuModel> _databaseoperate)
 {
     m_logger        = _logger;
     m_serializer    = _serializer;
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }
コード例 #4
0
ファイル: ParkLotContext.cs プロジェクト: 15338869637/4G
 public ParkLotContext(IBaseRedisOperate <ParkLotModel> _redisoperate, IBaseDataBaseOperate <ParkLotModel> _databaseoperate,
                       IBaseDataBaseOperate <AddRecordModel> _recorddatabaseoperate,
                       IBaseDataBaseOperate <CorrectCarnoModel> _carnoRecorddatabaseoperate)
 {
     redisoperate               = _redisoperate;
     databaseoperate            = _databaseoperate;
     recorddatabaseoperate      = _recorddatabaseoperate;
     carnoRecorddatabaseoperate = _carnoRecorddatabaseoperate;
 }
コード例 #5
0
        public GatherAccountManager(ILogger _logger, ISerializer _serializer, IBaseRedisOperate <GatherAccountModel> _redisoperate, IBaseDataBaseOperate <GatherAccountModel> _databaseoperate)
        {
            m_logger        = _logger;
            m_serializer    = _serializer;
            redisoperate    = _redisoperate;
            databaseoperate = _databaseoperate;

            //redisoperate = new GatherAccountRedisCache();
        }
コード例 #6
0
ファイル: CardServiceContext.cs プロジェクト: 15338869637/4G
 public CardServiceContext(IBaseRedisOperate <CardServiceModel> redisoperate, IServiceGetter getter)
 {
     _redisoperate                  = redisoperate;
     _monthCardDatabaseoperate      = getter.GetByName <IBaseDataBaseOperate <CardServiceModel> >("monthCard");
     _valueCardDatabaseoperate      = getter.GetByName <IBaseDataBaseOperate <CardServiceModel> >("valueCard");
     _tempCardDatabaseoperate       = getter.GetByName <IBaseDataBaseOperate <CardServiceModel> >("tempCard");
     _MonthCardExtendatabaseoperate = _monthCardDatabaseoperate as IExtenDataBaseOperate <CardServiceModel>;
     _ValueCardExtendatabaseoperate = _valueCardDatabaseoperate as IExtenDataBaseOperate <CardServiceModel>;
     _TempCardExtendatabaseoperate  = _tempCardDatabaseoperate as IExtenDataBaseOperate <CardServiceModel>;
 }
コード例 #7
0
ファイル: UserManager.cs プロジェクト: 15338869637/4G
 public UserManager(ILogger _logger, ISerializer _serializer,
                    IBaseRedisOperate <UserAccountModel> _redisoperate,
                    IBaseDataBaseOperate <UserAccountModel> _databaseoperate,
                    RoleManager roleManager)
 {
     m_logger        = _logger;
     m_serializer    = _serializer;
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
     _roleManager    = roleManager;
 }
コード例 #8
0
 public ParkLotManager(ILogger logger, ISerializer serializer, RabbitMQSender rabbitMQ,
                       RoleManager roleManager,
                       VoiceCommandManager voiceCommandManager,
                       CardServiceManager cardServiceManager,
                       IParkLotContext iParkLotContext,
                       IDrivewayContext iDrivewayContext,
                       ICarTypeContext iCarTypeContext,
                       IBillingTemplateContext iBillingTemplateContext,
                       IBlacklistContext iBlacklistContext,
                       ICarInOutContext iCarInOutContext,
                       ICityCodeContext iCityCodeContext,
                       IFunctionPointContext iFunctionPointContext,
                       IPermanentTemplateContext iPermanentTemplateContext,
                       IVehicleInOutContext iVehicleInOutContext,
                       ISpaceNumberContext iSpaceNumberContext,
                       IBaseDataBaseOperate <AddRecordModel> iAddRecorddatabaseoperate,
                       IBaseDataBaseOperate <CorrectCarnoModel> iAddCarnoRecorddatabaseoperate)
 {
     m_logger                        = logger;
     m_serializer                    = serializer;
     m_rabbitMQ                      = rabbitMQ;
     _roleManager                    = roleManager;
     _voiceCommandManager            = voiceCommandManager;
     _cardServiceManager             = cardServiceManager;
     _iParkLotContext                = iParkLotContext;
     _iDrivewayContext               = iDrivewayContext;
     _iCarTypeContext                = iCarTypeContext;
     _iBillingTemplateContext        = iBillingTemplateContext;
     _iBlacklistContext              = iBlacklistContext;
     _iCarInOutContext               = iCarInOutContext;
     _iCityCodeContext               = iCityCodeContext;
     _iFunctionPointContext          = iFunctionPointContext;
     _iPermanentTemplateContext      = iPermanentTemplateContext;
     _iVehicleInOutContext           = iVehicleInOutContext;
     _iSpaceNumberContext            = iSpaceNumberContext;
     _iAddRecorddatabaseoperate      = iAddRecorddatabaseoperate;
     _iAddCarnoRecorddatabaseoperate = iAddCarnoRecorddatabaseoperate;
 }
コード例 #9
0
 public ReportContext(IBaseDataBaseOperate <AddRecordModel> _recorddatabaseoperate,
                      IBaseDataBaseOperate <CorrectCarnoModel> _carnoRecorddatabaseoperate)
 {
     recorddatabaseoperate      = _recorddatabaseoperate;
     carnoRecorddatabaseoperate = _carnoRecorddatabaseoperate;
 }
コード例 #10
0
 public OpenGateReasonContext(IBaseDataBaseOperate <OpenGateReasonModel> _databaseoperate)
 {
     databaseoperate = _databaseoperate;
 }
コード例 #11
0
ファイル: APIAccessControl.cs プロジェクト: 15338869637/4G
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="enterpriseInfoContext"></param>
 /// <param name="logger">日志记录对象</param>
 /// <param name="toolContainer">公共工具类容器对象</param>
 public APIAccessControl(ILogger logger, IBaseRedisOperate <APIAccessModel> _redisoperate, IBaseDataBaseOperate <APIAccessModel> _databaseoperate)
 {
     Logger          = logger;
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }
コード例 #12
0
 public FunctionPointContext(IBaseRedisOperate <FunctionPointModel> _redisoperate, IBaseDataBaseOperate <FunctionPointModel> _databaseoperate)
 {
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }
コード例 #13
0
 public CarTypeContext(IBaseRedisOperate <CarTypeModel> _redisoperate, IBaseDataBaseOperate <CarTypeModel> _databaseoperate)
 {
     redisoperate         = _redisoperate;
     databaseoperate      = _databaseoperate;
     extendatabaseoperate = databaseoperate as IExtenDataBaseOperate <CarTypeModel>;
 }
コード例 #14
0
 public PermanentTemplateContext(IBaseRedisOperate <PermanentTemplateModel> _redisoperate, IBaseDataBaseOperate <PermanentTemplateModel> _databaseoperate)
 {
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }
コード例 #15
0
 public BillingTemplateContext(IBaseRedisOperate <BillingTemplateModel> _redisoperate, IBaseDataBaseOperate <BillingTemplateModel> _databaseoperate)
 {
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }
コード例 #16
0
ファイル: VoiceCommandContext.cs プロジェクト: 15338869637/4G
 public VoiceCommandContext(IBaseDataBaseOperate <VoiceCommandModel> _databaseoperate)
 {
     databaseoperate = _databaseoperate;
 }
コード例 #17
0
 public TrafficRestrictionContext(IBaseDataBaseOperate <TrafficRestrictionModel> _databaseoperate)
 {
     databaseoperate = _databaseoperate;
 }
コード例 #18
0
 public BlacklistContext(IBaseDataBaseOperate <BlacklistModel> _databaseoperate)
 {
     databaseoperate = _databaseoperate;
 }
コード例 #19
0
 public GatherAccountContext(IBaseRedisOperate <GatherAccountModel> _redisoperate, IBaseDataBaseOperate <GatherAccountModel> _databaseoperate)
 {
     redisoperate    = _redisoperate;
     databaseoperate = _databaseoperate;
 }