summaryrefstree
path: root/usr/bin/qml_link/AppLink/App_Home.qml
blob: 7d573bf0fd9a4c5c7a91f4700a6efff2023b3b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
import QtQuick 2.0
import Label 2.0
import "../AppLink/Com"
import "../windowsList.js" as WindowsList
import "../layoutList.js" as Layout


Image{
    id: app_home
    x: 0
    y: 0
    width: 960
    height: 960
    property string imagePath: "/usr/bin/qml_link/images/AppLink/"
    source: systemCtrlLink.getBackGroundType()

    property bool bConnected : true

    property bool bPackageInPhone:false
    property bool bInstalling: false

    property string localVersion: ""  //Ver0.100.00-V4.00.001"
    property string upgradeVersion: ""
    property bool  bcheckdone: false
    property bool  bCloseUpgrade:false
    property int listCurIndex: 0
    property bool bSetPayInfo: false

    Component.onCompleted:{
        applinkControl.QML_NotifyStartOK()
        delay_connect_status_timer.start();
    }
    onVisibleChanged:{
        if(visible){
            if(!bCloseUpgrade)
            {
                wait_timer.start()
            }

            bConnected = applinkControl.QML_GetSppLinkStatus();

            if (!bcheckdone)
            {
                //upgrade_timer.start()
                if (bConnected)
                {
                    localVersion = applinkControl.GetLocalVersion()
                    applinkControl.QML_NIF_Ver_CheckUpgradePkg(localVersion)
                }
            }
            applinkControl.QML_ChangeLinkMapShowStatus(0)
            applinkControl.QML_NotifyFlickForbidFlag(0)
        }
    }

    ListModel {
        id: instructionModelCn
        ListElement{
            col0: "1.iPhone手机可进入App Store,下载“九州行地图【互联版】”,并安装;"
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_01-1_iPhone.png"
            col2: ""
        }
        ListElement{
            col0: "或者扫描该二维码,下载“九州行地图【互联版】”,并安装。"
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_01-2_iPhone.png"
            col2: ""
        }
        ListElement{
            col0: "2.安卓手机可进入应用宝,下载“九州行地图互联版”,并安装。"
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_01-2_Android.png"
            col2: ""
        }
        ListElement{
            col0: "或者扫描该二维码,下载“九州行地图【互联版】”,并安装。"
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_02-2_Android.png"
            col2: ""
        }
        ListElement{
            col0: "3.使用USB数据线连接手机和车机后,可进入智能互联界面。"
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_03_Android.png"
            col2: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_USB.png"
        }
        ListElement{
            col0: "备注:车机和手机通过蓝牙建立连接后,车机端才能够播放手机端声音。"
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_Notes_02.png"
            col2: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_BT.png"
        }
    }
    ListModel {
        id: instructionModelEn
        ListElement{
            col0: "1.IPhone users can enter App Store to download and install \"九州行地图【互联版】\" APP by phone side."
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_01-1_iPhone.png"
            col2: ""
        }
        ListElement{
            col0: "Users can scan the QR code to download and install \"九州行地图【互联版】\" APP also."
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_01-2_iPhone.png"
            col2: ""
        }
        ListElement{
            col0: "2.Android users can enter \"应用宝\" to download and install \"九州行地图互联版\" APP by phone side."
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_01-2_Android.png"
            col2: ""
        }
        ListElement{
            col0: "Users can scan the QR code to download and install \"九州行地图【互联版】\" APP also."
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_02-2_Android.png"
            col2: ""
        }
        ListElement{
            col0: "3.Use the USB data cable to connect the phone and car, and then entry i-Link APP interface."
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_03_Android.png"
            col2: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_USB.png"
        }
        ListElement{
            col0: "Note:When the phone and car are connected via BT, car side play mobile phone voice."
            col1: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_Notes_02.png"
            col2: "/usr/bin/qml_link/images/AppLink/Type_I_Home/I_02_Home/M8X_Instructions_BT.png"
        }
    }

    ListView{
        id:disconnectInstruction
        visible:!bConnected
        y:73
        width:parent.width
        height:804
        model:applinkControl.getLanguageType()==true?instructionModelCn:instructionModelEn
        delegate:instructionDelegate
        snapMode:ListView.SnapToItem
        clip:true
        boundsBehavior: Flickable.StopAtBounds
        //highlightRangeMode: ListView.StrictlyEnforceRange

        onMovementStarted: {
            refreshList.restart()
        }
        onMovementEnded:{
            refreshList.stop()
            disconnectInstruction.currentIndex = disconnectInstruction.indexAt(disconnectInstruction.contentX,disconnectInstruction.contentY);
            if(listCurIndex != disconnectInstruction.currentIndex){
                listCurIndex = disconnectInstruction.currentIndex;
                applinkControl.QML_NotifyDisconnectTextIndex(disconnectInstruction.currentIndex);
            }
        }
        onFlickEnded:{
            refreshList.stop()
        }
        onFlickStarted:{
            refreshList.restart()
        }
//        onCurrentIndexChanged:{
//            console.log("---[applink]-----disconnect text index is "+disconnectInstruction.currentIndex)
//            applinkControl.QML_NotifyDisconnectTextIndex(disconnectInstruction.currentIndex);
//        }
        Timer{
            id:refreshList
            interval: 800
            repeat: true
            running: false
            onTriggered:
            {
                if(disconnectInstruction.visible)
                {
                    disconnectInstruction.visible = false
                    disconnectInstruction.visible = true
                }
            }
         }

    }

    Component{
        id:instructionDelegate
        Item{
            x:0
            y:73
            width:960
            height: 402
            visible:!bConnected
            Text{
                id:instructionText
                font.pixelSize: 30
                wrapMode: Text.WordWrap
                color: "white"
                anchors.left: parent.left
                anchors.leftMargin: 120
                anchors.top: parent.top
                anchors.topMargin: 32
                horizontalAlignment:Text.AlignLeft
                width:420
                height:270
                lineHeightMode:Text.FixedHeight
                lineHeight:60.0
                font.family:applinkControl.getLanguageType()? "方正兰亭黑简体":"Arial"
                text:col0
            }

            Image{
                id:instructionImg1
                anchors.right: parent.right
                anchors.rightMargin: 114
                anchors.top: parent.top
                anchors.topMargin: 0
                source:col1
            }
            Image{
                id:instructionImg2
                anchors.left: parent.left
                anchors.leftMargin: 177
                anchors.bottom: parent.bottom
                anchors.bottomMargin: 93
                source:col2
            }
            Connections{
                target:applinkControl
                onSignalLanguageChanged:{
                    console.log("----[applink]----home disconnect delegate language changed--")
                    instructionText.font.family = applinkControl.getLanguageType()? "方正兰亭黑简体":"Arial"
                }
            }
        }
    }
    HMIButton{
        id: naviBtn
        visible:bConnected
        x:158
        y:238-160
        btnImg:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_Navi.png"
        btnImgOnPressed:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_Navi_p.png"
        onClicked:{
            
            if(applinkControl.QML_GetSppLinkWarningStatus()==1){
                ScreenManager.forward(Layout.APPLINK,WindowsList.APP_LOCATION);
            }else{
                ScreenManager.forward(Layout.APPLINK,WindowsList.APP_NAVI_WARNING);
            }
			applinkControl.QML_NotifyNaviEnterned();

        }
    }
    HMILabel{
        x:152
        y:417-160
        font.pixelSize:26
        width:156
        height:28
        text: qsTr("导航") + applinkControl.qsEmptyString
        clip:true
        visible:bConnected
    }

    HMIButton{
        id: weatherBtn
        visible:bConnected
        x:408
        y:238-160
        btnImg:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_Weather.png"
        btnImgOnPressed:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_Weather_p.png"
        onClicked:{
            ScreenManager.forward(Layout.APPLINK,WindowsList.APP_WEATHERINFOR);
        }
    }
    HMILabel{
        x:402
        y:417-160
        font.pixelSize:26
        width:156
        height:28
        text: qsTr("天气") + applinkControl.qsEmptyString
        color: "white"
        clip:true
        visible:bConnected
    }

    HMIButton{
        id: newsBtn
        visible:bConnected
        x:658
        y:238-160
        btnImg:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_News.png"
        btnImgOnPressed:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_News_p.png"
        onClicked:{
            applinkControl.QML_RemoveNewsChannel()
            applinkControl.QML_RemoveNewsTitle()
            applinkControl.QML_NIF_NEWS_RequestNewsChannels()
            ScreenManager.forward(Layout.APPLINK,WindowsList.APP_NEWSCLASS);
        }
    }
    HMILabel{
        x:652
        y:417-160
        font.pixelSize:26
        width:156
        height:28
        text: qsTr("新闻") + applinkControl.qsEmptyString
        color: "white"
        clip:true
        visible:bConnected
    }

    HMIButton{
        id: fmBtn
        visible:bConnected
        x:158
        y:508-160
        btnImg:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_Himalayan.png"
        btnImgOnPressed:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_Himalayan_p.png"
        onClicked:{
            applinkControl.RemoveXMsSrhAlbumsListModel()
            applinkControl.RemoveXMsSrhSoundListModel()
            applinkControl.QML_RemoveRadioChannel()
//             if(2 != applinkControl.QML_GetSourceCtrlType()){
//                 applinkControl.QML_NIF_XM_RequesResumeTrackPlay();
//                 applinkControl.QML_NIF_XM_RequestResumeRadioPlay();
//             }

            ScreenManager.forward(Layout.APPLINK,WindowsList.APP_HIMALAYAN_FUNCTIONLIST);
        }
    }
    HMILabel{
        x:152
        y:687-160
        font.pixelSize:26
        width:156
        height:28
        text: qsTr("电台") + applinkControl.qsEmptyString
        color: "white"
        clip:true
        visible:bConnected
    }

    HMIButton{
        id: bdBtn
        visible:bConnected
        x:408
        y:508-160
        btnImg:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_baidumusic.png"
        btnImgOnPressed:  imagePath+"Type_I_Home/I_02_Home/M8X_icon_baidumusic_p.png"
        onClicked:{
            applinkControl.QML_NIF_Baidu_LoadSearchKeywordList()
            applinkControl.QML_NIF_Baidu_RequestSongList()
            ScreenManager.forward(Layout.APPLINK,WindowsList.APP_BAIDUMUSIC_SEARCHMAIN)
        }
    }
    HMILabel{
        x:402
        y:687-160
        font.pixelSize:26
        width:156
        height:28
        text: qsTr("音乐") + applinkControl.qsEmptyString
        color: "white"
        clip:true
        visible:bConnected
    }

    Text{
        id:disconnectTitle
        font.pixelSize: 30
        visible:!bConnected
        color: "white"
        y:25
        anchors.horizontalCenter: parent.horizontalCenter
        font.family:applinkControl.getLanguageType()? "方正兰亭黑简体":"Arial"
        text:qsTr("连接说明") + applinkControl.qsEmptyString
    }

    App_Com_Popup2msg2btn{
        id:popMsg_checkVer
        newspopText1: qsTr("发现新版本,是否升级?") + applinkControl.qsEmptyString
        newspopText2: qsTr("新版本: XXXXXXXXX") + applinkControl.qsEmptyString
        btnTextLeft: qsTr("是") + applinkControl.qsEmptyString
        btnTextRight: qsTr("否") + applinkControl.qsEmptyString
        onSignal_btnLeftClick:{
            popMsg_checkVer.visible = false
            applinkControl.QML_NIF_Ver_GetUpgradePkg(upgradeVersion)
            if (bPackageInPhone)
            {
                bInstalling = true
            }

            popMsg_doInstall.visible = true
            loadingIcon.visible = true
        }
    }

    App_Com_Popup2btn{
        id:popMsg_upgradeFailed
        newspopText: qsTr("下载失败,是否重试?") + applinkControl.qsEmptyString
        btnTextLeft: qsTr("是") + applinkControl.qsEmptyString
        btnTextRight: qsTr("否") + applinkControl.qsEmptyString
        onSignal_btnLeftClick:{
            popMsg_upgradeFailed.visible=false
            popMsg_doInstall.visible = true
            loadingIcon.visible = true
            applinkControl.QML_NIF_Ver_GetUpgradePkg(upgradeVersion)
        }
    }

    App_Com_Newspopup{
        id:popMsg_doInstall
        z: 3
        labelCount: 2
        newspopText1: qsTr("升级包下载中...")  + applinkControl.qsEmptyString
        newspopText2: qsTr("请不要进行其他操作!")  + applinkControl.qsEmptyString
        visible:false
        bIsTouchClear:false
        bHasBackgroundImage : false
        yOffset : -75
    }

    App_Loading{
        id:loadingIcon
        z: 4
        loadingPath: imagePath+"Common/Loading_60/"
        surname: "M8X_Loading_60_"
        anchors.horizontalCenter:parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 450
        visible:false
    }

    Timer{
        id:wait_timer
        interval: 5000
        onTriggered: {
            applinkControl.closeApplinkupgrade()
            bCloseUpgrade = true
        }
    }


    Timer{
        id:delay_connect_status_timer
        interval:3000
        onTriggered:{
            bConnected = applinkControl.QML_GetSppLinkStatus()
            bdBtn.visible = bConnected
            naviBtn.visible = bConnected
            weatherBtn.visible = bConnected
            newsBtn.visible = bConnected
            fmBtn.visible = bConnected
            if (bConnected)
            {
                applinkControl.QML_NotifyConnectStatus()
                setpayinfo_timer.start()
                applinkControl.QML_NIF_Tmcpay_SetPayInfo(applinkControl.QML_GetTmcPaySetStr())
            }
        }
    }

    Timer{
        id:setpayinfo_timer
        interval: 2000
        repeat: true
        onTriggered: {
            if (!bSetPayInfo)
            {
                applinkControl.QML_NIF_Tmcpay_SetPayInfo(applinkControl.QML_GetTmcPaySetStr())
            }
            else
            {
                setpayinfo_timer.stop()
            }
        }
    }

    //底部动能栏
    Row{
        id: functionArea
        y:1041-160
        HMIButton{
            id: quitBtn
            btnImgOnPressed:  imagePath +"Common/M8X_Function_close_Button_p.png"
            btnImg:  imagePath+"Common/M8X_Function_close_Button.png"
            btnIcon: imagePath+"Common/M8X_icon_close.png"
            onClicked:{
                applinkControl.QML_CloseAppLink()
            }
        }   
        HMIButton{
            id: nosw
            enabled: false
            btnImgOnPressed:  imagePath +"M8X_Function_1_Button_p.png"
            btnImg:  imagePath+"M8X_Function_1_Button.png"
        }
        HMIButton{
            id: halfBtn
            btnImgOnPressed:  imagePath +"Common/M8X_Function_close_Button_p.png"
            btnImg:  imagePath+"Common/M8X_Function_close_Button.png"
            btnIcon: imagePath+"Type_I_Home/I_02_Home/M8X_icon_shrink.png"
            onClicked:{
                applinkControl.QML_ChangeToHalfMode();
            }
        }

    }

    HMIWindowLine{

    }

    Connections{
        target:applinkControl
        onSignal_sspLinkStatusChanged:{
            //bConnected = bIsConnectPhone;
            if(bIsConnectPhone){
                bcheckdone = false
                delay_connect_status_timer.start();
            }else{
                bConnected = false
                bdBtn.visible = bConnected
                naviBtn.visible = bConnected
                weatherBtn.visible = bConnected
                newsBtn.visible = bConnected
                fmBtn.visible = bConnected
                popMsg_checkVer.visible = false
                popMsg_upgradeFailed.visible = false
                popMsg_doInstall.visible = false
                loadingIcon.visible = false
                bSetPayInfo = false
                applinkControl.QML_SetPlayType(2)
                applinkControl.QML_Baidu_SetIsPlay(false)
                applinkControl.QML_setSearchSoundPlay(false)
                applinkControl.QML_SetCurrentPlayApp(0)
            }
        }

        onSignal_TMC_SetPayInfo_Success:{
            bSetPayInfo = true
            if (!bcheckdone)
            {
                localVersion = applinkControl.GetLocalVersion()
                applinkControl.QML_NIF_Ver_CheckUpgradePkg(localVersion)
            }
            applinkControl.QML_NotifyConnectStatus()
        }

        onSignalLanguageChanged:{
            popMsg_checkVer.newspopText2 = qsTr("新版本: ") + upgradeVersion + applinkControl.qsEmptyString
            console.log("-------[applink]---[home]------onSignalLanguageChanged")
            disconnectInstruction.model = (applinkControl.getLanguageType()?instructionModelCn:instructionModelEn)
            disconnectTitle.font.family = applinkControl.getLanguageType()? "方正兰亭黑简体":"Arial"

        }

        onSignal_Ver_DownloadComplete:{
            bcheckdone = false
            localVersion = applinkControl.GetLocalVersion()
            applinkControl.QML_NIF_Ver_CheckUpgradePkg(localVersion)
        }

        onSignal_Ver_CheckUpgradePkgEnd:{
            console.log("onSignal_Ver_CheckUpgradePkgEnd")
            bcheckdone = true
            if (bIsLocal)
            {
                if (bHasUpgradePkg)
                {
                    bPackageInPhone = bIsLocal
                    upgradeVersion = upgradeVerNo
                    popMsg_checkVer.newspopText2 = qsTr("新版本: ") + upgradeVersion + applinkControl.qsEmptyString
                    popMsg_checkVer.visible = true
                }
            }
        }

        onSignal_Ver_GetUpgradePkgEnd:{
            console.log("onSignal_Ver_GetUpgradePkgEnd")

            if (!bSucc)
            {
                popMsg_doInstall.visible = false
                loadingIcon.visible = false
                if (bConnected)
                {
                    popMsg_upgradeFailed.visible = true
                }
            }
            else
            {
                if (bFinish)
                {
                    applinkControl.QML_Save_Version()
                    applinkControl.startApplinkupgrade();
                }
            }
        }

        onSignal_Sys_StartLinkUpgrade:{
            console.log("-------------applink----------start upgrade----------------------------")
            popMsg_doInstall.visible = false
            loadingIcon.visible = false
            applinkControl.QML_ShowAppLinkUpgrade()
        }
        onSignalChangeToFullMode:{
            console.log("------[applink]--------change to Full Mode-------------------------")

            switch(uiAppID)
            {
                case 1:
                    if(applinkControl.QML_GetSppLinkWarningStatus()==1){
                        ScreenManager.forward(Layout.APPLINK,WindowsList.APP_LOCATION);
                    }else{
                        ScreenManager.forward(Layout.APPLINK,WindowsList.APP_NAVI_WARNING);
                    }
                    applinkControl.QML_NotifyNaviEnterned();
                break;
                case 2:
                    ScreenManager.forward(Layout.APPLINK,WindowsList.APP_WEATHERINFOR);
                break;
                case 3:
                    applinkControl.QML_RemoveNewsChannel()
                    applinkControl.QML_RemoveNewsTitle()
                    applinkControl.QML_NIF_NEWS_RequestNewsChannels()
                    ScreenManager.forward(Layout.APPLINK,WindowsList.APP_NEWSCLASS);
                break;
                case 4:
                    applinkControl.RemoveXMsSrhAlbumsListModel()
                    applinkControl.RemoveXMsSrhSoundListModel()
                    applinkControl.QML_RemoveRadioChannel()
                    ScreenManager.forward(Layout.APPLINK,WindowsList.APP_HIMALAYAN_FUNCTIONLIST);
                break;
                case 5:
                    applinkControl.QML_NIF_Baidu_LoadSearchKeywordList()
                    applinkControl.QML_NIF_Baidu_RequestSongList()
                    ScreenManager.forward(Layout.APPLINK,WindowsList.APP_BAIDUMUSIC_SEARCHMAIN)
                break;
                default:
                break;
            }
        }
        onSignalChangeBackground:{
            app_home.source = qstrPath
        }
        onSignalLinkAppVisibleStatus:{
            if(visible && (1 === iShowStatus)){
                app_home.source = systemCtrlLink.getBackGroundType()
            }
        }
        onSignalDisconnectTextIndexChanged:{
            console.log("-----[applink]----onSignalDisconnectTextIndexChanged---")
            //disconnectInstruction.currentIndex = iTextIndex;
            disconnectInstruction.positionViewAtIndex(iTextIndex,ListView.Beginning)
            listCurIndex = iTextIndex;
        }
    }
}