public void GenerateSMS() { string SMSsender = SenderOps.GenerateSender(); SMSMessage message = new SMSMessage(SMSsender, "Hello, It's " + SMSsender); SMSProvider.SendSMS(message); }
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); SMSProvider = new SMSProvider(); }