import QtQuick 2.0 import "../com/neusoft/auto/widgets" import "../windowsList.js" as WindowsList import "../layoutList.js" as Layout import "./Ve5.js" as Ve5 import "../Setting/Settinglist.js" as Setting import "../AC/AC.js" as AC import Label 2.0 HMIWindow{ id:ve5Main // Component.onCompleted: // { // if(!systemCtrl.getWarningFlag()) // { // ve5Ctrl.startVe5Process(); // } // systemCtrl.setGestureShieldState(Layout.GESTURE_POP,Layout.POP_ALL_NOT_AVAILABLE) // windowID=WindowsList.VE5_HOME; // } // onVisibleChanged: // { // bFullWindow = false; // bMainWindow = false; // bButtonBarVisiable = false; // if(ve5Main.visible==true) // { // console.log("---[HMI][Ve5.qml]-----------------------ve5Main.visible==true----------------------"); // console.log("---[HMI][Ve5.qml]-----------------------ve5Ctrl.ve5ProcessFinish----------------------",ve5Ctrl.ve5ProcessFinish); // ve5Ctrl.setAppCommonMediaInfo(); // ve5Ctrl.fullToClose = false; // if((!systemCtrl.getWarningFlag())&&(1===ve5Ctrl.ve5ProcessFinish) ) //add by lizhe for half->full // { // //ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME) // console.log("---[HMI][Ve5.qml]-----------------------ve5ShowTimer start----------------------",Qt.formatDateTime(new Date(),"hh-mm-ss")); // ve5ShowTimer.restart(); // //waitTime.restart(); // } // if (ve5Main.y ===ve5Main.yUp) // { // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_BODYA_HALF); // } // if(ve5Main.y == ve5Main.yDown) // { // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_BODYB_HALF); // } // } // else if((ve5Main.visible==false)&&(1===ve5Ctrl.ve5ProcessFinish) ) // { // console.log("---[HMI][Ve5.qml]-----------------------ve5Main.visible==false----------------------") // ve5ShowTimer.stop(); // waitTime.restart(); // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // } // } // onMaxWindow: { // if ( ve5Main.visible && ve5Main.bMaxWindow && 1===ve5Ctrl.ve5ProcessFinish) // { // console.log("---[HMI][Ve5.qml]-----------------------onMaxWindow----------------------"); // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_FULL_BODY); // ve5Ctrl.windowResize(960,960); // ve5Ctrl.fullToClose = false; // } // } // onMinWindow: { // // if(!ve5Ctrl.fullToClose) // // { // if (ve5Main.visible) // { // console.log("---[HMI][Ve5.qml]-----------------------onMinWindow----------------------"); // if (1===ve5Ctrl.ve5ProcessFinish) // { // ve5Ctrl.windowResize(960,480); // } // if (ve5Main.y ===ve5Main.yUp) // { // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_BODYA_HALF); // } // if(ve5Main.yDown == ve5Main.y) // { // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_BODYB_HALF); // } // } // // } // //ve5Ctrl.fullToClose = false; // } // onYChanged: // { // if (ve5Main.visible === true && !ve5Main.bMaxWindow){ // if (ve5Main.y ===ve5Main.yUp) // { // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_BODYA_HALF); // } // if(ve5Main.yDown == ve5Main.y) // { // systemCtrl.changWindowlayerState(Layout.Ve5_Layer,Layout.SYSTEM_BODYB_HALF); // } // } // } // Rectangle{ // id: blackback // width:960 // height:bMaxWindow?956:476 // x:0 // y:2 // color:"black" // visible: false // } // HMILabel{ // id:loading_label // x:390 // y:bMaxWindow?312:156 // font.pixelSize:30 // width:200 // height:50 // text:systemCtrl.iLanguage == 1?qsTr("加载中..."):qsTr("Loading…") // color: "white" // clip:true // //changed by lizhe // visible:ve5Ctrl.ve5ShowStatus?false:true // //changed by lizhe // } // HMILoading // { // id:powerloadTimer // x:450 // y:bMaxWindow?451:225 // visible: ve5Ctrl.ve5ShowStatus?false:true // } // Timer{ // id:ve5ShowTimer // interval: 2000 // onTriggered: { // if (1===ve5Ctrl.ve5ProcessFinish) // { // ve5Ctrl.windowShow(); // } // } // } // Timer{ // id : waitTime // interval: 30 // onTriggered: { // if (ve5Main.visible==true ) // { // if (checkStaus() ) // { // if(checkWarningPop()) // { // reqVe5Show (); // } // } // else // { // if ((ScreenManager.getFormInfo(WindowsList.VE5_HOME)&7) !=0 // &&(ScreenManager.getFormInfo(WindowsList.VE5_HOME)&7)!=4 ) // { // reqVe5LowerShow(); // } // } // } // else // { // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide) // ve5Ctrl.windowHide(); // } // } // } // Timer{ // id : sleepTime // interval: 13000 // onTriggered: { // console.log("---[HMI][Ve5.qml]----------Ve5--Process---Finish-----------------------------------------"); // ve5Ctrl.setBeepSetting(); // if (ve5Main.visible==true && !systemCtrl.getWarningFlag()) // { // //ve5Main.opacity = 0 //// if(checkWarningPop()){ //// console.log("---[HMI][Ve5.qml]----------waitTime-------start----------------------------------",Qt.formatDateTime(new Date(),"hh-mm-ss")); //// waitTime.start(); //// } // console.log("---[HMI][Ve5.qml]----------sleepTime-----------show------------------------------",Qt.formatDateTime(new Date(),"hh-mm-ss")); // ve5Ctrl.windowShow(); // } // if(ve5Ctrl.getVe5ProcessFinish()==1) // { // systemCtrl.setGestureShieldState(Layout.GESTURE_POP,Layout.POP_ALL_AVAILABLE) // } // } // } // Timer{ // id : halftoFull // interval:100 // onTriggered: { // if(ve5Main.visible==true) // { // if(checkWarningPop() && checkStaus() && ve5Ctrl.getVe5ProcessFinish()==1 ) // { // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerShow); // console.log("---[HMI][Ve5.qml]-----------------------blackback隐藏----------------------------"); // blackback.visible = false; // ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME) // } // } // } // } // Connections // { // target: ve5Ctrl // onSigVe5Show:{ // console.log("----onSigVe5Show----------------------------------------------",Qt.formatDateTime(new Date(),"hh-mm-ss")); // if (ve5Main.visible==true) // { // //blackback.visible=false; // ve5Ctrl.ve5ShowStatus = true; // if(checkWarningPop()){ // waitTime.start(); // } // } // } // onSigVe5Hide:{ // //console.log("----onSigVe5Hide----------"); // if (ve5Main.visible==false) // { // //blackback.visible=true; // } // } // onVe5AppStartSuccess: // { // if (ve5Main.visible==true) // { // sleepTime.start() // } // } // onUrlOpened: // { // } // onVe5FullScreen: // { // console.log("---[HMI][Ve5.qml]----------receive---ve5FullScreen--signal------------------------------"); // if (!ve5Main.bMaxWindow ) // { // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // blackback.visible = true; // halftoFull.restart(); // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide); // ScreenManager.changeForm(Layout.FM_MAXIMIZE,WindowsList.VE5_HOME); // } // } // onVe5HalfScreen: // { // console.log("---[HMI][Ve5.qml]----------receive---ve5HalfScreen--signal------------------------------"); // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // blackback.visible = true; // halftoFull.restart(); // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide); // ScreenManager.changeForm(Layout.FM_MINIMUM,WindowsList.VE5_HOME); // } // onVe5ShowAll: // { // console.log("---[HMI][Ve5.qml]----------receive---ve5ShowAll--signal----------------------------------"); // } // onVe5HideAll: // { // console.log("---[HMI][Ve5.qml]----------receive---ve5HideAll--signal-----------------------------------"); // ScreenManager.changeForm(Layout.FM_CLOSE,WindowsList.VE5_HOME) // } // } // Connections // { // target:ScreenManager // onFormchange:{ // console.log("---[HMI][Ve5.qml]-----------overlay--------------------------",formType); // console.log("---[HMI][Ve5.qml]-----------overlay&7------------------------",(ScreenManager.getFormInfo(WindowsList.VE5_HOME)&7)); // if (((ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) != 0)&& // ((ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) != 4)) // { // if(ve5Main.visible) // { // console.log ("---[HMI][Ve5.qml]----onFormchange-----------在线娱乐需要显示------------------------"); // if (formType === Layout.overlayerShow)//有POPUP显示 // { // if (!checkStaus()){ // console.log("---[HMI][Ve5.qml]------------onFormchange-----------Ve5-LowerShow--------------------------"); // reqVe5LowerShow() // } // } // else // { // if (checkStaus())//check是否还有其他popup // { // if((!systemCtrl.getWarningFlag()) && (ve5Ctrl.getVe5ProcessFinish()==1) && ve5Ctrl.ve5ShowStatus ) // { // waitTime.restart(); // } // } // else // { // waitTime.stop(); // } // } // } // } // else // { // if( (ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) ==0 // || (ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 4) // { // if(ve5Main.visible ) // { // waitTime.stop(); // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide) // } // } // } // } // } // Connections // { // target: systemCtrl // onPowerNotice : // { // console.log("---[HMI][Ve5.qml]----Ve5--------onPowerNotice--------------------",status); // if(status ===0 || status===2) // { // console.log("---[HMI][Ve5.qml]----Ve5------power-off-------------------"); // reqVe5LowerShow() // } // else if (status ===1 || status === 3) // { // console.log("---[HMI][Ve5.qml]----Ve5------power-on--------------------"); // if (checkStaus()) // { // reqVe5Show() // } // } // else // { // console.log ("---[HMI][Ve5.qml]----Ve5------status---error-----------------"); // } // } // onWarningFlagChange: // { // pop1.popBackVisible = checkTboxConnection() // pop2.popBackVisible = checkWifiConnection() // pop3.popBackVisible = checkDataWaring() // if(ve5Main.bMaxWindow) // { // ve5Ctrl.fullToClose = true // ScreenManager.changeForm(Layout.FM_MINIMUM,WindowsList.VE5_HOME); // } // if(ve5Main.visible) // { // ve5Ctrl.startVe5Process(); // } // } // } // Connections // { // target:btCtrl // onBtIncommingCallChanged:{ // ve5Ctrl.MuteOn(); // } // onBtTeminateCallChanged:{ // ve5Ctrl.MuteOff(); // } // onBtPhoneAnswerChanged:{ // ve5Ctrl.MuteOn(); // } // onBtOutGoingCallChanged:{ // ve5Ctrl.MuteOn(); // } // } // Connections // { // target: acCtrl // /*****倒车***************/ // onCvbsStatusOn:{ // console.log("---[HMI][Ve5.qml]----Ve5-----DaoChe----on-----------------------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onCvbsStatusOff:{ // console.log("---[HMI][Ve5.qml]----Ve5-----DaoChe----off-----------------------------------"); // if (ve5Main.visible&& (ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2) // { // if (checkStaus()) // { // reqVe5Show() // } // } // } // /*********空调*****BODY B************/ // onShowAdjustment:{ // console.log("---[HMI][Ve5.qml]----Ve5------ShowAdjustment-----------------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onHideAdjustment:{ // console.log("---[HMI][Ve5.qml]----Ve5------HideAdjustment----------------------------"); // if (ve5Main.visible &&(ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2) // { // if (checkStaus()) // { // reqVe5Show() // } // } // } // /*********空调*****乘客温度区域************/ // onShowPassengerTemp:{ // console.log("---[HMI][Ve5.qml]----Ve5----------ShowPassengerTemp---------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onHidePassengerTemp:{ // console.log("---[HMI][Ve5.qml]----Ve5----------HidePassengerTemp---------------------"); // if (ve5Main.visible&&(ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2) // { // if (checkStaus()) // { // reqVe5Show() // } // } // } // /*********空调*****驾驶员温度************/ // onShowDriverTemp:{ // console.log("---[HMI][Ve5.qml]----Ve5----------ShowDriverTemp---------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onHideDriverTemp:{ // console.log("---[HMI][Ve5.qml]----Ve5----------HideDriverTemp---------------------"); // if (ve5Main.visible&&(ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2) // { // if (checkStaus()) // { // reqVe5Show() // } // } // } // onShowDriverSeat:{ // console.log("---[HMI][Ve5.qml]----Ve5----------showDriverSeat---------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onHideDriverSeat:{ // console.log("---[HMI][Ve5.qml]----Ve5----------hideDriverSeat-----------------------"); // if (ve5Main.visible&&(ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2) // { // if (checkStaus()) // { // reqVe5Show() // } // } // } // onShowPassengerSeat:{ // console.log("---[HMI][Ve5.qml]----Ve5----------showPassengerSeat---------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onHidePassengerSeat:{ // console.log("---[HMI][Ve5.qml]----Ve5----------hidePassengerSeat---------------------"); // if (ve5Main.visible&&(ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2) // { // if (checkStaus()) // { // reqVe5Show() // } // } // } // } // Connections // { // target: settingCtrl // onTellQuickLinkShow:{ // console.log("---[HMI][Ve5.qml]----Ve5----------TellQuickLinkShow---------------------"); // if (ve5Main.visible) // { // reqVe5LowerShow() // } // } // onTellQuickLinkHide:{ // console.log("---[HMI][Ve5.qml]----Ve5----------TellQuickLinkHide---------------------"); // if (ve5Main.visible) // { // if (checkStaus()) // { // if((ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) == 2 ) // { // reqVe5Show(); // } // } // } // } // onMobileDataSwitchChanged:{ // console.log("---[HMI][Ve5.qml]----Ve5----------onMobileDataSwitchChanged---------------------",settingCtrl.mobileDataSwitch); // if (settingCtrl.mobileDataSwitch == 1) // { // if ( 1===systemCtrl.checkAppCommCodingData(23) ) // { // if (checkStaus() && ve5Ctrl.getVe5ProcessFinish()==1&& ve5Ctrl.ve5ShowStatus) // { // ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerShow); // } // pop3.popBackVisible = false; // } // } // } // } // Connections{ // target: carlinkCtrl // onSigNetworkTypeChanged:{ // //console.log("~~~~~~~~~~onSigNetworkTypeChanged~~~~~~~~~~~"); // pop1.popBackVisible = checkTboxConnection() // pop2.popBackVisible = checkWifiConnection() // pop3.popBackVisible = checkDataWaring() // } // onSigWifiConnectChanged:{ // //console.log("~~~~~~~~~~onSigWifiConnectChanged~~~~~~~~~~~"); // pop2.popBackVisible = checkWifiConnection() // } // onSigTBoxConnectChanged:{ // pop1.popBackVisible = checkTboxConnection() // } // onSigAutoDisconnectChanged:{ // console.log("~~~~~~~~~~onAutoDisconnect~~~~~~~~~~~"); // pop3.popBackVisible = checkDataWaring() // } // } // Ve5WarningPage{ // id :pop1 // popBackVisible:checkTboxConnection() // popText: systemCtrl.iLanguage === 1?qsTr("未接续T-Box,多媒体音响无法上网,请通过外部Wi-Fi上网") // :qsTr("T-Box is not connected to Internet.Please use external Wi-Fi.") // textLayout: Label.AlignLeft // } // Ve5WarningPage{ // id : pop2 // popBackVisible:checkWifiConnection() // popText : systemCtrl.iLanguage === 1?qsTr("请在华晨云设置中选择外部Wi-Fi设备进行连接或者选择车机上网方式") // :qsTr("Please select the external Wi-Fi device or select \"Vehicle\" in the Settings-Brilliance-Air menu.") // textLayout: Label.AlignLeft // } // Ve5WarningPage{ // id : pop3 // popBackVisible: checkDataWaring() // popText : systemCtrl.iLanguage === 1?qsTr("T-Box 数据流量以达上限, 当前网络不可用") // :qsTr("T-Box data has exceeded the limit, the Internet is not available.") // } // function checkStaus() // { // var status = false; // /* // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",acCtrl.iCVBSStatus === AC.HMI_CVBS_OFF); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",systemCtrl.getPowerStatus()===Layout.POWER_ON); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",acCtrl.getAdjustmentPageStatus() === AC.AC_BODYB_PAGE_HIDE); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",acCtrl.getDriverTempPageStatus() === AC.AC_BODYB_PAGE_HIDE); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",acCtrl.getPassengerTempPageStatus() === AC.AC_BODYB_PAGE_HIDE); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",!ScreenManager.checkHighOverlay(WindowsList.MIRRORLINK_MAIN)); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",settingCtrl.getQuickLinkShowState() === Setting.QUICK_LINK_HIDE); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",!vrCtrl.vrGetVisibleStatus()); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",acCtrl.getDriverSeatPageStatus() === AC.AC_BODYB_PAGE_HIDE); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",acCtrl.getPassengerSeatPageStatus() === AC.AC_BODYB_PAGE_HIDE); // console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7); // */ // //changed by lizhe #naca ST_Bug #137531 // if (acCtrl.iCVBSStatus === AC.HMI_CVBS_OFF // && systemCtrl.getPowerStatus()===Layout.POWER_ON // && acCtrl.getAdjustmentPageStatus() === AC.AC_BODYB_PAGE_HIDE // && acCtrl.getDriverTempPageStatus() === AC.AC_BODYB_PAGE_HIDE // && acCtrl.getPassengerTempPageStatus() === AC.AC_BODYB_PAGE_HIDE // &&!ScreenManager.checkHighOverlay(WindowsList.VE5_HOME) // && settingCtrl.getQuickLinkShowState() === Setting.QUICK_LINK_HIDE // && !vrCtrl.vrGetVisibleStatus() // && acCtrl.getDriverSeatPageStatus() === AC.AC_BODYB_PAGE_HIDE // && acCtrl.getPassengerSeatPageStatus() === AC.AC_BODYB_PAGE_HIDE // && (ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) !== 0 // && (ScreenManager.getFormInfo(WindowsList.VE5_HOME) &7) !== 4) // { // status = true; // return status; // } // return status; // } // function reqVe5Show() // { // if (checkWarningPop()) //add for QC186330 // { // console.log("---[HMI][Ve5.qml]----Ve5----------reqVe5Show----------------------------------"); // ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME); // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerShow) // } // } // function reqVe5LowerShow() // { // //changed for QC 186791 by lizhe // if (checkWarningPop()) // { // console.log("---[HMI][Ve5.qml]----Ve5----------reqVe5LowerShow----------------------------------"); // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerLowerShow); // } // } // function checkWarningPop() // { // if (pop1.popBackVisible ===false && pop2.popBackVisible ===false && pop3.popBackVisible === false) // { // return true; // } // else // { // return false; // } // } // function checkDataWaring() // { // if (1==systemCtrl.checkAppCommCodingData(23) // && carlinkCtrl.networkType ==Ve5.TYPE_TBOX // && carlinkCtrl.getTboxConnectedValue() // && carlinkCtrl.disconnectNet ==1) // { // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide); // return true; // } // return false; // } // function checkTboxConnection (){ // if ( 1===systemCtrl.checkAppCommCodingData(23)) // { // if (carlinkCtrl.networkType ===Ve5.TYPE_TBOX ) // { // if(!carlinkCtrl.getTboxConnectedValue()) // { // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide); // pop3.popBackVisible = false; // return true; // } // else{ // if (checkStaus() && ve5Ctrl.getVe5ProcessFinish()==1&& ve5Ctrl.ve5ShowStatus) // { // ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerShow); // } // return false; // } // } // else{ // return false; // } // } // else{ // return false; // } // } // function checkWifiConnection(){ // //console.log("----------checkWifi---------------------",carlinkCtrl.networkType); // //console.log("----------checkWifi---------------------", !carlinkCtrl.getWifiConnectedValue()); // if (1===systemCtrl.checkAppCommCodingData(23)) // { // if(carlinkCtrl.networkType === Ve5.TYPE_WIFI ) // { // if( !carlinkCtrl.getWifiConnectedValue()) // { // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide); // return true; // } // else { // if (checkStaus() && ve5Ctrl.getVe5ProcessFinish()==1 && ve5Ctrl.ve5ShowStatus) // { // ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerShow); // } // return false; // } // } // else // { // return false; // } // } // else // { // if ( !carlinkCtrl.getWifiConnectedValue()) // { // ScreenManager.changeForm(Layout.FM_OPACITY_END,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerHide); // return true; // } // else // { // if (checkStaus() && ve5Ctrl.getVe5ProcessFinish()==1 && ve5Ctrl.ve5ShowStatus) // { // ScreenManager.changeForm(Layout.FM_OPACITY_START,WindowsList.VE5_HOME) // systemCtrl.changWindowlayer(Layout.Ve5_Layer,Layout.LayerShow); // } // return false; // } // } // } }