/// <summary> /// Creates an instance of the <see cref = "Device" /> class. /// </summary> /// <param name = "phccDevice"><see cref="Phcc.Device"/> object which will be used to communicate with DOA peripherals</param> /// <param name = "address">Specifies the address of the Fuel Flow device on the PHCC DOA bus.</param> public Device(Phcc.Device phccDevice, byte address) : this() { Address = address; PhccDevice = phccDevice; _commandDispatcher = new PhccCommandDispatcher(phccDevice, address); }
public PhccCommandDispatcher(Phcc.Device phccDevice, byte address) { _phccDevice = phccDevice; _address = address; }