Presentation is loading. Please wait.

Presentation is loading. Please wait.

Implementing SmartThings App Visualization tool

Similar presentations


Presentation on theme: "Implementing SmartThings App Visualization tool"— Presentation transcript:

1 Implementing SmartThings App Visualization tool
10.12

2 Structure of tool Collect information of code
Make tree to show based on information

3 Collect information of code
Structure of tool Collect information of code Frist visit As a result, we get a information of preference and subscribe Whether there is a dynamic page or not SmartThings App code AST preference subscribe

4 If there is a dynamic page, visit again
Second visit As a result, we get a information of dynamicPage SmartThings App code AST preference subscribe AST dynamicPage

5 preferences Preferences Page Section input type : page type : section
title : “…” input type : input name : smoke capability : capability.smokeDetector name : starting capability : time . type : dynamicPage name : mainPage preferences

6 subscribe subscribe input : app handler : appTouchHandler
capability : default input : smoke handler : eventHandler capability : smoke.detected subscribe

7 dynamicPage Method Dynamic : true methodName : mainpage code level 1 2
type : page Section type : section title : “…” 1 input type : input name : smoke capability : capability.smokeDetector 2

8 Make tree to show based on information
Structure of tool Make tree to show based on information preference subscribe dynamicPage information

9 what is a good visualization of smartThings?
Detecting error Subscribe 정의되지 않은 input을 매개변수로 사용 정의되지 않은 handler를 매개변수로 사용 지원되지않은 capability를 매개변수로 정의 Empty dynamic page dynamicMethod에 dynamicpage가 존재하지 않은 경우 정의되지 않은 dynamicMethod를 호출하는 page Input working with devices 연결된 device에서 지원하지 않은 함수를 호출하는 경우

10 error error error Detecting error Subscribe 정의되 있지 않음 정의되 있지 않음
정의되지 않은 input을 매개변수로 사용 error 정의되 있지 않음 정의되지 않은 handler를 매개변수로 사용 error 정의되 있지 않음 지원되지않은 capability를 매개변수로 정의(이미 구현된 부분) error 지원되지 않는 기능

11 dynamicpage가 존재하지 않는다면 error
Detecting error Empty dynamic page dynamicMethod에 dynamicpage가 존재하지 않은 경우 dynamicpage가 존재하지 않는다면 error

12 Detecting error Empty dynamic page
정의되지 않은 dynamicMethod를 호출하는 dynamicpage 정의되지 않은 dynamicMethod를 호출하는 dynamicpage error

13 error Detecting error Input working with devices 지원되지 않는 기능

14 warning transforming what is a good visualization of smartThings?
Do not use dynamic method execution warning transforming

15 감사합니다 Thank you for listening


Download ppt "Implementing SmartThings App Visualization tool"

Similar presentations


Ads by Google