#define MMI_CUSTOMER_MEASURE_SPO2_DURATION (34 * 1000) // unit:ms
+#define MMI_CUSTOMER_MEASURE_BLOOD_GLUCOSE_DURATION (20 * 1000) // unit:ms
+
//health measure timed
#define MMI_CUSTOMER_HEART_TIMED_FLAG false
#define MMI_CUSTOMER_SPO2_TIMED_INTERVAL (60 * 60) // unit:s
+#define MMI_CUSTOMER_BLOOD_GLUCOSE_TIMED_FLAG false
+
+#define MMI_CUSTOMER_BLOOD_GLUCOSE_TIMED_INTERVAL (60 * 60) // unit:s
+
//default language
#define MMI_CUSTOMER_LANGUAGE (LANG_CH) // LANG_EN
// low battery
#define MMI_CUSTOMER_LOW_BATTERY_SWITCH (MMI_WATCH_SWITCH_ON)
+// schedule power on/off
+#define MMI_CUSTOMER_SCHEDULE_POWER_ON_SWITCH (MMI_WATCH_SWITCH_ON)
+#define MMI_CUSTOMER_SCHEDULE_POWER_ON_HOUR (6) // 0-23
+#define MMI_CUSTOMER_SCHEDULE_POWER_ON_MINUTE (0) // 0-59
+
+#define MMI_CUSTOMER_SCHEDULE_POWER_OFF_SWITCH (MMI_WATCH_SWITCH_ON)
+#define MMI_CUSTOMER_SCHEDULE_POWER_OFF_HOUR (23) // 0-23
+#define MMI_CUSTOMER_SCHEDULE_POWER_OFF_MINUTE (59) // 0-59
+
+
#endif
-dolphin
-R:/png/dial_dolphin/dolphin_watch.json
-default_digit
-R:/png/dial_default_ambient/am_digit.json
-rokcket
-R:/png/dial_rocket/rocket_watch.json
-bear
-R:/png/dial_bear/bear_watch.json
-style1
-R:/png/dial_style1/dial_style1.json
dial_style3
R:/png/dial_style3/dial_style3.json
dial_style4
+++ /dev/null
-{
- "name": "小熊时钟",
- "preview_img": "R:/png/dial_bear/icon_dial_bear_clock.png",
- "bg_img": "R:/png/dial_bear/icon_bear.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 120,
- "y": 20
- },
- "element_cnt": 1,
- "act_type": 2,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 2,
- "element_name": "指针时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 20,
- "img_pos": {
- "x": -10,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_bear/icon_dial_bear_hour.png"
- }
- ]
- },
- {
- "img_type": 21,
- "img_pos": {
- "x": -4,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_bear/icon_dial_bear_min.png"
- }
- ]
- },
- {
- "img_type": 22,
- "img_pos": {
- "x": -2,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_bear/icon_dial_bear_sec.png"
- }
- ]
- }, {
- "img_type": 23,
- "img_pos": {
- "x": -15,
- "y": 105
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_bear/icon_bear_nose.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 200,
- "text": "ijk",
- "text_color": {
- "r": 12,
- "g": 34,
- "b": 56
- },
- "text_pos": {
- "x": 202,
- "y": 203
- },
- "font_size": 204
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "default",
- "preview_img": "R:/png/dial_default/icon_dial_clock.png",
- "bg_img": "R:/png/dial_default/icon_dial_default.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 120,
- "y": 0
- },
- "element_cnt": 1,
- "act_type": 2,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 2,
- "element_name": "指针时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 20,
- "img_pos": {
- "x": -10,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_default/icon_dial_default_hour.png"
- }
- ]
- },
- {
- "img_type": 22,
- "img_pos": {
- "x": -2,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_default/icon_dial_default_sec.png"
- }
- ]
- },
- {
- "img_type": 21,
- "img_pos": {
- "x": -10,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_default/icon_dial_default_min.png"
- }
- ]
- },
- {
- "img_type": 23,
- "img_pos": {
- "x": -10,
- "y": 110
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_default/icon_dial_default_dot.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 200,
- "text": "ijk",
- "text_color": {
- "r": 12,
- "g": 34,
- "b": 56
- },
- "text_pos": {
- "x": 202,
- "y": 203
- },
- "font_size": 204
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "数字时钟",
- "preview_img": "R:/png/dial_default_ambient/am_digit_pre.png",
- "bg_img": "R:/png/dial_default_ambient/am_digit_bg.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 0,
- "y": 85
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 5,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 49,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 16,
- "img_pos": {
- "x": 105,
- "y": 29
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_default_ambient/am_digit_con_colon.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 136,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 191,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 0,
- "text": "",
- "text_color": {
- "r": 0,
- "g": 0,
- "b": 0
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 0
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 0,
- "y": 0
- },
- "bar_color": {
- "r": 0,
- "g": 0,
- "b": 0
- },
- "bar_w": 0,
- "bar_h": 0
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "无",
- "preview_img": "R:/png/dial/icon_none.png",
- "configurable": 2,
- "element_ll": [
- {
- "element_pos": {
- "x": 0,
- "y": 0
- },
- "element_cnt": 0,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "海豚世界",
- "preview_img": "R:/png/dial_dolphin/icon_dial_dolphin.png",
- "bg_img": "R:/png/dial_dolphin/icon_dolphin.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 25,
- "y": 60
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 37,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 0,
- "y": 60
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 37,
- "y": 60
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_dolphin/icon_dolphin_digital_9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 190
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 25,
- "y": 210
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 3,
- "label_ll": [
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "-",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 23,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 33,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 110,
- "y": 210
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "太空翱翔",
- "preview_img": "R:/png/dial_rocket/icon_dial_rocket.png",
- "bg_img": "R:/png/dial_rocket/icon_rocket.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 120,
- "y": 60
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 50,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 44,
- "y": 95
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 72,
- "y": 95
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 190
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 100,
- "y": 225
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 4,
- "label_ll": [
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "月",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 45,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "日",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 70,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 190,
- "y": 225
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "那时花开",
- "preview_img": "R:/png/dial_style1/view.png",
- "bg_img": "R:/png/dial_style1/bg.png",
- "configurable": 0,
- "element_ll":
- [
- {
- "element_pos": {
- "x": 0,
- "y": 0
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll":
- [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 5,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 40,
- "y": 50
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/time/0.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/1.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/2.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/3.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/4.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/5.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/6.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/7.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/8.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 76,
- "y": 50
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/time/0.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/1.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/2.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/3.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/4.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/5.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/6.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/7.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/8.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/9.png"
- }
- ]
- },
- {
- "img_type": 16,
- "img_pos": {
- "x": 116,
- "y": 58
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/time/colon.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 128,
- "y": 50
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/time/0.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/1.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/2.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/3.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/4.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/5.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/6.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/7.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/8.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 164,
- "y": 50
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/time/0.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/1.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/2.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/3.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/4.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/5.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/6.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/7.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/8.png"
- },
- {
- "sub_img": "R:/png/dial_style1/time/9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 160
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos":
- {
- "x": 24,
- "y": 111
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll":
- [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 4,
- "label_ll":
- [
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "月",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 45,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "日",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 70,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 47,
- "y": 143
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 130,
- "y": 125
- },
- "element_cnt": 1,
- "act_type": 8,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 8,
- "element_name": "计步",
- "img_cnt": 1,
- "img_ll": [
- {
- "img_type": 80,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/step.png"
- }
- ]
- }
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 17,
- "text": "10249",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 35,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 53,
- "y": 182
- },
- "element_cnt": 1,
- "act_type": 13,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 13,
- "element_name": "心率",
- "img_cnt": 1,
- "img_ll": [
- {
- "img_type": 130,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/heart.png"
- }
- ]
- }
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 24,
- "text": "123",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": -7,
- "y": 37
- },
- "font_size": 25
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 161,
- "y": 182
- },
- "element_cnt": 1,
- "act_type": 14,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 14,
- "element_name": "血氧",
- "img_cnt": 1,
- "img_ll": [
- {
- "img_type": 140,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 1,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_style1/spo2.png"
- }
- ]
- }
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 26,
- "text": "--",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": -10,
- "y": 37
- },
- "font_size": 25
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
+++ /dev/null
-{
- "name": "rocket",
- "preview_img": "R:/png/dial_rocket/icon_dial_rocket.png",
- "bg_img": "R:/png/dial_rocket/icon_rocket.png",
- "configurable": 0,
- "element_ll": [
- {
- "element_pos": {
- "x": 120,
- "y": 40
- },
- "element_cnt": 1,
- "act_type": 1,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 1,
- "element_name": "数字时钟",
- "img_cnt": 4,
- "img_ll": [
- {
- "img_type": 10,
- "img_pos": {
- "x": 0,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 11,
- "img_pos": {
- "x": 50,
- "y": 0
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_9.png"
- }
- ]
- },
- {
- "img_type": 12,
- "img_pos": {
- "x": 44,
- "y": 95
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_9.png"
- }
- ]
- },
- {
- "img_type": 13,
- "img_pos": {
- "x": 72,
- "y": 95
- },
- "sub_img_cnt": 10,
- "sub_img_ll": [
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_0.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_1.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_2.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_3.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_4.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_5.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_6.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_7.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_8.png"
- },
- {
- "sub_img": "R:/png/dial_rocket/icon_rocket_digital_s_9.png"
- }
- ]
- }
- ],
- "label_cnt": 0,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 190
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 100,
- "y": 185
- },
- "element_cnt": 1,
- "act_type": 5,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 5,
- "element_name": "日期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 4,
- "label_ll": [
- {
- "label_type": 8,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "月",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 25,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 9,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 45,
- "y": 0
- },
- "font_size": 20
- },
- {
- "label_type": 10,
- "text": "日",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 70,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- },
- {
- "element_pos": {
- "x": 190,
- "y": 185
- },
- "element_cnt": 1,
- "act_type": 4,
- "layer": 0,
- "element_dsc_ll": [
- {
- "element_type": 4,
- "element_name": "星期",
- "img_cnt": 0,
- "img_ll": [
- ],
- "label_cnt": 1,
- "label_ll": [
- {
- "label_type": 5,
- "text": "",
- "text_color": {
- "r": 255,
- "g": 255,
- "b": 255
- },
- "text_pos": {
- "x": 0,
- "y": 0
- },
- "font_size": 20
- }
- ],
- "bar": {
- "bar_type": 0,
- "bar_pos": {
- "x": 8,
- "y": 9
- },
- "bar_color": {
- "r": 77,
- "g": 88,
- "b": 99
- },
- "bar_w": 11,
- "bar_h": 12
- }
- }
- ]
- }
- ]
-}
},
{
"element_pos": {
- "x": 50,
- "y": 197
+ "x": 35,
+ "y": 154
},
"element_cnt": 1,
"act_type": 4,
"img_cnt": 0,
"img_ll": [
],
- "label_cnt": 1,
+ "label_cnt": 2,
"label_ll": [
{
"label_type": 5,
"x": 0,
"y": 0
},
- "font_size": 24
+ "font_size": 22
+ },
+ {
+ "label_type": 27,
+ "text": "",
+ "text_color": {
+ "r": 255,
+ "g": 255,
+ "b": 255
+ },
+ "text_pos": {
+ "x": 0,
+ "y": -30
+ },
+ "font_size": 22
}
],
"bar": {
},
{
"element_pos": {
- "x": 50,
- "y": 132
+ "x": 35,
+ "y": 190
},
"element_cnt": 1,
"act_type": 8,
"b": 255
},
"text_pos": {
- "x": -5,
- "y": 30
+ "x": 33,
+ "y": 0
},
"font_size": 20
}
},
{
"element_pos": {
- "x": 120,
+ "x": 125,
"y": 130
},
"element_cnt": 1,
#endif
#ifdef USE_OEM_ZFB
-#define USE_LV_WATCH_ALIPAY 1
+#define USE_LV_WATCH_ALIPAY 0 // 1
#else
#define USE_LV_WATCH_ALIPAY 0
#endif
#endif
#define __MMI_ZHSX_SUPPORT_VIDEO_CALL__
-//#define __MMI_ZHSX_SUPPORT_VIDEO_CALL_WULIAN__
#define __MMI_ZHSX_SUPPORT_VIDEO_CALL_FZD__
-//#define __MMI_ZHSX_SUPPORT_VIDEO_CALL_TONGXIN__
-#define __MMI_WECHAT_SUPPORT__
-#define __MMI_WECHAT_RECEIVE_AUDIO_USE_MP3__
+//#define __MMI_WECHAT_SUPPORT__
+//#define __MMI_WECHAT_RECEIVE_AUDIO_USE_MP3__
#define __MMI_MAIN_MENU_ONE_PAGE_STYLE__
//#define __MMI_MAIN_MENU_FOUR_GRID_STYLE__
#define __MMI_HEALTH_MEASURE_TEMPERATURE_SUPPORT__
+#define __MMI_HEALTH_MEASURE_ATRIAL_FIBRILLATION_SUPPORT__
+
//#define __MMI_APP_QRCODE_MENU_SUPPORT__
#define __MMI_APP_QRCODE_FROM_SERVER_SUPPORT__
#define __MMI_APP_QRCODE_AND_DEVICE_QRCODE_IN_ONE_SUPPORT__
#define __MMI_ZHSX_SUPPORT_DO_NOT_DISTURB__
#define __MMI_ZHSX_SUPPORT_PHONEBOOK_LIST_STYLE__
+//#define __MMI_PHONEBOOK_CALLLOG_IN_ONE_MENU__
#define __MMI_ZHSX_SUPPORT_CHECK_SIM_UNBIND__
+#define __MMI_TOOL_MENU_SUPPORT__
+
#if 0 != USE_LV_WATCH_WEATHER
#define __MMI_WEATHER_MENU_SUPPORT__
#define __MMI_WEATHER_MENU_NOT_DISPLAY_TEMPERATURE_RANGE__
+#define __MMI_PAGE_MAIN_MENU_ADD_WEATHER__
#endif
#define __MMI_POWER_ON_OFF_NO_RING__
#define __MMI_BP_CALIBRATE_SUPPORT__
-//#define __MMI_PHONEBOOK_CALLLOG_IN_ONE_MENU__
-
#define __MMI_SLEEP_FUNCTION_SUPPORT__
+//#define __Default_system_alarm__
+
#define __MMI_ZHSX_SUPPORT_AUTHENTICATE__
#define __MMI_FZD_PROTOCOL_WITHOUT_PING_COMMAND_SUPPORT__
+#define __MMI_PEDOMETER_STEP_AND_GOAL_STYLE__
+
#endif
--- /dev/null
+
+
+
+#include "lv_watch.h"
+
+#ifdef __MMI_HEALTH_MEASURE_ATRIAL_FIBRILLATION_SUPPORT__
+
+lv_atrial_fibrillation_obj_ext_t * health_atrial_fibrillation_get_ext(void)
+{
+ lv_obj_t * activity_obj = lv_watch_get_activity_obj(ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION);
+ if(NULL == activity_obj)
+ {
+ return NULL;
+ }
+
+ lv_obj_t * watch_obj;
+ lv_watch_get_child_obj(activity_obj, lv_watch_obj_signal, &watch_obj);
+ if(NULL != watch_obj)
+ {
+ lv_atrial_fibrillation_obj_ext_t * ext = lv_obj_get_ext_attr(watch_obj);
+ return ext;
+ }
+ return NULL;
+}
+
+void health_atrial_fibrillation_display_update(void)
+{
+ lv_atrial_fibrillation_obj_ext_t * ext = health_atrial_fibrillation_get_ext();
+ if(NULL == ext)
+ {
+ return;
+ }
+
+ switch(ext->measure_state)
+ {
+ case STATE_ATRIAL_FIBRILLATION_MEASURING:
+ lv_obj_set_hidden(ext->img, TRUE);
+
+ lv_label_set_text_id(ext->label_info, WATCH_TEXT_ID_MEASURING);
+ lv_obj_align(ext->label_info, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_INFO_Y);
+
+ lv_label_set_text(ext->label_value, ext->heart_rate);
+ lv_obj_align(ext->label_value, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y-10);
+ lv_obj_set_hidden(ext->label_value, ((strlen(ext->heart_rate)) ? FALSE : TRUE));
+
+ lv_label_set_text(ext->label_value_blood, ext->blood_low_high);
+ lv_obj_align(ext->label_value_blood, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y+10);
+ lv_obj_set_hidden(ext->label_value_blood, TRUE);
+
+ break;
+
+ case STATE_ATRIAL_FIBRILLATION_MEASURE_FAIL:
+ lv_img_set_src(ext->img, ICON_HEART_RATE_MEASURE_FAIL);
+ lv_obj_set_hidden(ext->img, FALSE);
+
+ lv_label_set_text_id(ext->label_info, WATCH_TEXT_ID_MEASURE_FAIL);
+ lv_obj_align(ext->label_info, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_INFO_Y);
+
+ lv_obj_remove_style(ext->label_value, LV_LABEL_PART_MAIN, &lv_watch_font40);
+ lv_obj_add_style(ext->label_value, LV_LABEL_PART_MAIN, &lv_watch_font30);
+ lv_label_set_text_id(ext->label_value, WATCH_TEXT_ID_NOT_WEAR);
+ lv_obj_align(ext->label_value, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y);
+ lv_obj_set_hidden(ext->label_value, FALSE);
+ break;
+
+ case STATE_ATRIAL_FIBRILLATION_MEASURE_DONE:
+ lv_img_set_src(ext->img, ICON_HEART_RATE_MEASURE_DONE);
+ lv_obj_set_hidden(ext->img, FALSE);
+
+ lv_label_set_text_id(ext->label_info, WATCH_TEXT_ID_MEASURE_DONE);
+ lv_obj_align(ext->label_info, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_INFO_Y);
+
+ lv_label_set_text(ext->label_value, ext->heart_rate);
+ lv_obj_align(ext->label_value, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y-10);
+ lv_obj_set_hidden(ext->label_value, FALSE);
+
+ uint16_t blood_high_value = 0, blood_low_value = 0;
+ mmi_hsensor_blood_value_get(&blood_high_value,&blood_low_value);
+ //HEALTH_MEASURE_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: %d/%d\n", __FUNCTION__, __LINE__, blood_low_value, blood_low_value);
+
+ sprintf(ext->blood_low_high, "%d / %d mmHg", blood_high_value, blood_low_value);
+
+ mmi_protocol_action_send_blood(blood_high_value, blood_low_value);
+
+ lv_label_set_text(ext->label_value_blood, ext->blood_low_high);
+ #ifdef USE_LV_WATCH_UI_240_280
+ lv_obj_align(ext->label_value_blood, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y + 30);
+ #else
+ lv_obj_align(ext->label_value_blood, ext->cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y+10);
+ #endif
+ lv_obj_set_hidden(ext->label_value_blood, FALSE);
+
+ break;
+
+ default:
+ break;
+ }
+}
+
+static void health_atrial_fibrillation_measure_cycle_timeout(void * para)
+{
+ (void) para;
+
+ lv_atrial_fibrillation_obj_ext_t * ext = health_atrial_fibrillation_get_ext();
+ if(NULL != ext)
+ {
+ if(false == mmi_health_measure_wear_state_get() || HAL_CHG_CONNECTED == Hal_Charger_Get_Status())
+ {
+ if(NULL != ext->cycle_timer_id)
+ {
+ Hal_Timer_Stop(ext->cycle_timer_id);
+ ext->cycle_timer_id = NULL;
+ }
+ if(NULL != ext->gif_info)
+ {
+ gif_close(ext->gif_info);
+ ext->gif_info = NULL;
+ }
+ lv_obj_del(ext->gif_cont);
+
+ if(STATE_ATRIAL_FIBRILLATION_MEASURING == ext->measure_state)
+ {
+ mmi_health_measure_interrupt();
+ }
+ ext->measure_state = STATE_ATRIAL_FIBRILLATION_MEASURE_FAIL;
+ watch_set_suspend_enable(true, ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION, 0);
+ watch_wakeup_time_reset();
+ }
+ else
+ {
+ if(true == mmi_health_measure_state_is_ui_measure())
+ {
+ uint16_t value = 0;
+
+ mmi_health_measure_heart_data_ui_get(&value);
+ if(MMI_HEART_RATE_VALUE_MIN <= value) // (value)
+ {
+ sprintf(ext->heart_rate, "%d bpm", value);
+ }
+ // uint16_t blood_high_value = 0;
+ // uint16_t blood_low_value = 0;
+ // mmi_hsensor_blood_value_get(&blood_high_value,&blood_low_value);
+ // sprintf(ext->blood_low_high, "%d / %d mmhg", blood_low_value,blood_high_value);
+
+ //else
+ //{
+ // sprintf(ext->heart_rate, "-- bpm");
+ //}
+ ext->measure_state = STATE_ATRIAL_FIBRILLATION_MEASURING;
+ }
+ else
+ {
+ if(NULL != ext->cycle_timer_id)
+ {
+ Hal_Timer_Stop(ext->cycle_timer_id);
+ ext->cycle_timer_id = NULL;
+ }
+ if(NULL != ext->gif_info)
+ {
+ gif_close(ext->gif_info);
+ ext->gif_info = NULL;
+ }
+ lv_obj_del(ext->gif_cont);
+ ext->measure_state = STATE_ATRIAL_FIBRILLATION_MEASURE_DONE;
+ watch_set_suspend_enable(true, ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION, 0);
+ watch_wakeup_time_reset();
+ }
+ }
+ }
+
+ health_atrial_fibrillation_display_update();
+}
+
+static void health_atrial_fibrillation_prepare_destory(lv_obj_t * activity_obj)
+{
+ HEALTH_MEASURE_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__);
+
+ watch_set_suspend_enable(true, ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION, 0);
+ lv_watch_png_cache_all_free();
+
+ //lv_obj_t * watch_obj = NULL;
+ //lv_watch_get_child_obj(act, lv_watch_obj_signal, &watch_obj);
+ //lv_obj_t * cont = lv_obj_get_child(watch_obj, NULL);
+
+ lv_atrial_fibrillation_obj_ext_t * ext = health_atrial_fibrillation_get_ext();
+ if(NULL != ext)
+ {
+ if(NULL != ext->cycle_timer_id)
+ {
+ Hal_Timer_Stop(ext->cycle_timer_id);
+ ext->cycle_timer_id = NULL;
+ }
+ if(NULL != ext->gif_info)
+ {
+ gif_close(ext->gif_info);
+ ext->gif_info = NULL;
+ }
+ if(STATE_ATRIAL_FIBRILLATION_MEASURING == ext->measure_state)
+ {
+ mmi_health_measure_interrupt();
+ }
+
+ HEALTH_MEASURE_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__);
+ }
+}
+
+lv_obj_t * health_atrial_fibrillation_create(lv_obj_t * activity_obj)
+{
+ if(NULL == activity_obj)
+ {
+ lv_watch_activity_ext_t activity_ext = {0};
+
+ activity_ext.actId = ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION;
+ activity_ext.create = health_atrial_fibrillation_create;
+ activity_ext.prepare_destory = health_atrial_fibrillation_prepare_destory;
+
+ activity_obj = lv_watch_creat_activity_obj(&activity_ext);
+ LV_ASSERT_MEM(activity_obj);
+ if(NULL == activity_obj)
+ return NULL;
+ }
+
+ lv_obj_t * watch_obj = lv_watch_obj_create(activity_obj);
+ if(NULL == watch_obj)
+ return NULL;
+
+ lv_atrial_fibrillation_obj_ext_t * ext = lv_obj_allocate_ext_attr(watch_obj, sizeof(lv_atrial_fibrillation_obj_ext_t));
+ if(NULL == ext)
+ return NULL;
+
+ ext->gif_info = NULL;
+ ext->cycle_timer_id = NULL;
+ ext->cont = NULL;
+ ext->img = NULL;
+ ext->gif_cont = NULL;
+ ext->measure_state = STATE_ATRIAL_FIBRILLATION_MEASURE_NONE;
+ _lv_memset_00(ext->heart_rate, sizeof(ext->heart_rate));
+
+ lv_obj_t * cont = lv_cont_create(watch_obj, NULL);
+ lv_obj_set_size(cont, LV_HOR_RES, LV_VER_RES);
+ lv_obj_align(cont, watch_obj, LV_ALIGN_IN_BOTTOM_MID, 0, 0);
+ lv_obj_set_style_local_bg_color(cont, LV_CONT_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK);
+ lv_obj_set_style_local_bg_opa(cont, LV_CONT_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_TRANSP);
+ lv_obj_set_style_local_pad_left(cont, LV_CONT_PART_MAIN, LV_STATE_DEFAULT, 0);
+ lv_obj_set_style_local_pad_right(cont, LV_CONT_PART_MAIN, LV_STATE_DEFAULT, 0);
+ //lv_cont_set_layout(cont, LV_LAYOUT_ROW_MID);
+ lv_obj_set_click(cont, false);
+ //lv_obj_set_base_dir(cont, LV_BIDI_DIR_LTR);
+ lv_watch_obj_add_element(cont);
+ ext->cont = cont;
+
+ lv_obj_t * img = lv_img_create(cont, NULL);
+ lv_img_set_src(img, ICON_HEART_RATE_MEASURE_FAIL);
+ lv_obj_align(img, NULL, LV_ALIGN_IN_TOP_MID, 0, HEART_MEASURE_IMAGE_Y);
+ lv_obj_set_hidden(img, true);
+ ext->img = img;
+
+ lv_obj_t * label_info = lv_label_create(cont, NULL);
+ //lv_obj_set_size(label_info, LV_HOR_RES, 30);
+ lv_obj_add_style(label_info, LV_LABEL_PART_MAIN, &lv_watch_font20);
+ lv_label_set_text_id(label_info, WATCH_TEXT_ID_MEASURING);
+ //lv_label_set_align(label_info, LV_LABEL_ALIGN_CENTER);
+ lv_obj_align(label_info, cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_INFO_Y);
+ lv_obj_set_click(label_info, false);
+ ext->label_info = label_info;
+
+ lv_obj_t * label_value = lv_label_create(cont, NULL);
+ //lv_obj_set_size(label_value, LV_HOR_RES, 40);
+ lv_obj_add_style(label_value, LV_LABEL_PART_MAIN, &lv_watch_font24);
+ lv_label_set_text(label_value, ext->heart_rate);
+ //lv_label_set_align(label_value, LV_LABEL_ALIGN_CENTER);
+ lv_obj_align(label_value, cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y-10);
+ lv_obj_set_click(label_value, false);
+ ext->label_value = label_value;
+
+ lv_obj_t * label_value_blood = lv_label_create(cont, NULL);
+ //lv_obj_set_size(label_value, LV_HOR_RES, 40);
+ lv_obj_add_style(label_value_blood, LV_LABEL_PART_MAIN, &lv_watch_font24);
+ lv_label_set_text(label_value_blood, ext->heart_rate);
+ //lv_label_set_align(label_value, LV_LABEL_ALIGN_CENTER);
+ lv_obj_align(label_value_blood, cont, LV_ALIGN_IN_TOP_MID, 0, HEART_LABEL_VALUE_Y+10);
+ lv_obj_set_click(label_value_blood, false);
+ ext->label_value_blood = label_value_blood;
+
+ if(false == mmi_health_measure_wear_state_get() || HAL_CHG_CONNECTED == Hal_Charger_Get_Status())
+ {
+ ext->measure_state = STATE_ATRIAL_FIBRILLATION_MEASURE_FAIL;
+ }
+ else
+ {
+ mmi_health_measure_ui_measure_start(MMI_HEALTH_MEASURE_HEART);
+
+ lv_obj_t * gif_cont = lv_cont_create(cont, NULL);
+ lv_obj_set_size(gif_cont, LV_HOR_RES, 100);
+ lv_obj_set_style_local_bg_color(gif_cont, LV_CONT_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK);
+ lv_obj_align(gif_cont, cont, LV_ALIGN_IN_TOP_MID, 0, HEART_MEASURE_IMAGE_Y);
+ ext->gif_cont = gif_cont;
+
+ ext->gif_info = gif_open(gif_cont, ANIM_HEART_RATE_MEASURING, 0);
+ if(!ext->gif_info)
+ {
+ HEALTH_MEASURE_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: gif open fail\n", __FUNCTION__, __LINE__);
+ }
+
+ ext->cycle_timer_id = Hal_Timer_Start(HEALTH_HEART_MEASURE_CYCLE, health_atrial_fibrillation_measure_cycle_timeout, NULL, TRUE);
+
+ ext->measure_state = STATE_ATRIAL_FIBRILLATION_MEASURING;
+ watch_set_suspend_enable(false, ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION, 0);
+ }
+
+ health_atrial_fibrillation_display_update();
+
+ return watch_obj;
+}
+
+void health_atrial_fibrillation_create_event_cb(lv_obj_t * btn, lv_event_t e)
+{
+ (void)btn;
+ if(LV_EVENT_CLICKED == e)
+ {
+ lv_obj_t * obj = health_atrial_fibrillation_create(NULL);
+ LV_ASSERT_MEM(obj);
+ }
+}
+
+void mmi_health_atrial_fibrillation_screen_clean(void)
+{
+ lv_obj_t * activity_obj = lv_watch_get_activity_obj(ACT_ID_HEALTH_MEASURE_ATRIAL_FIBRILLATION);
+ if(NULL != activity_obj)
+ {
+ printf("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__);
+ health_atrial_fibrillation_prepare_destory(NULL);
+ lv_obj_del(activity_obj);
+ }
+}
+
+#endif
+
--- /dev/null
+
+
+
+#ifndef __HEALTH_ATRIAL_FIBRILLATION_H__
+#define __HEALTH_ATRIAL_FIBRILLATION_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef LV_CONF_INCLUDE_SIMPLE
+#include "lvgl.h"
+#include "lv_ex_conf.h"
+#else
+#include "../../../lvgl/lvgl.h"
+#include "../../../lv_ex_conf.h"
+#endif
+
+#ifdef __MMI_HEALTH_MEASURE_ATRIAL_FIBRILLATION_SUPPORT__
+
+
+#define HEALTH_HEART_MEASURE_CYCLE (1000 * 1)
+
+
+#ifdef USE_LV_WATCH_UI_CIRCLE
+
+#if USE_LV_WATCH_UI_240_240
+#define HEART_MEASURE_IMAGE_Y (25)
+#define HEART_LABEL_INFO_X (0)
+#define HEART_LABEL_INFO_Y (135)
+#define HEART_LABEL_INFO_W (LV_HOR_RES - HEART_LABEL_INFO_X)
+#define HEART_LABEL_INFO_H (30)
+
+#define HEART_LABEL_VALUE_X (0)
+#define HEART_LABEL_VALUE_Y (165)
+#define HEART_LABEL_VALUE_W (LV_HOR_RES - HEART_LABEL_VALUE_X)
+#define HEART_LABEL_VALUE_H (50)
+
+#else
+#define HEART_MEASURE_IMAGE_Y (40)
+#define HEART_LABEL_INFO_X (0)
+#define HEART_LABEL_INFO_Y (180)
+#define HEART_LABEL_INFO_W (LV_HOR_RES - HEART_LABEL_INFO_X)
+#define HEART_LABEL_INFO_H (30)
+
+#define HEART_LABEL_VALUE_X (0)
+#define HEART_LABEL_VALUE_Y (220)
+#define HEART_LABEL_VALUE_W (LV_HOR_RES - HEART_LABEL_VALUE_X)
+#define HEART_LABEL_VALUE_H (50)
+
+#endif
+
+#else
+
+#if USE_LV_WATCH_UI_240_320
+#define HEART_MEASURE_IMAGE_Y (40)
+#define HEART_LABEL_INFO_X (0)
+#define HEART_LABEL_INFO_Y (180)
+#define HEART_LABEL_INFO_W (LV_HOR_RES - HEART_LABEL_INFO_X)
+#define HEART_LABEL_INFO_H (30)
+
+#define HEART_LABEL_VALUE_X (0)
+#define HEART_LABEL_VALUE_Y (220)
+#define HEART_LABEL_VALUE_W (LV_HOR_RES - HEART_LABEL_VALUE_X)
+#define HEART_LABEL_VALUE_H (50)
+
+#elif USE_LV_WATCH_UI_240_280
+#define HEART_MEASURE_IMAGE_Y (40)
+#define HEART_LABEL_INFO_X (0)
+#define HEART_LABEL_INFO_Y (155)
+#define HEART_LABEL_INFO_W (LV_HOR_RES - HEART_LABEL_INFO_X)
+#define HEART_LABEL_INFO_H (30)
+
+#define HEART_LABEL_VALUE_X (0)
+#define HEART_LABEL_VALUE_Y (195)
+#define HEART_LABEL_VALUE_W (LV_HOR_RES - HEART_LABEL_VALUE_X)
+#define HEART_LABEL_VALUE_H (50)
+
+#else
+#define HEART_MEASURE_IMAGE_Y (40)
+#define HEART_LABEL_INFO_X (0)
+#define HEART_LABEL_INFO_Y (180)
+#define HEART_LABEL_INFO_W (LV_HOR_RES - HEART_LABEL_INFO_X)
+#define HEART_LABEL_INFO_H (30)
+
+#define HEART_LABEL_VALUE_X (0)
+#define HEART_LABEL_VALUE_Y (220)
+#define HEART_LABEL_VALUE_W (LV_HOR_RES - HEART_LABEL_VALUE_X)
+#define HEART_LABEL_VALUE_H (50)
+
+#endif
+
+#endif
+
+
+typedef enum
+{
+ STATE_ATRIAL_FIBRILLATION_MEASURE_NONE,
+ STATE_ATRIAL_FIBRILLATION_MEASURING,
+ STATE_ATRIAL_FIBRILLATION_MEASURE_DONE,
+ STATE_ATRIAL_FIBRILLATION_MEASURE_FAIL,
+ STATE_ATRIAL_FIBRILLATION_MEASURE_MAX,
+}lv_atrial_fibrillation_state_e;
+
+typedef struct
+{
+ lv_watch_obj_ext_t lv_watch_obj;
+ /*New data for this type */
+ gif_info_t * gif_info;
+ TIMER_ID cycle_timer_id;
+ lv_obj_t * cont;
+ lv_obj_t * img;
+ lv_obj_t * label_info;
+ lv_obj_t * label_value;
+ lv_obj_t * label_value_blood;
+ lv_obj_t * gif_cont;
+ lv_atrial_fibrillation_state_e measure_state;
+ char heart_rate[8];
+ char blood_low_high[16];
+} lv_atrial_fibrillation_obj_ext_t;
+
+
+void health_atrial_fibrillation_create_event_cb(lv_obj_t * btn, lv_event_t e);
+void mmi_health_atrial_fibrillation_screen_clean(void);
+
+#endif
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif