コード例 #1
0
 public CalcDeviceFactory([NotNull] CalcLoadTypeDictionary loadTypeDictionary,
                          [NotNull] AvailabilityDtoRepository availabilityDtoRepository,
                          [NotNull] CalcVariableRepository calcVariableRepository, CalcRepo calcRepo)
 {
     _loadTypeDictionary        = loadTypeDictionary;
     _availabilityDtoRepository = availabilityDtoRepository;
     _calcVariableRepository    = calcVariableRepository;
     _calcRepo = calcRepo;
 }
コード例 #2
0
 public CalcAffordanceFactory([NotNull] CalcLoadTypeDictionary loadTypeDictionary,
                              [NotNull] AvailabilityDtoRepository availabilityDtoRepository,
                              CalcRepo calcRepo
                              //[NotNull] CalcVariableDtoFactory variableRepository
                              )
 {
     _loadTypeDictionary        = loadTypeDictionary;
     _availabilityDtoRepository = availabilityDtoRepository;
     _calcRepo = calcRepo;
     //_variableRepository = variableRepository;
 }
コード例 #3
0
 public CalcHouseFactory([NotNull] CalcLoadTypeDictionary ltDict,
                         [NotNull] CalcModularHouseholdFactory cmhf,
                         [NotNull] AvailabilityDtoRepository availabilityDtoRepository,
                         [NotNull] CalcVariableRepository variableRepository,
                         [NotNull] CalcDeviceTaggingSets calcDeviceTaggingSets,
                         CalcRepo calcRepo)
 {
     _ltDict = ltDict;
     _cmhf   = cmhf;
     _availabilityDtoRepository = availabilityDtoRepository;
     _variableRepository        = variableRepository;
     _calcDeviceTaggingSets     = calcDeviceTaggingSets;
     _calcRepo = calcRepo;
 }
コード例 #4
0
 public CalcHouseDtoFactory([NotNull] CalcLoadTypeDtoDictionary ltDict,
                            [NotNull] Random random,
                            [NotNull] IDeviceCategoryPicker picker,
                            [NotNull] CalcParameters calcParameters,
                            [NotNull] CalcModularHouseholdDtoFactory hhDtoFactory,
                            [NotNull] AvailabilityDtoRepository availabilityDtoRepository,
                            [NotNull] CalcVariableDtoFactory calcVariableDtoFactory)
 {
     _ltDict                    = ltDict;
     _random                    = random;
     _picker                    = picker;
     _calcParameters            = calcParameters;
     _hhDtoFactory              = hhDtoFactory;
     _availabilityDtoRepository = availabilityDtoRepository;
     _calcVariableDtoFactory    = calcVariableDtoFactory;
 }