1fb299fa2Sopenharmony_ci{
2fb299fa2Sopenharmony_ci    "screenWidth": 720,
3fb299fa2Sopenharmony_ci    "screenHeight": 1280,
4fb299fa2Sopenharmony_ci    "dir":"/resources/pages",
5fb299fa2Sopenharmony_ci    "pages":[
6fb299fa2Sopenharmony_ci        "menu.json",
7fb299fa2Sopenharmony_ci        "confirm.json",
8fb299fa2Sopenharmony_ci        "upd.json"
9fb299fa2Sopenharmony_ci    ],
10fb299fa2Sopenharmony_ci    "enableFoucs": true,
11fb299fa2Sopenharmony_ci    "entry":"menu:normal",
12fb299fa2Sopenharmony_ci    "strategy" : {
13fb299fa2Sopenharmony_ci        "default" : {
14fb299fa2Sopenharmony_ci            "confirmPageId" : "confirm",
15fb299fa2Sopenharmony_ci            "labelLogId" : {
16fb299fa2Sopenharmony_ci                "pageId" : "",
17fb299fa2Sopenharmony_ci                "comId" : ""
18fb299fa2Sopenharmony_ci            },
19fb299fa2Sopenharmony_ci            "labelLogResId" : {
20fb299fa2Sopenharmony_ci                "pageId" : "upd",
21fb299fa2Sopenharmony_ci                "comId" : "UpdateAutoReboot_Label"
22fb299fa2Sopenharmony_ci            },
23fb299fa2Sopenharmony_ci            "labelUpdId" : {
24fb299fa2Sopenharmony_ci                "pageId" : "",
25fb299fa2Sopenharmony_ci                "comId" : ""
26fb299fa2Sopenharmony_ci            },
27fb299fa2Sopenharmony_ci            "progressPage" : {
28fb299fa2Sopenharmony_ci                "progressPageId" : "upd:update",
29fb299fa2Sopenharmony_ci                "progressComId" : "ProgressUpdBoxDark_Progress",
30fb299fa2Sopenharmony_ci                "progressType" : "bar",
31fb299fa2Sopenharmony_ci                "logoComId" : "OHOSIconDark_Image",
32fb299fa2Sopenharmony_ci                "logoType" : "img",
33fb299fa2Sopenharmony_ci                "warningComId" : "PowerLongPressWarning_Image"
34fb299fa2Sopenharmony_ci            },
35fb299fa2Sopenharmony_ci            "resPage" : {
36fb299fa2Sopenharmony_ci                "successPageId" : "upd:updateSuccess",
37fb299fa2Sopenharmony_ci                "failPageId" : "upd:normalUpdateFailed"
38fb299fa2Sopenharmony_ci            }
39fb299fa2Sopenharmony_ci        },
40fb299fa2Sopenharmony_ci        "sdcard" : {
41fb299fa2Sopenharmony_ci            "progressPage" : {
42fb299fa2Sopenharmony_ci                "progressPageId" : "upd:sdUpdate",
43fb299fa2Sopenharmony_ci                "progressComId" : "UpdBox_Progress",
44fb299fa2Sopenharmony_ci                "progressType" : "bar",
45fb299fa2Sopenharmony_ci                "logoComId" : "OHOSIcon_Image",
46fb299fa2Sopenharmony_ci                "logoType" : "img"
47fb299fa2Sopenharmony_ci            },
48fb299fa2Sopenharmony_ci            "labelLogResId" : {
49fb299fa2Sopenharmony_ci                "pageId" : "upd",
50fb299fa2Sopenharmony_ci                "comId" : "UpdateInfoDark_Label"
51fb299fa2Sopenharmony_ci            },
52fb299fa2Sopenharmony_ci            "resPage" : {
53fb299fa2Sopenharmony_ci                "successPageId" : "upd:updateSuccess",
54fb299fa2Sopenharmony_ci                "failPageId" : "upd:updateFailedNoButton"
55fb299fa2Sopenharmony_ci            }
56fb299fa2Sopenharmony_ci        },
57fb299fa2Sopenharmony_ci        "factoryRst" : {
58fb299fa2Sopenharmony_ci            "labelLogResId" : {
59fb299fa2Sopenharmony_ci                "pageId" : "upd",
60fb299fa2Sopenharmony_ci                "comId" : "UpdateInfoDark_Label"
61fb299fa2Sopenharmony_ci            },
62fb299fa2Sopenharmony_ci            "labelUpdId" : {
63fb299fa2Sopenharmony_ci                "pageId" : "upd",
64fb299fa2Sopenharmony_ci                "comId" : "RstInfo_Label"
65fb299fa2Sopenharmony_ci            },
66fb299fa2Sopenharmony_ci            "progressPage" : {
67fb299fa2Sopenharmony_ci                "progressPageId" : "upd:reset",
68fb299fa2Sopenharmony_ci                "progressComId" : "UpdBox_Progress",
69fb299fa2Sopenharmony_ci                "progressType" : "bar",
70fb299fa2Sopenharmony_ci                "logoComId" : "OHOSIcon_Image",
71fb299fa2Sopenharmony_ci                "logoType" : "img",
72fb299fa2Sopenharmony_ci                "warningComId" : ""
73fb299fa2Sopenharmony_ci            },
74fb299fa2Sopenharmony_ci            "resPage" : {
75fb299fa2Sopenharmony_ci                "successPageId" : "upd:FactoryRstSucc",
76fb299fa2Sopenharmony_ci                "failPageId" : "upd:FactoryRstFailed"
77fb299fa2Sopenharmony_ci            }
78fb299fa2Sopenharmony_ci        },
79fb299fa2Sopenharmony_ci        "rebootFactoryRst" : {
80fb299fa2Sopenharmony_ci            "labelLogResId" : {
81fb299fa2Sopenharmony_ci                "pageId" : "upd",
82fb299fa2Sopenharmony_ci                "comId" : "RstInfo_Label"
83fb299fa2Sopenharmony_ci            },
84fb299fa2Sopenharmony_ci            "progressPage" : {
85fb299fa2Sopenharmony_ci                "progressPageId" : "upd:reset",
86fb299fa2Sopenharmony_ci                "progressComId" : "UpdBox_Progress",
87fb299fa2Sopenharmony_ci                "progressType" : "bar",
88fb299fa2Sopenharmony_ci                "logoComId" : "OHOSIcon_Image",
89fb299fa2Sopenharmony_ci                "logoType" : "img",
90fb299fa2Sopenharmony_ci                "warningComId" : ""
91fb299fa2Sopenharmony_ci            },
92fb299fa2Sopenharmony_ci            "resPage" : {
93fb299fa2Sopenharmony_ci                "successPageId" : "upd:FactoryRstSucc",
94fb299fa2Sopenharmony_ci                "failPageId" : "upd:FactoryRstFailed"
95fb299fa2Sopenharmony_ci            }
96fb299fa2Sopenharmony_ci        }
97fb299fa2Sopenharmony_ci    },
98fb299fa2Sopenharmony_ci    "locale" : {
99fb299fa2Sopenharmony_ci        "res" : [
100fb299fa2Sopenharmony_ci            {
101fb299fa2Sopenharmony_ci                "path" : "/resources/string/string.json",
102fb299fa2Sopenharmony_ci                "level" : 0
103fb299fa2Sopenharmony_ci            }
104fb299fa2Sopenharmony_ci        ],
105fb299fa2Sopenharmony_ci        "localeFile" : "/data/updater/locale"
106fb299fa2Sopenharmony_ci    },
107fb299fa2Sopenharmony_ci    "callbacks": [
108fb299fa2Sopenharmony_ci        {
109fb299fa2Sopenharmony_ci            "pageId" : "menu",
110fb299fa2Sopenharmony_ci            "comId" : "FactoryRst_Button",
111fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
112fb299fa2Sopenharmony_ci            "func" : "OnLabelResetEvt"
113fb299fa2Sopenharmony_ci        },
114fb299fa2Sopenharmony_ci        {
115fb299fa2Sopenharmony_ci            "pageId" : "menu",
116fb299fa2Sopenharmony_ci            "comId" : "FactoryRstNormal_Button",
117fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
118fb299fa2Sopenharmony_ci            "func" : "OnLabelResetEvt"
119fb299fa2Sopenharmony_ci        },
120fb299fa2Sopenharmony_ci        {
121fb299fa2Sopenharmony_ci            "pageId" : "menu",
122fb299fa2Sopenharmony_ci            "comId" : "Reboot_Button",
123fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
124fb299fa2Sopenharmony_ci            "func" : "OnRebootEvt"
125fb299fa2Sopenharmony_ci        },
126fb299fa2Sopenharmony_ci        {
127fb299fa2Sopenharmony_ci            "pageId" : "menu",
128fb299fa2Sopenharmony_ci            "comId" : "RebootDevice_Button",
129fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
130fb299fa2Sopenharmony_ci            "func" : "OnRebootEvt"
131fb299fa2Sopenharmony_ci        },
132fb299fa2Sopenharmony_ci        {
133fb299fa2Sopenharmony_ci            "pageId" : "menu:normal",
134fb299fa2Sopenharmony_ci            "comId" : "Shutdown_Button",
135fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
136fb299fa2Sopenharmony_ci            "func" : "OnMenuShutdownEvt"
137fb299fa2Sopenharmony_ci        },
138fb299fa2Sopenharmony_ci        {
139fb299fa2Sopenharmony_ci            "pageId" : "confirm",
140fb299fa2Sopenharmony_ci            "comId" : "Cancel_Button",
141fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
142fb299fa2Sopenharmony_ci            "func" : "OnLabelCancelEvt"
143fb299fa2Sopenharmony_ci        },
144fb299fa2Sopenharmony_ci        {
145fb299fa2Sopenharmony_ci            "pageId" : "menu:normal",
146fb299fa2Sopenharmony_ci            "comId" : "SdUpdate_Button",
147fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
148fb299fa2Sopenharmony_ci            "func" : "OnLabelSDCardNoDelayEvt"
149fb299fa2Sopenharmony_ci        },
150fb299fa2Sopenharmony_ci        {
151fb299fa2Sopenharmony_ci            "pageId" : "confirm",
152fb299fa2Sopenharmony_ci            "comId" : "Reset_Button",
153fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
154fb299fa2Sopenharmony_ci            "func" : "OnConfirmRstEvt"
155fb299fa2Sopenharmony_ci        },
156fb299fa2Sopenharmony_ci        {
157fb299fa2Sopenharmony_ci            "pageId" : "upd",
158fb299fa2Sopenharmony_ci            "comId" : "FailReboot_Button",
159fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
160fb299fa2Sopenharmony_ci            "func" : "OnRebootEvt"
161fb299fa2Sopenharmony_ci        },
162fb299fa2Sopenharmony_ci        {
163fb299fa2Sopenharmony_ci            "pageId" : "upd",
164fb299fa2Sopenharmony_ci            "comId" : "ReturnToMain_Button",
165fb299fa2Sopenharmony_ci            "type" : "CLICKEVENT",
166fb299fa2Sopenharmony_ci            "func" : "OnReturnToMainEvt"
167fb299fa2Sopenharmony_ci        }
168fb299fa2Sopenharmony_ci    ]
169fb299fa2Sopenharmony_ci}