コード例 #1
0
 public CommAudioTempleAppService(IRepository <AudioPlaySet> paySetRepository,
                                  IRepository <AudioPlaySetTemple> paySetTempleRepository,
                                  IRepository <AudioHour> _audioHourRepository,
                                  IRepository <AudioMinite> _audioMiniteRepository,
                                  IRepository <AudioDigit> _audioDigitRepository,
                                  IRepository <AudioCity> _audioCityRepository,
                                  IRepository <AudioAirLine> _audioAirLineRepository,
                                  IRepository <AudioGate> _audioGateRepository,
                                  IRepository <AudioCheckIn> _audioCheckInRepository,
                                  IRepository <AudioTurnPlate> _audioTurnPlateRepository,
                                  IRepository <AudioReason> _audioReasonRepository,
                                  IRepository <CommAudioFileName, long> _commAudioFileNameRepository,
                                  IPlayAudioHub hub,
                                  IWavCombine _wavCombine)
 {
     this.paySetRepository          = paySetRepository;
     this.paySetTempleRepository    = paySetTempleRepository;
     this._audioHourRepository      = _audioHourRepository;
     this._audioMiniteRepository    = _audioMiniteRepository;
     this._audioDigitRepository     = _audioDigitRepository;
     this._audioCityRepository      = _audioCityRepository;
     this._audioAirLineRepository   = _audioAirLineRepository;
     this._audioGateRepository      = _audioGateRepository;
     this._audioCheckInRepository   = _audioCheckInRepository;
     this._audioTurnPlateRepository = _audioTurnPlateRepository;
     this._audioReasonRepository    = _audioReasonRepository;
     this._wavCombine = _wavCombine;
     this._commAudioFileNameRepository = _commAudioFileNameRepository;
     this.hub = hub;
 }
コード例 #2
0
 public ActiveMQListener(IRepository <ReceiveJson, long> detailRepository,
                         IRepository <AirshowData, long> airshowDataRepository,
                         IPlayAudioHub hub,
                         IWavCombine _wavCombine,
                         ISqlExecuter sqlExecuter,
                         IRepository <PlayAudioLog, long> _logRepository,
                         IRepository <CommAudioFileName, long> _commAudioFileNameRepository,
                         ICommAudioTempleAppService _play,
                         ILogger logger
                         )
 {
     this.detailRepository             = detailRepository;
     this.airshowDataRepository        = airshowDataRepository;
     this._commAudioFileNameRepository = _commAudioFileNameRepository;
     this.logger         = logger;
     this._play          = _play;
     this.hub            = hub;
     UUID                = Guid.NewGuid().ToString();
     this._logRepository = _logRepository;
     this._wavCombine    = _wavCombine;
     this._wavCombine.PlayStateCallback += _wavCombine_PlayStateCallback;
     this.sqlExecuter = sqlExecuter;
 }