@@ -0,0 +1,785 @@
+package com.neucrack.communication;%0A%0Aimport java.io.DataInputStream;%0A%0Apublic class ToDevices %7B%0A%0A%09static public boolean WaitSignIn(DataInputStream inStream)%7B%0A%09%09return false;%0A%09%7D%0A%09static public boolean LightControl(String device,boolean isOn)%7B%0A%09%09return isOn;%0A%09%7D%0A%09static public boolean CurtainControl(String device,boolean isOn)%7B%0A%09%09return isOn;%0A%09%7D%0A%09static public boolean DoorControl(String device,boolean isOn)%7B%0A%09%09return isOn;%0A%09%7D%0A%09static public boolean GetDoorStatus(String device,boolean isOn)%7B%0A%09%09return isOn;%0A%09%7D%0A%09%0A%09static public boolean GetLightStatus(String device,boolean isOn)%7B%0A%09%09return isOn;%0A%09%7D%0A%09static public boolean GetCurtainStatus(String device,boolean isOn)%7B%0A%09%09return isOn;%0A%09%7D%0A%09static public boolean GetSensorData(String device,int SensorName,int value)%7B%0A%09%09return false;%0A%09%7D%0A%09%0A%7D%0A

add communicate with Device interface