public SimCorpMobile(IOutput output) { Output = output; vModelName = "SimCorp Mobile"; vBattery = new LiIonBattery(3000, 1500); vSpeaker = new StereoSpeakerSystem(new RealSpeaker(2), new RealSpeaker(2), 40, this.Output); vSpeakerName = nameof(StereoSpeakerSystem); vKeyBoard = new TouchScreenKeyboard(); vMicrophone = new MobileMicrophone(); vSimCard = new DualSimCardSlot(SimCardTypes.MicroSimCard, SimCardTypes.NanoSimCard); vScreen = new OLEDScreen(1280, 720, 280); vMainCamera = new VideoCamera("Main", 13, true, true); vFrontalCamera = new VideoCamera("Frontal", 5, true, true); vCallStor = new CallStorage(); Contact contact1 = new Contact("Taras", new List <string> { "0633333333", "0966666666" }); Contact contact2 = new Contact("Jeeves", "0674612131"); Contact contact3 = new Contact("Wooster", "0503322189"); vContactStor = new ContactStorage(new List <Contact> { contact1, contact2, contact3 }); CallGen = new CallGenerator(vContactStor); CallGen.CallReceived += OnCallReceived; }
public SimCorpMobile(IOutput output) { Output = output; vModelName = "SimCorp Mobile"; vBattery = new LiIonBattery(3000); vSpeaker = new StereoSpeakerSystem(new RealSpeaker(2), new RealSpeaker(2), 40, this.Output); vSpeakerName = nameof(StereoSpeakerSystem); vKeyBoard = new TouchScreenKeyboard(); vMicrophone = new MobileMicrophone(); vSimCard = new DualSimCardSlot(SimCardTypes.MicroSimCard, SimCardTypes.NanoSimCard); vScreen = new OLEDScreen(1280, 720, 280); vMainCamera = new VideoCamera("Main", 13, true, true); vFrontalCamera = new VideoCamera("Frontal", 5, true, true); }