public void DataTransfer(object data) { IDataDeice dataDeice = UsbDevice as IDataDeice; if (dataDeice != null) { dataDeice.DataTransfer(data); } else { userInOut.WriteLine("Data transferring function is not available"); } }
public void PowerSupply(object data) { userInOut.WriteLine($"{nameof(Charger)} connected to USB, charging mobile device"); }
public void Show(IScreenImage image, IScreenProfile profile) { userInOut.WriteLine("Image on " + Type + " display with brightness " + profile.Brightness + ", and contrast " + profile.Contrast + "\n"); }
public void Play(object data) { userInOut.WriteLine($"{nameof(HeadsetIPhone)} sound"); }
public void Play(object data) { userInOut.WriteLine($"{nameof(NoNameHeadset)} sound"); }
public void PowerSupply(object data) { userInOut.WriteLine($"{nameof(UsbDisplay)} connected to USB, consuming power"); }
public override void ParseInput(IUserInput userInput) { userInOut.WriteLine("User input on multi touch panel\n"); }
public void Play(object data) { userInOut.WriteLine($"{nameof(SamsungHeadphones)} sound"); }
public void TransmitPackage(ICellularPackage package) { userInOut.WriteLine("Transmit " + package.PackageType + " package\n"); }
public override void ParseInput(IUserInput userInput) { userInOut.WriteLine("User input on keyboard\n"); }
public void PowerSupply(IPowerProfile powerProfile) { userInOut.WriteLine("Power supplying with voltage " + powerProfile.Voltage + ", and currency " + powerProfile.OutputCurrency + "\n"); }
public void TransmitSound(ISound sound) { userInOut.WriteLine("Transmit sound with Bit Rate " + sound.BitRate + ", and Pitch " + sound.Pitch + "\n"); }
public void PowerSupply(object data) { userInOut.WriteLine($"{nameof(FlashLight)} connected to USB, consuming power"); }
public void PlaySound(ISound sound) { userInOut.WriteLine("Playing sound with Bit Rate " + sound.BitRate + ", and Pitch " + sound.Pitch + "\n"); }
public void Play(object data) { userInOut.WriteLine($"{nameof(PortableSpeaker)} sound, Volume " + Volume); }
public void Show(IScreenImage image) { userInOut.WriteLine("Image on " + Type + " display\n"); }