Пример #1
0
 ///<summary>
 /// Creates proxes to be used by this class only.
 /// </summary>
 private void CreateMyProxies()
 {
     motion = Proxies.GetProxy<MotionProxy>();
     battery = Proxies.GetProxy<BatteryProxy>();
     memory = Proxies.GetProxy<MemoryProxy>();
 }
Пример #2
0
 ///<summary>
 /// Creates proxes to be used by this class only.
 /// </summary>
 private void CreateMyProxies()
 {
     motion  = Proxies.GetProxy <MotionProxy>();
     battery = Proxies.GetProxy <BatteryProxy>();
     memory  = Proxies.GetProxy <MemoryProxy>();
 }
Пример #3
0
 public void sayName()
 {
     tts.say("Hallo ich bin Cocco");
     BatteryProxy battery = new BatteryProxy(ip, 9559);
     tts.say("Meine Batterie ist zu:" + battery.getBatteryCharge() + "Prozent geladen");
 }