Esempio n. 1
0
 public UsbConnection(S5Pc100UsbConnection Connection, IProgressControllerFactory ProgressControllerFactory,
                      int BlockSize = int.MaxValue)
 {
     _connection = Connection;
     _blockSize = BlockSize;
     _progressControllerFactory = ProgressControllerFactory;
 }
Esempio n. 2
0
 public BurningService(IBurningReceiptsCatalog BurningReceiptsCatalog, IExceptionService ExceptionService,
                       IProgressControllerFactory ProgressControllerFactory, IEventAggregator EventAggregator)
 {
     _burningReceiptsCatalog = BurningReceiptsCatalog;
     _exceptionService = ExceptionService;
     _progressControllerFactory = ProgressControllerFactory;
     _burningStartedEvent = EventAggregator.GetEvent<BurningStartedEvent>();
 }
 public AvrDudeBurningToolFactory(IToolLauncher ToolLauncher, IAvrDudeChipPseudonameProvider ChipPseudonameProvider,
                                  IProgressControllerFactory ProgressControllerFactory, IToolBodyFactory ToolBodyFactory)
 {
     _toolLauncher = ToolLauncher;
     _chipPseudonameProvider = ChipPseudonameProvider;
     _progressControllerFactory = ProgressControllerFactory;
     _toolBodyFactory = ToolBodyFactory;
 }
 public AvrDudeBurningTool(string ChipPseudoname, IToolBody ToolBody, IToolLauncher ToolLauncher, IProgressControllerFactory ProgressControllerFactory,
                           ProgrammerType ProgrammerKind)
 {
     _toolBody = ToolBody;
     _toolLauncher = ToolLauncher;
     _progressControllerFactory = ProgressControllerFactory;
     _programmerKind = ProgrammerKind;
     _chipPseudoname = ChipPseudoname;
 }
Esempio n. 5
0
 public OperatingContext(ITerminal Terminal, RegexSurfer Surfer, UsbConnectionFactory Usb, IProgressControllerFactory ProgressControllerFactory,
                         int BlockSize)
 {
     this.BlockSize = BlockSize;
     this.ProgressControllerFactory = ProgressControllerFactory;
     this.Usb = Usb;
     this.Terminal = Terminal;
     this.Surfer = Surfer;
     State = ProgrammingContextState.Unknown;
     NandSize = ulong.MaxValue;
 }
 public AvrOverAvrDudeArmUsbTinyBurningToolFacadeFactory(IIndexHelper IndexHelper, IToolLauncher ToolLauncher,
                                                         IProgressControllerFactory ProgressControllerFactory,
                                                         IAvrDudeChipPseudonameProvider ChipPseudonameProvider,
                                                         UnichannelKindProvider UnichannelKindProvider)
     : base(ToolLauncher, ProgressControllerFactory, ChipPseudonameProvider, UnichannelKindProvider,
            ProgrammerType.ArmUsbTinyH,
            new Dictionary<int, ProgrammerType>
            {
                { 1, ProgrammerType.ArmUsbTinyHChannel1 },
                { 2, ProgrammerType.ArmUsbTinyHChannel2 },
            })
 {
 }
 public CortexOverOlimexToolFacadeFactory(OpenOcdToolFactory OpenOcdToolFactory, IOcdBurningParametersProvider OcdBurningParametersProvider,
                                          IProgressControllerFactory ProgressControllerFactory)
     : base("Olimex", OpenOcdToolFactory, OcdBurningParametersProvider, ProgressControllerFactory)
 {
 }
 public UsbConnectionFactory(IProgressControllerFactory ProgressControllerFactory)
 {
     _progressControllerFactory = ProgressControllerFactory;
 }