IOT
![[Java Study] 간단한 IoT 구현하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbrZ2p9%2FbtrFhBVoNKn%2FyCm1BK0PPeB3ZU5D6liK81%2Fimg.png)
[Java Study] 간단한 IoT 구현하기
import org.opentutorials.iot.Elevator; import org.opentutorials.iot.Lighting; import org.opentutorials.iot.Security; public class OkJavaGoingHome { public static void main(String[] args){ String id = "JAVA APT 507"; // Elevator call Elevator myElevator = new Elevator(id); myElevator.callForUp(1); // Security off Security mySecurity = new Security(id); mySecurity.off(); //Light on Lighting hallLa..