17
UbiQ Scenario Manager User Manual
Chapter 2
G
etting
Started
Choose the folder and specify the filename for scenario configuration file.
On the scenario configuration area, there are two basic elements needed to explain:
one is button and the other is script. There are seven buttons physically on the UbiQ-
230, so we need to define display interface and control flow after press these buttons.
Control flow is set according to button style and action script. Display interface is
defined by UI script.
“Scenario Layout” is the root node for scenario configuration. It has several
scripts and seven sub-button needed to be configured.
“UI Script” page is used to define display area. For example, in the “Scenario
Layout” root node will add following scripts on “UI Script” page:
//LoadBMP(0,0,0,240,320,"main\\page1.bmp");
LoadBMP(0,0,0,240,64,"main\\goodmorning.jpg");
LoadBMP(1,0,64,240,64,"main\\video.jpg");
LoadBMP(2,0,128,240,64,"main\\dinning.jpg");
LoadBMP(3,0,192,240,64,"main\\goodnight.jpg");
LoadBMP(4,0,256,240,64,"main\\more.jpg");
“Notify Script” page is used to detect some events happened and notify some actions
by script.
Summary of Contents for UbiQ
Page 1: ...User Manual UbiQ Scenario Manager User Manual V1 03...
Page 4: ...UbiQ Scenario Manager User Manual iv...
Page 7: ...Chapter 1 1 Introduction...
Page 13: ...Chapter 2 2 Getting Started...
Page 37: ...Chapter 3 3 Tutorials...
Page 47: ...Chapter 4 4 Basic of Smart C Script Language...
Page 62: ...UbiQ Scenario Manager User Manual 56...