import QtQml 2.3 import QtQuick 2.15 import QtQuick.Window 2.2 import QtQuick.Controls 2.15 import QtDataVisualization 1.2 import QtQuick3D import QtCharts 2.0 import QtMultimedia import QtQuick.Layouts 1.3 /* 智驾系统逻辑按钮操作界面 */ Rectangle { property int carSlagState property var slagStateList : [] property string imageSchedulTitle: 'qrc:/images/schedulTitle.png' property string imageBlueOpen: 'qrc:/images/blueOpen.png' //开启 property string imageRedClose: 'qrc:/images/redClose.png' //关闭 property string imageDefault: 'qrc:/images/emptyTank.png' //默认状态是空罐 property string imageEmpty: 'qrc:/images/empty.png' //空位--状态1 property string imageEmptyTank: 'qrc:/images/emptyTank.png' //空罐(就绪)--状态2 property string imageHot: 'qrc:/images/hot.png' //热罐(缓冷)--状态3 property string imageBlueCoolOpen: 'qrc:/images/blueCoolOpen.png' //空冷(水冷)--状态4,5 property string imageWaterCool: 'qrc:/images/waterCool.png' //水冷(待倒)--状态6 property string imageMaintain: 'qrc:/images/maintain.png' //维护(故障)--状态7 property int port_carX:0 //车的坐标X property int port_carY:0 //车的坐标Y property int port_max_carX:1460 //车X坐标的最大点 property int port_min_carX:460 //车X坐标的最小点 property int port_max_carY:1340 //车Y坐标的最大点 property int port_min_carY:340 //车Y坐标的最小点 property var x_Car:0 property var y_Car:0 function getCAR_X(){ var x_car=460*(port_carX-port_min_carX)/(port_max_carX-port_min_carX); return x_car; } function getCAR_Y(){ var y_car=340*(port_carY-port_min_carY)/(port_max_carY-port_min_carY); return y_car; } function updatePointList() { pointList.clear(); // 添加新的点坐标 pointList.append({x: 0, y: 0}); pointList.append({x: 150, y: 0}); pointList.append({x:150, y: 300}); pointList.append({x: 400, y: 300}); canvas.requestPaint(); } function getCarCurrentDate() { var currentDate = new Date(); var year = currentDate.getFullYear(); var month = currentDate.getMonth() + 1; // 月份是从0开始的,所以要加1 var day = currentDate.getDate(); return year + "年" + (month < 10 ? "0" + month : month) + "月" + (day < 10 ? "0" + day : day)+"日"; } Timer { id: cartaskTime interval: 1000 repeat: true onTriggered: { carTasktime = getCarCurrentDate()+' '+new Date().toLocaleTimeString() } } property int modeSelect :1 property int choseCommand :0 property string carTasktime: "" property string warningMessage1: "" property string warningMessage2: "" property string warningMessage3: "" property string warningMessage4: "" property string warningMessage5: "" Connections{ target: FControl onSig_qml_WarningState:{ warningMessage1=map["data"][0].message warningMessage2=map["data"][1].message warningMessage3=map["data"][2].message warningMessage4=map["data"][3].message warningMessage5=map["data"][4].message } } Connections{ target: FControl onSig_qml_CarThreeState:{ if (state === 1) { car3stateText.text=carTasktime + ' '+ '离线' } if (state === 2) { popupRemind.open() timergo.stop() car3stateText.text=carTasktime + ' '+ '在线空闲' } if (state === 3) { car3stateText.text=carTasktime + ' '+ '人工驾驶中' } if (state === 4) { car3stateText.text=carTasktime + ' '+ '远程驾驶中' } if (state === 5) { car3stateText.text=carTasktime + ' '+ '自动驾驶中' } } } //将车辆渣包状态和缓冷厂所有渣包状态数据存到qml中定义的变量 Connections{ target: FControl onSig_qml_CarThreeSlagState:{carSlagState =state} onSig_qml_SlagState:{ slagStateList = []; // 清空数组 for (var i = 0; i < state.length; i++) { slagStateList.push(state[i].pot_status) } getBackgroundImage() } } Popup { id: popupRemind width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/remind.png" } } onOpened: { popupRemind.x = (parent.width - popupRemind.width) / 2 popupRemind.y = (parent.height - popupRemind.height) / 2 } Rectangle{ anchors.top: parent .top anchors.topMargin: 80 anchors.left: parent.left anchors.leftMargin: 80 Text{ id:tankTitleRemind text:'3号车已完成自动驾驶,请确认' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Button{ anchors.bottom: parent .bottom anchors.bottomMargin: 300 anchors.right: parent.right anchors.rightMargin: 100 id:okButton width: 210; height: 90; visible:true background:Image{ Image { id:okButtonImage anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:okButtonText text:'确认' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { okButtonText.color='#444444' } onExited:{ okButtonText.color='#ffffff' } onClicked:popupRemind.close() } } } Popup { id: popupNoGo width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/remind.png" } } onOpened: { popupNoGo.x = (parent.width - popupNoGo.width) / 2 popupNoGo.y = (parent.height - popupNoGo.height) / 2 } Rectangle{ anchors.top: parent .top anchors.topMargin: 80 anchors.left: parent.left anchors.leftMargin: 80 width: 360 Text{ id:tankTitleNoGo text:'根据当前车辆状态,此目标点不能前往,请重新选择!' wrapMode: Text.WrapAnywhere // 设置自动换行的属性 color:'#ffffff' font.family: alibaba.name font.pixelSize:30 width: parent.width // 确保Text的宽度与Rectangle相同 } } Button{ anchors.bottom: parent .bottom anchors.bottomMargin: 300 anchors.right: parent.right anchors.rightMargin: 100 id:okButton1 width: 210; height: 90; visible:true background:Image{ Image { id:okButtonImage1 anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:okButtonText1 text:'确认' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { okButtonText1.color='#444444' } onExited:{ okButtonText1.color='#ffffff' } onClicked:popupNoGo.close() } } } Popup { id: popupGo width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/remind.png" } } onOpened: { popupGo.x = (parent.width - popupGo.width) / 2 popupGo.y = (parent.height - popupGo.height) / 2 } Rectangle{ anchors.top: parent .top anchors.topMargin: 80 anchors.left: parent.left anchors.leftMargin: 140 Text{ id:tankTitleGo text:'是否确认前往目标点' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Button{ anchors.bottom: parent .bottom anchors.bottomMargin: 300 anchors.left: parent.left anchors.leftMargin: 50 id:okButton2 width: 210; height: 90; visible:true background:Image{ Image { id:okButtonImage2 anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:okButtonText2 text:'确认' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { okButtonText2.color='#444444' } onExited:{ okButtonText2.color='#ffffff' } onClicked:{ //暂定发指令 if(choseCommand===1) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextA.text) tankListImageA.source='qrc:/images/cyanButton.png' tankListTextA.text='A' timergo.start() } else if(choseCommand===2) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextB.text) tankListImageB.source='qrc:/images/cyanButton.png' tankListTextB.text='B' timergo.start() } else if(choseCommand===3) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextC.text) tankListImageC.source='qrc:/images/cyanButton.png' tankListTextC.text='C' timergo.start() } else if(choseCommand===4) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextD.text) tankListImageD.source='qrc:/images/cyanButton.png' tankListTextD.text='D' timergo.start() } else if(choseCommand===5) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextE.text) tankListImageE.source='qrc:/images/cyanButton.png' tankListTextE.text='E' timergo.start() } else if(choseCommand===6) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextF.text) tankListImageF.source='qrc:/images/cyanButton.png' tankListTextF.text='F' timergo.start() } else if(choseCommand===7) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextG.text) tankListImageG.source='qrc:/images/cyanButton.png' tankListTextG.text='G' timergo.start() } else if(choseCommand===8) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextH.text) tankListImageH.source='qrc:/images/cyanButton.png' tankListTextH.text='H' timergo.start() } else if(choseCommand===9) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextI.text) tankListImageI.source='qrc:/images/cyanButton.png' tankListTextI.text='I' timergo.start() } else if(choseCommand===10) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextJ.text) tankListImageJ.source='qrc:/images/cyanButton.png' tankListTextJ.text='J' timergo.start() } else if(choseCommand===11) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextK.text) tankListImageK.source='qrc:/images/cyanButton.png' tankListTextK.text='K' timergo.start() } else if(choseCommand===12) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextL.text) tankListImageL.source='qrc:/images/cyanButton.png' tankListTextL.text='L' timergo.start() } else if(choseCommand===13) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextM.text) tankListImageM.source='qrc:/images/cyanButton.png' tankListTextM.text='M' timergo.start() } else if(choseCommand===14) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101"+","+tankListTextN.text) tankListImageN.source='qrc:/images/cyanButton.png' tankListTextN.text='N' timergo.start() } else if(choseCommand===15) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口1") slagListImage1.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===16) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口2") slagListImage2.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===17) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口3") slagListImage3.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===18) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口4") slagListImage4.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===19) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口5") slagListImage5.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===20) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口6") slagListImage6.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===21) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,倒渣口7") slagListImage7.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===22) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,接渣口1") clinkeringListImage1.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===23) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,接渣口2") clinkeringListImage2.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===24) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,接渣口3") clinkeringListImage3.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===25) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,等待区") waitingButtonImage.source='qrc:/images/greenButton.png' timergo.start() } else if(choseCommand===26) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,停车位1") checkImage1.visible=false timergo.start() } else if(choseCommand===27) {FControl.slot_qml(10,"3004,65faa9d5921aec72550fb32d,101,停车位2") checkImage2.visible=false timergo.start() } popupGo.close() } } } Button{ anchors.bottom: parent .bottom anchors.bottomMargin: 300 anchors.left: parent.left anchors.leftMargin: 300 id:canelButton2 width: 210; height: 90; visible:true background:Image{ Image { id:caneelButtonImage2 anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:canelButtonText2 text:'取消' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { canelButtonText2.color='#444444' } onExited:{ canelButtonText2.color='#ffffff' } onClicked:popupGo.close() } } } Popup { id: popupCanelTask width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/remind.png" } } onOpened: { popupCanelTask.x = (parent.width - popupCanelTask.width) / 2 popupCanelTask.y = (parent.height - popupCanelTask.height) / 2 } Rectangle{ anchors.top: parent .top anchors.topMargin: 80 anchors.left: parent.left anchors.leftMargin: 140 Text{ id:tankTitleCanelTask text:'确认取消当前任务?' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Button{ anchors.bottom: parent .bottom anchors.bottomMargin: 300 anchors.left: parent.left anchors.leftMargin: 50 id:okButton3 width: 210; height: 90; visible:true background:Image{ Image { id:okButtonImage3 anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:okButtonText3 text:'确认' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { okButtonText3.color='#444444' } onExited:{ okButtonText3.color='#ffffff' } onClicked: { popupCanelTask.close()} } } Button{ anchors.bottom: parent .bottom anchors.bottomMargin: 300 anchors.left: parent.left anchors.leftMargin: 300 id:canelButton3 width: 210; height: 90; visible:true background:Image{ Image { id:caneelButtonImage3 anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:canelButtonText3 text:'取消' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { canelButtonText3.color='#444444' } onExited:{ canelButtonText3.color='#ffffff' } onClicked:popupCanelTask.close() } } } id: carForm width: parent.width height: parent.height color: 'transparent' Component.onCompleted: { } property StackView stack: null // 添加获取背景图的函数 function getBackgroundImage() { // 根据索引返回不同的背景图路径 for (var i = 0; i < 31; i++) { switch(slagStateList[i]){ case 1: grid.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: grid.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: grid.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: grid.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: grid.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: grid.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: grid.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+31]){ case 1: gridB.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridB.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridB.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridB.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridB.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridB.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridB.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+62]){ case 1: gridC.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridC.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridC.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridC.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridC.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridC.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridC.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+93]){ case 1: gridD.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridD.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridD.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridD.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridD.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridD.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridD.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+124]){ case 1: gridE.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridE.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridE.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridE.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridE.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridE.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridE.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+155]){ case 1: gridF.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridF.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridF.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridF.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridF.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridF.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridF.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+186]){ case 1: gridG.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridG.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridG.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridG.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridG.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridG.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridG.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+217]){ case 1: gridH.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridH.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridH.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridH.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridH.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridH.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridH.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+248]){ case 1: gridI.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridI.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridI.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridI.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridI.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridI.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridI.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+279]){ case 1: gridJ.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridJ.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridJ.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridJ.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridJ.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridJ.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridJ.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+310]){ case 1: gridK.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridK.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridK.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridK.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridK.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridK.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridK.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+341]){ case 1: gridL.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridL.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridL.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridL.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridL.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridL.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridL.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+372]){ case 1: gridM.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridM.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridM.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridM.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridM.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridM.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridM.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } for (var i = 0; i < 31; i++) { switch(slagStateList[i+403]){ case 1: gridN.children[i].background.source = 'qrc:/images/whiteClicked.png' break case 2: gridN.children[i].background.source = 'qrc:/images/grayClicked.png' break case 3: gridN.children[i].background.source = 'qrc:/images/redClicked.png' break case 4: gridN.children[i].background.source = 'qrc:/images/blueClicked.png' break case 5: gridN.children[i].background.source = 'qrc:/images/blueClicked.png' break case 6: gridN.children[i].background.source = 'qrc:/images/greenClicked.png' break case 7: gridN.children[i].background.source = 'qrc:/images/yellowClicked.png' break } } } function stateText(value) { if(value===0) return '(离线)'; else if(value===1) return '(等待)'; else return '(使用中)'; } property int choseArea :0 property var messageList: [ { "text": carTasktime + " " + warningMessage1, "visible": true }, { "text": carTasktime + " " + warningMessage2, "visible": true }, { "text": carTasktime + " " +warningMessage3, "visible": true }, { "text": carTasktime + " " +warningMessage4, "visible": true }, { "text": carTasktime + " " +warningMessage5, "visible": true } ] property int currentIndex1: 0 property int currentIndex2: 1 property int currentIndex3: 2 //模式选择按钮区域 Rectangle { id:schedulLayout width: parent.width height: parent.height anchors.top: parent.top anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter color: 'transparent' //测试用例 Rectangle{ id:httpPort y:500 z:99 width:100 height:100 color: 'transparent' //visible:true visible:false Rectangle{ x:20 y:300 width: 300 height: 50 color: "transparent" Label{ width: parent.width/2 height: parent.height anchors.left: parent.left text:"获得全部渣包车" color: "white" verticalAlignment: Text.AlignVCenter } Rectangle{ x:parent.width/2 y:0 height: parent.height width: parent.width/2 border.color: "gray" TextInput{ id:id_getAll anchors.fill: parent anchors.margins: 3 color: "black" verticalAlignment: Text.AlignVCenter } } } Rectangle{ x:20 y:400 width: 200 height: 60 color:"green" border.color: "green" radius: 10 Text{ text: qsTr("获得全部渣包车状态") color: "white" anchors.centerIn: parent font.family: "Ubuntu" //font.pixelSize: m_iComFontSize+10 //font.kerning: m_iComFontSize } MouseArea{ width: parent.width height: parent.height anchors.fill: parent onClicked: { console.log("获得全部渣包车状态" + id_getAll.text+"\n"); FControl.slot_qml(2,id_getAll.text); } } } Rectangle{ x:360 y:20 width: 500 height: 400 color: "transparent" Label{ width: parent.width/2 height: parent.height/8 anchors.left: parent.left text:"接收结果" verticalAlignment: Text.AlignVCenter } Rectangle{ x:0 y:50 height: parent.height-50 width: parent.width+50 border.color: "gray" TextArea{ id:id_displayRev anchors.fill: parent anchors.margins: 3 color: "black" //!!!!!!文本将根据可用空间自动换行,以适应TextArea的宽度 wrapMode: Text.Wrap width: parent.width } } } Rectangle{ id:clearText x:400 y:450 width: 200 height: 60 color:"green" border.color: "green" radius: 10 visible:true Text{ text: qsTr("清空") color: "white" anchors.centerIn: parent font.family: "Ubuntu" //font.pixelSize: m_iComFontSize+10 //font.kerning: m_iComFontSize } MouseArea{ width: parent.width height: parent.height anchors.fill: parent onClicked: { id_displayRev.clear(); } } } //FControl指定了信号来源是FControl。FControl是一个 Connections{ //可以访问名为 "FControl" 的属性,其值为 CBusiness 对象 target: FControl //qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号)+ /* onSig_qml:{ console.log("打印"+par0+par1) //console.log(par1) //!!!!!在displayRev里面追加一个par0参数 id_displayRev.append(par1+"和"+par0); clearText.visible=true } */ onSig_qml_test:{ //console.log("打印"+par0+par1) id_displayRev.append(par1); clearText.visible=true } } } //测试用例 Image{ id:titleImage source:'qrc:/images/leftTitle.png' anchors.top:schedulLayout.top anchors.topMargin:80 anchors.left:schedulLayout.left anchors.leftMargin:40 } Column{ anchors.top:schedulLayout.top anchors.topMargin:130 anchors.left:schedulLayout.left anchors.leftMargin:70 spacing:10 Button{ id:changeAutoButton width: 170; height: 70; background:Image{ Image { id:autoModeImage anchors.fill: parent source:'qrc:/images/blueButton.png' Image{ id:checkImageAuto width:30 height:30 anchors.top:parent.top anchors.topMargin:30 anchors.left:parent.left anchors.leftMargin:130 source:'qrc:/images/checkImage.png' visible:true } } } Text{ id:autoModeText text:'自动模式' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { autoModeText.color='#444444' } onExited:{ autoModeText.color='#ffffff' } onClicked: { checkImageAuto.visible=true checkImageRemote.visible=false checkImageView.visible=false carList.visible=false //autoModeImage.source='qrc:/images/celected.png' console.log("点击了") modeSelect=1 cancleModeText.text="取消自动" //dropdown.visible = !dropdown.visible } } } Button{ id:changeRemoteButton width: 170; height: 70; background:Image{ Image { id:remoteModeImage anchors.fill: parent source:'qrc:/images/blueButton.png' Image{ id:checkImageRemote width:30 height:30 anchors.top:parent.top anchors.topMargin:30 anchors.left:parent.left anchors.leftMargin:130 source:'qrc:/images/checkImage.png' visible:false } } } Text{ id:remoteModeText text:'远程模式' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { remoteModeText.color='#444444' } onExited:{ remoteModeText.color='#ffffff' } onClicked: { checkImageAuto.visible=false checkImageRemote.visible=true checkImageView.visible=false carList.visible=true //remoteModeImage.source='qrc:/images/celected.png' console.log("点击了") modeSelect=2 cancleModeText.text="取消远程" //dropdown.visible = !dropdown.visible } } } Button{ id:changeViewButton width: 170; height: 70; background:Image{ Image { id:viewModeImage anchors.fill: parent source:'qrc:/images/blueButton.png' Image{ id:checkImageView width:30 height:30 anchors.top:parent.top anchors.topMargin:30 anchors.left:parent.left anchors.leftMargin:130 source:'qrc:/images/checkImage.png' visible:false } } } Text{ id:viewModeText text:'监控模式' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { viewModeText.color='#444444' } onExited:{ viewModeText.color='#ffffff' } onClicked: { checkImageAuto.visible=false checkImageRemote.visible=false checkImageView.visible=true carList.visible=true //viewModeImage.source='qrc:/images/celected.png' console.log("点击了") modeSelect=3 cancleModeText.text="取消监控" //dropdown.visible = !dropdown.visible } } } Button{ id:parkingButton1 width: 170; height: 70; background:Image{ Image { id:parking1Image anchors.fill: parent source:'qrc:/images/blueButton.png' Image{ id:checkImage1 width:30 height:30 anchors.top:parent.top anchors.topMargin:30 anchors.left:parent.left anchors.leftMargin:130 source:'qrc:/images/checkImage.png' visible:false } } } Text{ id:parking1Text text:'停车位1' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parkingButton1.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { parking1Text.color='#444444' } onExited:{ parking1Text.color='#ffffff' } onClicked: { //parking1Image.source='qrc:/images/blueCelected.png' checkImage1.visible=true //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage2.visible=false //暂定 choseCommand=26 console.log("点击了") } } } Button{ id:parkingButton2 width: 170; height: 70; background:Image{ Image { id:parking2Image anchors.fill: parent source:'qrc:/images/blueButton.png' Image{ id:checkImage2 width:30 height:30 anchors.top:parent.top anchors.topMargin:30 anchors.left:parent.left anchors.leftMargin:130 source:'qrc:/images/checkImage.png' visible:false } } } Text{ id:parking2Text text:'停车位2' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parkingButton2.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { parking2Text.color='#444444' } onExited:{ parking2Text.color='#ffffff' } onClicked: { checkImage2.visible=true //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false //暂定 choseCommand=27 console.log("点击了") } } } } //使用定时器触发,请求状态 Timer { id: timergo interval: 1000 // 设置定时器触发间隔,单位为毫秒 repeat: true // 设置为 true,以便循环触发定时器 running: false // 设置为 true,以便初始化时开始运行定时器 onTriggered: { // 定时器触发时执行的操作 FControl.slot_qml(2,2001); } } //车辆作业启动按钮区域 Column{ id:rightListButton anchors.top:schedulLayout.top anchors.topMargin:130 anchors.left:schedulLayout.left anchors.leftMargin:1650 spacing:0 Button{ id:cancleModeButton width: 210 height: 90 visible:true background:Image{ Image { id:cancleModeImage anchors.fill: parent source:'qrc:/images/brownButton.png' } } Text{ id:cancleModeText text:'取消自动' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: cancleModeButton.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { cancleModeText.color='#444444' } onExited:{ cancleModeText.color='#ffffff' } onPressed:(mouse)=>{ cancleModeImage.source='qrc:/images/brownCelected.png' console.log("pressed") } onReleased: { cancleModeImage.source='qrc:/images/brownButton.png' } onClicked: { //cancleModeImage.source='qrc:/images/brownCelected.png' console.log("点击了") } } } Button{ id:ignitButton width: 210; height: 90; visible:true background:Image{ Image { id:ignitButtonImage anchors.fill: parent source:'qrc:/images/ignitButton.png' Image{ id:checkImageRemote1 width:30 height:30 anchors.top:parent.top anchors.topMargin:30 anchors.left:parent.left anchors.leftMargin:130 source:'qrc:/images/checkImage.png' visible:false } } } Text{ id:ignitButtonText text:'点火' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: ignitButton.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { ignitButtonText.color='#444444' } onExited:{ ignitButtonText.color='#ffffff' } onPressed:(mouse)=>{ ignitButtonImage.source='qrc:/images/greenCelected.png' console.log("pressed") } onReleased: { ignitButtonImage.source='qrc:/images/ignitButton.png' } onClicked: { //ignitButtonImage.source='qrc:/images/greenCelected.png' //stallButtonImage.source='qrc:/images/stallButton.png' FControl.slot_qml(4,"2002,65faa9d5921aec72550fb32d"); console.log("点击了") } } } Button{ id:stallButton width: 210; height: 90; visible:true background:Image{ Image { id:stallButtonImage anchors.fill: parent source:'qrc:/images/stallButton.png' } } Text{ id:stallButtonText text:'熄火' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: stallButton.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { stallButtonText.color='#444444' } onExited:{ stallButtonText.color='#ffffff' } onPressed:(mouse)=>{ stallButtonImage.source='qrc:/images/redCelected.png' console.log("pressed") } onReleased: { stallButtonImage.source='qrc:/images/stallButton.png' } onClicked:(mouse)=>{ //stallButtonImage.source='qrc:/images/redCelected.png' //ignitButtonImage.source='qrc:/images/ignitButton.png' //startButtonImage.source='qrc:/images/startButton.png' FControl.slot_qml(6,"2003,65faa9d5921aec72550fb32d"); console.log("点击了") } } } Button{ id:startButton width: 210; height: 90; visible:true enabled:false background:Image{ Image { id:startButtonImage anchors.fill: parent source:'qrc:/images/startButton.png' } } Text{ id:startButtonText text:'开始作业' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:16 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: startButton.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { startButtonText.color='#444444' } onExited:{ startButtonText.color='#ffffff' } onPressed:(mouse)=>{ startButtonImage.source='qrc:/images/blueCelected.png' console.log("pressed") } onReleased: { startButtonImage.source='qrc:/images/startButton.png' } onClicked:(mouse)=>{ //startButtonImage.source='qrc:/images/blueCelected.png' console.log("点击了") } } } } Column{ id:buttonList anchors.top:schedulLayout.top anchors.topMargin:130 anchors.left:schedulLayout.left anchors.leftMargin:330 //车辆选择按钮 Row{ id:carsListButton Button { id:car1ListButton width:170 height:70 enabled:false background: Image{ Image{ id:inSideImage anchors.fill:parent visible:true source :'qrc:/images/grayButton.png' } /* Connections{ target: FControl onSig_qml_CarOneState:{ if (state === 2) { inSideImage.source = 'qrc:/images/blueMiddleButton.png'; enabled:true } else if (state === 3) { inSideImage.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 4) { inSideImage.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 5) { inSideImage.source = 'qrc:/images/blueMiddleButton.png'; } else { inSideImage.source = 'qrc:/images/grayButton.png'; } } }*/ } Text{ id:car1Text text:'1' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { car1Text.color='#444444' } onExited:{ car1Text.color='#ffffff' } onClicked: { inSideImage.source='qrc:/images/celected.png' console.log("点击了") } } } Button{ id:car2ListButton width:170 height:70 enabled:false background: Image{ Image{ id:car2Image width:170 height:70 visible:true source :'qrc:/images/grayButton.png' //source:'qrc:/images/blueMiddleButton.png' } /* Connections{ target: FControl onSig_qml_CarTwoState:{ if (state === 2) { car2Image.source = 'qrc:/images/blueMiddleButton.png'; enabled:true } else if (state === 3) { car2Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 4) { car2Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 5) { car2Image.source = 'qrc:/images/blueMiddleButton.png'; } else { car2Image.source = 'qrc:/images/grayButton.png'; } } }*/ } Text{ id:car2Text text:'2' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: car2ListButton hoverEnabled: true onEntered: { car2Text.color='#444444' } onExited:{ car2Text.color='#ffffff' } onClicked: { car2Image.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ id:car3ListButton width:170 height:70 enabled:true background: Image{ Image { id:car3Image anchors.fill: parent visible:true //source :'qrc:/images/grayButton.png' source:'qrc:/images/blueMiddleButton.png' } /* Connections{ target: FControl onSig_qml_CarThreeState:{ if (state === 2) { car3Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 3) { car3Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 4) { car3Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 5) { car3Image.source = 'qrc:/images/blueMiddleButton.png'; } else { car3Image.source = 'qrc:/images/grayButton.png'; } } }*/ } Text{ id:car3Text text:'3' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: car3ListButton hoverEnabled: true onEntered: { car3Text.color='#444444' } onExited:{ car3Text.color='#ffffff' } onClicked: { car3Image.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ id:car4ListButton width:170 height:70 enabled:false background: Image{ Image { id:car4Image anchors.fill: parent visible:true source :'qrc:/images/grayButton.png' //source:'qrc:/images/blueMiddleButton.png' } /*Connections{ target: FControl onSig_qml_CarFourState:{ if (state === 2) { car4Image.source = 'qrc:/images/blueMiddleButton.png'; enabled:true } else if (state === 3) { car4Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 4) { car4Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 5) { car4Image.source = 'qrc:/images/blueMiddleButton.png'; } else { car4Image.source = 'qrc:/images/grayButton.png'; } } }*/ } Text{ id:car4Text text:'4' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: car4ListButton hoverEnabled: true onEntered: { car4Text.color='#444444' } onExited:{ car4Text.color='#ffffff' } onClicked: { car4Image.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ id:car5ListButton width:170 height:70 enabled:false background: Image{ Image { id:car5Image anchors.fill: parent visible:true source :'qrc:/images/grayButton.png' //source:'qrc:/images/blueMiddleButton.png' } /* Connections{ target: FControl onSig_qml_CarFiveState:{ if (state === 2) { car5Image.source = 'qrc:/images/blueMiddleButton.png'; enabled:true } else if (state === 3) { car5Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 4) { car5Image.source = 'qrc:/images/blueMiddleButton.png'; } else if (state === 5) { car5Image.source = 'qrc:/images/blueMiddleButton.png'; } else { car5Image.source = 'qrc:/images/grayButton.png'; } } }*/ } Text{ id:car5Text text:'5' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: car5ListButton hoverEnabled: true onEntered: { car5Text.color='#444444' } onExited:{ car5Text.color='#ffffff' } onClicked: { car5Image.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } spacing:10 } //点位按钮选择区域 Row{ id:tankList1 Popup { id: popupA width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridA text:'A区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: grid columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopup //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ id:tankListGridAImage anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridA text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: buttonPopup hoverEnabled: true enabled: buttonPopup.enabled onEntered: { tankListGridA.color='#444444' } onExited:{ tankListGridA.color='#ffffff' } onClicked: { popupA.close() tankListTextA.text=(tankListTextA.text+"."+tankListGridA.text) tankListImageA.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=1 //判断能否去往目标点 if((carSlagState==1 && slagStateList[tankListGridA.text-1]==1)|| (carSlagState==1 && slagStateList[tankListGridA.text-1]==3)|| (carSlagState==1 && slagStateList[tankListGridA.text-1]==4)|| (carSlagState==1 && slagStateList[tankListGridA.text-1]==5)|| (carSlagState==1 && slagStateList[tankListGridA.text-1]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridA.text-1]==2)|| (carSlagState==2 && slagStateList[tankListGridA.text-1]==3)|| (carSlagState==2 && slagStateList[tankListGridA.text-1]==4)|| (carSlagState==2 && slagStateList[tankListGridA.text-1]==5)|| (carSlagState==2 && slagStateList[tankListGridA.text-1]==6)|| (carSlagState==2 && slagStateList[tankListGridA.text-1]==7)) { popupNoGo.open() } else if((carSlagState==3 && slagStateList[tankListGridA.text-1]==2)|| (carSlagState==3 && slagStateList[tankListGridA.text-1]==3)|| (carSlagState==3 && slagStateList[tankListGridA.text-1]==4)|| (carSlagState==3 && slagStateList[tankListGridA.text-1]==5)|| (carSlagState==3 && slagStateList[tankListGridA.text-1]==6)|| (carSlagState==3 && slagStateList[tankListGridA.text-1]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridA.text-1]==1)|| (carSlagState==4 && slagStateList[tankListGridA.text-1]==2)|| (carSlagState==4 && slagStateList[tankListGridA.text-1]==3)|| (carSlagState==4 && slagStateList[tankListGridA.text-1]==4)|| (carSlagState==4 && slagStateList[tankListGridA.text-1]==5)|| (carSlagState==4 && slagStateList[tankListGridA.text-1]==6)|| (carSlagState==4 && slagStateList[tankListGridA.text-1]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupB width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridB text:'B区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridB columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupB //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridB text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridB.color='#444444' } onExited:{ tankListGridB.color='#ffffff' } onClicked: { popupB.close() tankListTextB.text=(tankListTextB.text+"."+tankListGridB.text) tankListImageB.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=2 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridB.text+30]==1)|| (carSlagState==1 && slagStateList[tankListGridB.text+30]==3)|| (carSlagState==1 && slagStateList[tankListGridB.text+30]==4)|| (carSlagState==1 && slagStateList[tankListGridB.text+30]==5)|| (carSlagState==1 && slagStateList[tankListGridB.text+30]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridB.text+30]==2)|| (carSlagState==2 && slagStateList[tankListGridB.text+30]==3)|| (carSlagState==2 && slagStateList[tankListGridB.text+30]==4)|| (carSlagState==2 && slagStateList[tankListGridB.text+30]==5)|| (carSlagState==2 && slagStateList[tankListGridB.text+30]==6)|| (carSlagState==2 && slagStateList[tankListGridB.text+30]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridB.text+30]==2)|| (carSlagState==3 && slagStateList[tankListGridB.text+30]==3)|| (carSlagState==3 && slagStateList[tankListGridB.text+30]==4)|| (carSlagState==3 && slagStateList[tankListGridB.text+30]==5)|| (carSlagState==3 && slagStateList[tankListGridB.text+30]==6)|| (carSlagState==3 && slagStateList[tankListGridB.text+30]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridB.text+30]==1)|| (carSlagState==4 && slagStateList[tankListGridB.text+30]==2)|| (carSlagState==4 && slagStateList[tankListGridB.text+30]==3)|| (carSlagState==4 && slagStateList[tankListGridB.text+30]==4)|| (carSlagState==4 && slagStateList[tankListGridB.text+30]==5)|| (carSlagState==4 && slagStateList[tankListGridB.text+30]==6)|| (carSlagState==4 && slagStateList[tankListGridB.text+30]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupC width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridC text:'C区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridC columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupC //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridC text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridC.color='#444444' } onExited:{ tankListGridC.color='#ffffff' } onClicked: { popupC.close() tankListTextC.text=(tankListTextC.text+"."+tankListGridC.text) tankListImageC.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=3 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridC.text+61]==1)|| (carSlagState==1 && slagStateList[tankListGridC.text+61]==3)|| (carSlagState==1 && slagStateList[tankListGridC.text+61]==4)|| (carSlagState==1 && slagStateList[tankListGridC.text+61]==5)|| (carSlagState==1 && slagStateList[tankListGridC.text+61]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridC.text+61]==2)|| (carSlagState==2 && slagStateList[tankListGridC.text+61]==3)|| (carSlagState==2 && slagStateList[tankListGridC.text+61]==4)|| (carSlagState==2 && slagStateList[tankListGridC.text+61]==5)|| (carSlagState==2 && slagStateList[tankListGridC.text+61]==6)|| (carSlagState==2 && slagStateList[tankListGridC.text+61]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridC.text+61]==2)|| (carSlagState==3 && slagStateList[tankListGridC.text+61]==3)|| (carSlagState==3 && slagStateList[tankListGridC.text+61]==4)|| (carSlagState==3 && slagStateList[tankListGridC.text+61]==5)|| (carSlagState==3 && slagStateList[tankListGridC.text+61]==6)|| (carSlagState==3 && slagStateList[tankListGridC.text+61]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridC.text+61]==1)|| (carSlagState==4 && slagStateList[tankListGridC.text+61]==2)|| (carSlagState==4 && slagStateList[tankListGridC.text+61]==3)|| (carSlagState==4 && slagStateList[tankListGridC.text+61]==4)|| (carSlagState==4 && slagStateList[tankListGridC.text+61]==5)|| (carSlagState==4 && slagStateList[tankListGridC.text+61]==6)|| (carSlagState==4 && slagStateList[tankListGridC.text+61]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupD width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridD text:'D区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridD columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupD //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridD text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridD.color='#444444' } onExited:{ tankListGridD.color='#ffffff' } onClicked: { popupD.close() tankListTextD.text=(tankListTextD.text+"."+tankListGridD.text) tankListImageD.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=4 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridD.text+92]==1)|| (carSlagState==1 && slagStateList[tankListGridD.text+92]==3)|| (carSlagState==1 && slagStateList[tankListGridD.text+92]==4)|| (carSlagState==1 && slagStateList[tankListGridD.text+92]==5)|| (carSlagState==1 && slagStateList[tankListGridD.text+92]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridD.text+92]==2)|| (carSlagState==2 && slagStateList[tankListGridD.text+92]==3)|| (carSlagState==2 && slagStateList[tankListGridD.text+92]==4)|| (carSlagState==2 && slagStateList[tankListGridD.text+92]==5)|| (carSlagState==2 && slagStateList[tankListGridD.text+92]==6)|| (carSlagState==2 && slagStateList[tankListGridD.text+92]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridD.text+92]==2)|| (carSlagState==3 && slagStateList[tankListGridD.text+92]==3)|| (carSlagState==3 && slagStateList[tankListGridD.text+92]==4)|| (carSlagState==3 && slagStateList[tankListGridD.text+92]==5)|| (carSlagState==3 && slagStateList[tankListGridD.text+92]==6)|| (carSlagState==3 && slagStateList[tankListGridD.text+92]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridD.text+92]==1)|| (carSlagState==4 && slagStateList[tankListGridD.text+92]==2)|| (carSlagState==4 && slagStateList[tankListGridD.text+92]==3)|| (carSlagState==4 && slagStateList[tankListGridD.text+92]==4)|| (carSlagState==4 && slagStateList[tankListGridD.text+92]==5)|| (carSlagState==4 && slagStateList[tankListGridD.text+92]==6)|| (carSlagState==4 && slagStateList[tankListGridD.text+92]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupE width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridE text:'E区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridE columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupE //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridE text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridE.color='#444444' } onExited:{ tankListGridE.color='#ffffff' } onClicked: { popupE.close() tankListTextE.text=(tankListTextE.text+"."+tankListGridE.text) tankListImageE.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=5 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridE.text+123]==1)|| (carSlagState==1 && slagStateList[tankListGridE.text+123]==3)|| (carSlagState==1 && slagStateList[tankListGridE.text+123]==4)|| (carSlagState==1 && slagStateList[tankListGridE.text+123]==5)|| (carSlagState==1 && slagStateList[tankListGridE.text+123]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridE.text+123]==2)|| (carSlagState==2 && slagStateList[tankListGridE.text+123]==3)|| (carSlagState==2 && slagStateList[tankListGridE.text+123]==4)|| (carSlagState==2 && slagStateList[tankListGridE.text+123]==5)|| (carSlagState==2 && slagStateList[tankListGridE.text+123]==6)|| (carSlagState==2 && slagStateList[tankListGridE.text+123]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridE.text+123]==2)|| (carSlagState==3 && slagStateList[tankListGridE.text+123]==3)|| (carSlagState==3 && slagStateList[tankListGridE.text+123]==4)|| (carSlagState==3 && slagStateList[tankListGridE.text+123]==5)|| (carSlagState==3 && slagStateList[tankListGridE.text+123]==6)|| (carSlagState==3 && slagStateList[tankListGridE.text+123]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridE.text+123]==1)|| (carSlagState==4 && slagStateList[tankListGridE.text+123]==2)|| (carSlagState==4 && slagStateList[tankListGridE.text+123]==3)|| (carSlagState==4 && slagStateList[tankListGridE.text+123]==4)|| (carSlagState==4 && slagStateList[tankListGridE.text+123]==5)|| (carSlagState==4 && slagStateList[tankListGridE.text+123]==6)|| (carSlagState==4 && slagStateList[tankListGridE.text+123]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupF width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridF text:'F区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridF columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupF //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridF text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridF.color='#444444' } onExited:{ tankListGridF.color='#ffffff' } onClicked: { popupF.close() tankListTextF.text=(tankListTextF.text+"."+tankListGridF.text) tankListImageF.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=6 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridF.text+154]==1)|| (carSlagState==1 && slagStateList[tankListGridF.text+154]==3)|| (carSlagState==1 && slagStateList[tankListGridF.text+154]==4)|| (carSlagState==1 && slagStateList[tankListGridF.text+154]==5)|| (carSlagState==1 && slagStateList[tankListGridF.text+154]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridF.text+154]==2)|| (carSlagState==2 && slagStateList[tankListGridF.text+154]==3)|| (carSlagState==2 && slagStateList[tankListGridF.text+154]==4)|| (carSlagState==2 && slagStateList[tankListGridF.text+154]==5)|| (carSlagState==2 && slagStateList[tankListGridF.text+154]==6)|| (carSlagState==2 && slagStateList[tankListGridF.text+154]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridF.text+154]==2)|| (carSlagState==3 && slagStateList[tankListGridF.text+154]==3)|| (carSlagState==3 && slagStateList[tankListGridF.text+154]==4)|| (carSlagState==3 && slagStateList[tankListGridF.text+154]==5)|| (carSlagState==3 && slagStateList[tankListGridF.text+154]==6)|| (carSlagState==3 && slagStateList[tankListGridF.text+154]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridF.text+154]==1)|| (carSlagState==4 && slagStateList[tankListGridF.text+154]==2)|| (carSlagState==4 && slagStateList[tankListGridF.text+154]==3)|| (carSlagState==4 && slagStateList[tankListGridF.text+154]==4)|| (carSlagState==4 && slagStateList[tankListGridF.text+154]==5)|| (carSlagState==4 && slagStateList[tankListGridF.text+154]==6)|| (carSlagState==4 && slagStateList[tankListGridF.text+154]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupG width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridG text:'G区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridG columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupG //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridG text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridG.color='#444444' } onExited:{ tankListGridG.color='#ffffff' } onClicked: { popupG.close() tankListTextG.text=(tankListTextG.text+"."+tankListGridG.text) tankListImageG.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=7 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridG.text+185]==1)|| (carSlagState==1 && slagStateList[tankListGridG.text+185]==3)|| (carSlagState==1 && slagStateList[tankListGridG.text+185]==4)|| (carSlagState==1 && slagStateList[tankListGridG.text+185]==5)|| (carSlagState==1 && slagStateList[tankListGridG.text+185]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridG.text+185]==2)|| (carSlagState==2 && slagStateList[tankListGridG.text+185]==3)|| (carSlagState==2 && slagStateList[tankListGridG.text+185]==4)|| (carSlagState==2 && slagStateList[tankListGridG.text+185]==5)|| (carSlagState==2 && slagStateList[tankListGridG.text+185]==6)|| (carSlagState==2 && slagStateList[tankListGridG.text+185]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridG.text+185]==2)|| (carSlagState==3 && slagStateList[tankListGridG.text+185]==3)|| (carSlagState==3 && slagStateList[tankListGridG.text+185]==4)|| (carSlagState==3 && slagStateList[tankListGridG.text+185]==5)|| (carSlagState==3 && slagStateList[tankListGridG.text+185]==6)|| (carSlagState==3 && slagStateList[tankListGridG.text+185]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridG.text+185]==1)|| (carSlagState==4 && slagStateList[tankListGridG.text+185]==2)|| (carSlagState==4 && slagStateList[tankListGridG.text+185]==3)|| (carSlagState==4 && slagStateList[tankListGridG.text+185]==4)|| (carSlagState==4 && slagStateList[tankListGridG.text+185]==5)|| (carSlagState==4 && slagStateList[tankListGridG.text+185]==6)|| (carSlagState==4 && slagStateList[tankListGridG.text+185]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Button{ id:tankListButtonA width:170 height:70 visible:true background:Image{ Image { id:tankListImageA anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextA text:'A' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextA.color='#444444' } onExited:{ tankListTextA.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageA.source='qrc:/images/celected.png' tankListTextA.text='A' console.log("点击了") popupA.open() } else if (mouse.button === Qt.RightButton) { tankListTextA.text='A' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonB width:170 height:70 visible:true background:Image{ Image { id:tankListImageB anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextB text:'B' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextB.color='#444444' } onExited:{ tankListTextB.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageB.source='qrc:/images/celected.png' tankListTextB.text='B' console.log("点击了") popupB.open() } else if (mouse.button === Qt.RightButton) { tankListTextB.text='B' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonC width:170 height:70 visible:true background:Image{ Image { id:tankListImageC anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextC text:'C' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextC.color='#444444' } onExited:{ tankListTextC.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageC.source='qrc:/images/celected.png' tankListTextC.text='C' console.log("点击了") popupC.open() } else if (mouse.button === Qt.RightButton) { tankListTextC.text='C' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonD width:170 height:70 visible:true background:Image{ Image { id:tankListImageD anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextD text:'D' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextD.color='#444444' } onExited:{ tankListTextD.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageD.source='qrc:/images/celected.png' tankListTextD.text='D' console.log("点击了") popupD.open() } else if (mouse.button === Qt.RightButton) { tankListTextD.text='D' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonE width:170 height:70 visible:true background:Image{ Image { id:tankListImageE anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextE text:'E' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextE.color='#444444' } onExited:{ tankListTextE.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageE.source='qrc:/images/celected.png' tankListTextE.text='E' console.log("点击了") popupE.open() } else if (mouse.button === Qt.RightButton) { tankListTextE.text='E' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonF width:170 height:70 visible:true background:Image{ Image { id:tankListImageF anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextF text:'F' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextF.color='#444444' } onExited:{ tankListTextF.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageF.source='qrc:/images/celected.png' tankListTextF.text='F' console.log("点击了") popupF.open() } else if (mouse.button === Qt.RightButton) { tankListTextF.text='F' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonG width:170 height:70 visible:true background:Image{ Image { id:tankListImageG anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextG text:'G' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextG.color='#444444' } onExited:{ tankListTextG.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageG.source='qrc:/images/celected.png' tankListTextG.text='G' console.log("点击了") popupG.open() } else if (mouse.button === Qt.RightButton) { tankListTextG.text='G' choseArea=0 console.log("selection changed to"+choseArea) } } } } spacing:10 } Row{ id:tankList2 Popup { id: popupH width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridH text:'H区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridH columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupH //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridH text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridH.color='#444444' } onExited:{ tankListGridH.color='#ffffff' } onClicked: { popupH.close() tankListTextH.text=(tankListTextH.text+"."+tankListGridH.text) tankListImageH.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=8 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridH.text+216]==1)|| (carSlagState==1 && slagStateList[tankListGridH.text+216]==3)|| (carSlagState==1 && slagStateList[tankListGridH.text+216]==4)|| (carSlagState==1 && slagStateList[tankListGridH.text+216]==5)|| (carSlagState==1 && slagStateList[tankListGridH.text+216]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridH.text+216]==2)|| (carSlagState==2 && slagStateList[tankListGridH.text+216]==3)|| (carSlagState==2 && slagStateList[tankListGridH.text+216]==4)|| (carSlagState==2 && slagStateList[tankListGridH.text+216]==5)|| (carSlagState==2 && slagStateList[tankListGridH.text+216]==6)|| (carSlagState==2 && slagStateList[tankListGridH.text+216]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridH.text+216]==2)|| (carSlagState==3 && slagStateList[tankListGridH.text+216]==3)|| (carSlagState==3 && slagStateList[tankListGridH.text+216]==4)|| (carSlagState==3 && slagStateList[tankListGridH.text+216]==5)|| (carSlagState==3 && slagStateList[tankListGridH.text+216]==6)|| (carSlagState==3 && slagStateList[tankListGridH.text+216]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridH.text+216]==1)|| (carSlagState==4 && slagStateList[tankListGridH.text+216]==2)|| (carSlagState==4 && slagStateList[tankListGridH.text+216]==3)|| (carSlagState==4 && slagStateList[tankListGridH.text+216]==4)|| (carSlagState==4 && slagStateList[tankListGridH.text+216]==5)|| (carSlagState==4 && slagStateList[tankListGridH.text+216]==6)|| (carSlagState==4 && slagStateList[tankListGridH.text+216]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupI width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridI text:'I区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridI columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupI //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridI text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridI.color='#444444' } onExited:{ tankListGridI.color='#ffffff' } onClicked: { popupI.close() tankListTextI.text=(tankListTextI.text+"."+tankListGridI.text) tankListImageI.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=9 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridI.text+247]==1)|| (carSlagState==1 && slagStateList[tankListGridI.text+247]==3)|| (carSlagState==1 && slagStateList[tankListGridI.text+247]==4)|| (carSlagState==1 && slagStateList[tankListGridI.text+247]==5)|| (carSlagState==1 && slagStateList[tankListGridI.text+247]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridI.text+247]==2)|| (carSlagState==2 && slagStateList[tankListGridI.text+247]==3)|| (carSlagState==2 && slagStateList[tankListGridI.text+247]==4)|| (carSlagState==2 && slagStateList[tankListGridI.text+247]==5)|| (carSlagState==2 && slagStateList[tankListGridI.text+247]==6)|| (carSlagState==2 && slagStateList[tankListGridI.text+247]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridI.text+247]==2)|| (carSlagState==3 && slagStateList[tankListGridI.text+247]==3)|| (carSlagState==3 && slagStateList[tankListGridI.text+247]==4)|| (carSlagState==3 && slagStateList[tankListGridI.text+247]==5)|| (carSlagState==3 && slagStateList[tankListGridI.text+247]==6)|| (carSlagState==3 && slagStateList[tankListGridI.text+247]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridI.text+247]==1)|| (carSlagState==4 && slagStateList[tankListGridI.text+247]==2)|| (carSlagState==4 && slagStateList[tankListGridI.text+247]==3)|| (carSlagState==4 && slagStateList[tankListGridI.text+247]==4)|| (carSlagState==4 && slagStateList[tankListGridI.text+247]==5)|| (carSlagState==4 && slagStateList[tankListGridI.text+247]==6)|| (carSlagState==4 && slagStateList[tankListGridI.text+247]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupJ width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridJ text:'J区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridJ columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupJ //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridJ text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridJ.color='#444444' } onExited:{ tankListGridJ.color='#ffffff' } onClicked: { popupJ.close() tankListTextJ.text=(tankListTextJ.text+"."+tankListGridJ.text) tankListImageJ.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=10 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridJ.text+278]==1)|| (carSlagState==1 && slagStateList[tankListGridJ.text+278]==3)|| (carSlagState==1 && slagStateList[tankListGridJ.text+278]==4)|| (carSlagState==1 && slagStateList[tankListGridJ.text+278]==5)|| (carSlagState==1 && slagStateList[tankListGridJ.text+278]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridJ.text+278]==2)|| (carSlagState==2 && slagStateList[tankListGridJ.text+278]==3)|| (carSlagState==2 && slagStateList[tankListGridJ.text+278]==4)|| (carSlagState==2 && slagStateList[tankListGridJ.text+278]==5)|| (carSlagState==2 && slagStateList[tankListGridJ.text+278]==6)|| (carSlagState==2 && slagStateList[tankListGridJ.text+278]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridJ.text+278]==2)|| (carSlagState==3 && slagStateList[tankListGridJ.text+278]==3)|| (carSlagState==3 && slagStateList[tankListGridJ.text+278]==4)|| (carSlagState==3 && slagStateList[tankListGridJ.text+278]==5)|| (carSlagState==3 && slagStateList[tankListGridJ.text+278]==6)|| (carSlagState==3 && slagStateList[tankListGridJ.text+278]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridJ.text+278]==1)|| (carSlagState==4 && slagStateList[tankListGridJ.text+278]==2)|| (carSlagState==4 && slagStateList[tankListGridJ.text+278]==3)|| (carSlagState==4 && slagStateList[tankListGridJ.text+278]==4)|| (carSlagState==4 && slagStateList[tankListGridJ.text+278]==5)|| (carSlagState==4 && slagStateList[tankListGridJ.text+278]==6)|| (carSlagState==4 && slagStateList[tankListGridJ.text+278]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupK width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridK text:'K区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridK columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupK //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridK text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridK.color='#444444' } onExited:{ tankListGridK.color='#ffffff' } onClicked: { popupK.close() tankListTextK.text=(tankListTextK.text+"."+tankListGridK.text) tankListImageK.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=11 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridK.text+309]==1)|| (carSlagState==1 && slagStateList[tankListGridK.text+309]==3)|| (carSlagState==1 && slagStateList[tankListGridK.text+309]==4)|| (carSlagState==1 && slagStateList[tankListGridK.text+309]==5)|| (carSlagState==1 && slagStateList[tankListGridK.text+309]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridK.text+309]==2)|| (carSlagState==2 && slagStateList[tankListGridK.text+309]==3)|| (carSlagState==2 && slagStateList[tankListGridK.text+309]==4)|| (carSlagState==2 && slagStateList[tankListGridK.text+309]==5)|| (carSlagState==2 && slagStateList[tankListGridK.text+309]==6)|| (carSlagState==2 && slagStateList[tankListGridK.text+309]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridK.text+309]==2)|| (carSlagState==3 && slagStateList[tankListGridK.text+309]==3)|| (carSlagState==3 && slagStateList[tankListGridK.text+309]==4)|| (carSlagState==3 && slagStateList[tankListGridK.text+309]==5)|| (carSlagState==3 && slagStateList[tankListGridK.text+309]==6)|| (carSlagState==3 && slagStateList[tankListGridK.text+309]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridK.text+309]==1)|| (carSlagState==4 && slagStateList[tankListGridK.text+309]==2)|| (carSlagState==4 && slagStateList[tankListGridK.text+309]==3)|| (carSlagState==4 && slagStateList[tankListGridK.text+309]==4)|| (carSlagState==4 && slagStateList[tankListGridK.text+309]==5)|| (carSlagState==4 && slagStateList[tankListGridK.text+309]==6)|| (carSlagState==4 && slagStateList[tankListGridK.text+309]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupL width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridL text:'L区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridL columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupL //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridL text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridL.color='#444444' } onExited:{ tankListGridL.color='#ffffff' } onClicked: { popupL.close() tankListTextL.text=(tankListTextL.text+"."+tankListGridL.text) tankListImageL.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=12 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridL.text+340]==1)|| (carSlagState==1 && slagStateList[tankListGridL.text+340]==3)|| (carSlagState==1 && slagStateList[tankListGridL.text+340]==4)|| (carSlagState==1 && slagStateList[tankListGridL.text+340]==5)|| (carSlagState==1 && slagStateList[tankListGridL.text+340]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridL.text+340]==2)|| (carSlagState==2 && slagStateList[tankListGridL.text+340]==3)|| (carSlagState==2 && slagStateList[tankListGridL.text+340]==4)|| (carSlagState==2 && slagStateList[tankListGridL.text+340]==5)|| (carSlagState==2 && slagStateList[tankListGridL.text+340]==6)|| (carSlagState==2 && slagStateList[tankListGridL.text+340]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridL.text+340]==2)|| (carSlagState==3 && slagStateList[tankListGridL.text+340]==3)|| (carSlagState==3 && slagStateList[tankListGridL.text+340]==4)|| (carSlagState==3 && slagStateList[tankListGridL.text+340]==5)|| (carSlagState==3 && slagStateList[tankListGridL.text+340]==6)|| (carSlagState==3 && slagStateList[tankListGridL.text+340]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridL.text+340]==1)|| (carSlagState==4 && slagStateList[tankListGridL.text+340]==2)|| (carSlagState==4 && slagStateList[tankListGridL.text+340]==3)|| (carSlagState==4 && slagStateList[tankListGridL.text+340]==4)|| (carSlagState==4 && slagStateList[tankListGridL.text+340]==5)|| (carSlagState==4 && slagStateList[tankListGridL.text+340]==6)|| (carSlagState==4 && slagStateList[tankListGridL.text+340]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupM width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridM text:'M区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridM columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupM //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridM text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridM.color='#444444' } onExited:{ tankListGridM.color='#ffffff' } onClicked: { popupM.close() tankListTextM.text=(tankListTextM.text+"."+tankListGridM.text) tankListImageM.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=13 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridM.text+371]==1)|| (carSlagState==1 && slagStateList[tankListGridM.text+371]==3)|| (carSlagState==1 && slagStateList[tankListGridM.text+371]==4)|| (carSlagState==1 && slagStateList[tankListGridM.text+371]==5)|| (carSlagState==1 && slagStateList[tankListGridM.text+371]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridM.text+371]==2)|| (carSlagState==2 && slagStateList[tankListGridM.text+371]==3)|| (carSlagState==2 && slagStateList[tankListGridM.text+371]==4)|| (carSlagState==2 && slagStateList[tankListGridM.text+371]==5)|| (carSlagState==2 && slagStateList[tankListGridM.text+371]==6)|| (carSlagState==2 && slagStateList[tankListGridM.text+371]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridM.text+371]==2)|| (carSlagState==3 && slagStateList[tankListGridM.text+371]==3)|| (carSlagState==3 && slagStateList[tankListGridM.text+371]==4)|| (carSlagState==3 && slagStateList[tankListGridM.text+371]==5)|| (carSlagState==3 && slagStateList[tankListGridM.text+371]==6)|| (carSlagState==3 && slagStateList[tankListGridM.text+371]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridM.text+371]==1)|| (carSlagState==4 && slagStateList[tankListGridM.text+371]==2)|| (carSlagState==4 && slagStateList[tankListGridM.text+371]==3)|| (carSlagState==4 && slagStateList[tankListGridM.text+371]==4)|| (carSlagState==4 && slagStateList[tankListGridM.text+371]==5)|| (carSlagState==4 && slagStateList[tankListGridM.text+371]==6)|| (carSlagState==4 && slagStateList[tankListGridM.text+371]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Popup { id: popupN width: 500 height: 600 modal: true background: Image{ Image{ source:"qrc:/images/popup.png" } } Rectangle{ width:500 height: 600 color: "transparent" // 弹窗背景颜色 opacity: 0.7 // 设置半透明度 Rectangle{ anchors.top: parent .top anchors.topMargin: 30 anchors.left: parent.left anchors.leftMargin: 550 Text{ id:tankTitleGridN text:'N区' color:'#ffffff' font.family: alibaba.name font.pixelSize:30 } } Grid { id: gridN columns: 6 rows: 6 // anchors.fill: parent width:170*grid.columns height:70*grid.rows spacing:5 anchors.top: parent .top anchors.topMargin: 90 anchors.left: parent.left anchors.leftMargin: 45 Repeater { model: grid.rows * grid.columns-5 Button { id:buttonPopupN //width: grid.width / grid.columns //height: grid.height / grid.rows width:170 height:70 property int buttonIndex: index background:Image{ Image{ anchors.fill: parent //source:'qrc:/images/blueMiddleButton.png' //source:getBackgroundImage(index) } } Text{ id:tankListGridN text:index+1 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled onEntered: { tankListGridN.color='#444444' } onExited:{ tankListGridN.color='#ffffff' } onClicked: { popupN.close() tankListTextN.text=(tankListTextN.text+"."+tankListGridN.text) tankListImageN.source='qrc:/images/celected.png' //初始化其它区域按钮 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' checkImage1.visible=false checkImage2.visible=false choseArea=index+1 choseCommand=14 //判断能否前往目标点 if((carSlagState==1 && slagStateList[tankListGridN.text+402]==1)|| (carSlagState==1 && slagStateList[tankListGridN.text+402]==3)|| (carSlagState==1 && slagStateList[tankListGridN.text+402]==4)|| (carSlagState==1 && slagStateList[tankListGridN.text+402]==5)|| (carSlagState==1 && slagStateList[tankListGridN.text+402]==7)) { popupNoGo.open()} else if((carSlagState==2 && slagStateList[tankListGridN.text+402]==2)|| (carSlagState==2 && slagStateList[tankListGridN.text+402]==3)|| (carSlagState==2 && slagStateList[tankListGridN.text+402]==4)|| (carSlagState==2 && slagStateList[tankListGridN.text+402]==5)|| (carSlagState==2 && slagStateList[tankListGridN.text+402]==6)|| (carSlagState==2 && slagStateList[tankListGridN.text+402]==7)) { popupNoGo.open()} else if((carSlagState==3 && slagStateList[tankListGridN.text+402]==2)|| (carSlagState==3 && slagStateList[tankListGridN.text+402]==3)|| (carSlagState==3 && slagStateList[tankListGridN.text+402]==4)|| (carSlagState==3 && slagStateList[tankListGridN.text+402]==5)|| (carSlagState==3 && slagStateList[tankListGridN.text+402]==6)|| (carSlagState==3 && slagStateList[tankListGridN.text+402]==7)) { popupNoGo.open()} else if((carSlagState==4 && slagStateList[tankListGridN.text+402]==1)|| (carSlagState==4 && slagStateList[tankListGridN.text+402]==2)|| (carSlagState==4 && slagStateList[tankListGridN.text+402]==3)|| (carSlagState==4 && slagStateList[tankListGridN.text+402]==4)|| (carSlagState==4 && slagStateList[tankListGridN.text+402]==5)|| (carSlagState==4 && slagStateList[tankListGridN.text+402]==6)|| (carSlagState==4 && slagStateList[tankListGridN.text+402]==7)) { popupNoGo.open()} else { popupGo.open()} } } } } } } } Button{ id:tankListButtonH width:170 height:70 visible:true background:Image{ Image { id:tankListImageH anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextH text:'H' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextH.color='#444444' } onExited:{ tankListTextH.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageG.source='qrc:/images/celected.png' tankListTextH.text='H' console.log("点击了") popupH.open() } else if (mouse.button === Qt.RightButton) { tankListTextH.text='H' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonI width:170 height:70 visible:true background:Image{ Image { id:tankListImageI anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextI text:'I' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextI.color='#444444' } onExited:{ tankListTextI.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageG.source='qrc:/images/celected.png' tankListTextI.text='I' console.log("点击了") popupI.open() } else if (mouse.button === Qt.RightButton) { tankListTextI.text='I' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonJ width:170 height:70 visible:true background:Image{ Image { id:tankListImageJ anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextJ text:'J' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextJ.color='#444444' } onExited:{ tankListTextJ.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageJ.source='qrc:/images/celected.png' tankListTextJ.text='J' console.log("点击了") popupJ.open() } else if (mouse.button === Qt.RightButton) { tankListTextJ.text='J' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonK width:170 height:70 visible:true background:Image{ Image { id:tankListImageK anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextK text:'K' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextK.color='#444444' } onExited:{ tankListTextK.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageJ.source='qrc:/images/celected.png' tankListTextK.text='K' console.log("点击了") popupK.open() } else if (mouse.button === Qt.RightButton) { tankListTextK.text='K' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonL width:170 height:70 visible:true background:Image{ Image { id:tankListImageL anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextL text:'L' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextL.color='#444444' } onExited:{ tankListTextL.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageL.source='qrc:/images/celected.png' tankListTextL.text='L' console.log("点击了") popupL.open() } else if (mouse.button === Qt.RightButton) { tankListTextL.text='L' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonM width:170 height:70 visible:true background:Image{ Image { id:tankListImageM anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextM text:'M' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextM.color='#444444' } onExited:{ tankListTextM.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageL.source='qrc:/images/celected.png' tankListTextM.text='M' console.log("点击了") popupM.open() } else if (mouse.button === Qt.RightButton) { tankListTextM.text='M' choseArea=0 console.log("selection changed to"+choseArea) } } } } Button{ id:tankListButtonN width:170 height:70 visible:true background:Image{ Image { id:tankListImageN anchors.fill: parent source:'qrc:/images/cyanButton.png' } } Text{ id:tankListTextN text:'N' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: parent.enabled acceptedButtons: Qt.LeftButton | Qt.RightButton onEntered: { tankListTextN.color='#444444' } onExited:{ tankListTextN.color='#ffffff' } onClicked: { if (mouse.button === Qt.LeftButton) { //tankListImageL.source='qrc:/images/celected.png' tankListTextN.text='N' console.log("点击了") popupN.open() } else if (mouse.button === Qt.RightButton) { tankListTextN.text='N' choseArea=0 console.log("selection changed to"+choseArea) } } } } spacing:10 } Row{ id:slagListButton Button{ id:slagListButton1 width:170 height:70 visible:true background: Image{ Image { id:slagListImage1 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText1 text:'倒渣口1' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton1.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText1.color='#444444' } onExited:{ slagListText1.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage1.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage1.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage1.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=15 console.log("点击了") } } } Button{ id:slagListButton2 width:170 height:70 visible:true background: Image{ Image { id:slagListImage2 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText2 text:'倒渣口2' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton2.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText2.color='#444444' } onExited:{ slagListText2.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage2.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage2.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage2.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=16 console.log("点击了") } } } Button{ id:slagListButton3 width:170 height:70 visible:true background: Image{ Image { id:slagListImage3 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText3 text:'倒渣口3' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton3.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText3.color='#444444' } onExited:{ slagListText3.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage3.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage3.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage3.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=17 console.log("点击了") } } } Button{ id:slagListButton4 width:170 height:70 visible:true background:Image{ Image { id:slagListImage4 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText4 text:'倒渣口4' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton4.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText4.color='#444444' } onExited:{ slagListText4.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage4.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage4.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage4.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=18 console.log("点击了") } } } Button{ id:slagListButton5 width:170 height:70 visible:true background: Image{ Image { id:slagListImage5 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText5 text:'倒渣口5' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton5.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText5.color='#444444' } onExited:{ slagListText5.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage5.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage5.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage5.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=19 console.log("点击了") } } } Button{ id:slagListButton6 width:170 height:70 visible:true background: Image{ Image { id:slagListImage6 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText6 text:'倒渣口6' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton6.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText6.color='#444444' } onExited:{ slagListText6.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage6.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage6.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage6.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=20 console.log("点击了") } } } Button{ id:slagListButton7 width:170 height:70 visible:true background: Image{ Image { id:slagListImage7 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:slagListText7 text:'倒渣口7' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: slagListButton7.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { slagListText7.color='#444444' } onExited:{ slagListText7.color='#ffffff' } onPressed:(mouse)=>{ //slagListImage7.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //slagListImage7.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ slagListImage7.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=21 console.log("点击了") } } } spacing:10 } Row{ id:clinkeringList Button{ id:clinkeringListButton1 width:170 height:70 visible:true background: Image{ Image { id:clinkeringListImage1 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:clinkeringListText1 text:'接渣口1' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: clinkeringListButton1.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { clinkeringListText1.color='#444444' } onExited:{ clinkeringListText1.color='#ffffff' } onPressed:(mouse)=>{ //clinkeringListImage1.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //clinkeringListImage1.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ clinkeringListImage1.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=22 console.log("点击了") } } } Button{ id:clinkeringListButton2 width:170 height:70 visible:true background: Image{ Image { id:clinkeringListImage2 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:clinkeringListText2 text:'接渣口2' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: clinkeringListButton2.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { clinkeringListText2.color='#444444' } onExited:{ clinkeringListText2.color='#ffffff' } onPressed:(mouse)=>{ //clinkeringListImage2.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //clinkeringListImage2.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ clinkeringListImage2.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=23 console.log("点击了") } } } Button{ id:clinkeringListButton3 width:170 height:70 visible:true background: Image{ Image { id:clinkeringListImage3 anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:clinkeringListText3 text:'接渣口3' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: clinkeringListButton3.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { clinkeringListText3.color='#444444' } onExited:{ clinkeringListText3.color='#ffffff' } onPressed:(mouse)=>{ //clinkeringListImage3.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //clinkeringListImage3.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ clinkeringListImage3.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' waitingButtonImage.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=24 console.log("点击了") } } } Button{ id:waitingButton width:170 height:70 visible:true background: Image{ Image { id:waitingButtonImage anchors.fill: parent source:'qrc:/images/greenButton.png' } } Text{ id:waitingButtonText text:'等待区' color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.family: alibaba.name font.pixelSize:20 } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: waitingButton.enabled propagateComposedEvents: true acceptedButtons: Qt.LeftButton onEntered: { waitingButtonText.color='#444444' } onExited:{ waitingButtonText.color='#ffffff' } onPressed:(mouse)=>{ //waitingButtonImage.source='qrc:/images/celected.png' console.log("pressed") } onReleased: { //waitingButtonImage.source='qrc:/images/greenButton.png' } onClicked:(mouse)=>{ waitingButtonImage.source='qrc:/images/celected.png' //暂定 tankListImageA.source='qrc:/images/cyanButton.png' tankListImageB.source='qrc:/images/cyanButton.png' tankListImageC.source='qrc:/images/cyanButton.png' tankListImageD.source='qrc:/images/cyanButton.png' tankListImageE.source='qrc:/images/cyanButton.png' tankListImageF.source='qrc:/images/cyanButton.png' tankListImageG.source='qrc:/images/cyanButton.png' tankListImageH.source='qrc:/images/cyanButton.png' tankListImageI.source='qrc:/images/cyanButton.png' tankListImageJ.source='qrc:/images/cyanButton.png' tankListImageK.source='qrc:/images/cyanButton.png' tankListImageL.source='qrc:/images/cyanButton.png' tankListImageM.source='qrc:/images/cyanButton.png' tankListImageN.source='qrc:/images/cyanButton.png' slagListImage1.source='qrc:/images/greenButton.png' slagListImage2.source='qrc:/images/greenButton.png' slagListImage3.source='qrc:/images/greenButton.png' slagListImage4.source='qrc:/images/greenButton.png' slagListImage5.source='qrc:/images/greenButton.png' slagListImage6.source='qrc:/images/greenButton.png' slagListImage7.source='qrc:/images/greenButton.png' clinkeringListImage1.source='qrc:/images/greenButton.png' clinkeringListImage2.source='qrc:/images/greenButton.png' clinkeringListImage3.source='qrc:/images/greenButton.png' tankListTextA.text='A' tankListTextB.text='B' tankListTextC.text='C' tankListTextD.text='D' tankListTextE.text='E' tankListTextF.text='F' tankListTextG.text='G' tankListTextH.text='H' tankListTextI.text='I' tankListTextJ.text='J' tankListTextK.text='K' tankListTextL.text='L' tankListTextM.text='M' tankListTextN.text='N' checkImage1.visible=false checkImage2.visible=false //暂定 choseCommand=25 console.log("点击了") } } } spacing:10 } spacing:10 } //调度信息界面 Row{ id:showSchedul anchors.top:schedulLayout.top anchors.topMargin:530 anchors.left:schedulLayout.left anchors.leftMargin:80 Image{ id:schedulTitle source:'qrc:/images/schedulTitleUpdate.png' //小车轨迹显示使用qlist Rectangle{ //id: rect anchors.top:schedulTitle.top anchors.topMargin:112 anchors.left:schedulTitle.left anchors.leftMargin:128 width:480 height:355 color:"transparent" border.color:'transparent' border.width:1 // 定义列表中的点 ListModel { id: pointList ListElement { x: 0; y: 0 } ListElement { x: 0; y: 150 } ListElement { x: 300; y: 150 } ListElement { x: 300; y: 400 } } Canvas { id: canvas anchors.fill: parent onPaint: { var ctx = getContext("2d"); // 清空画布 ctx.clearRect(0, 0, width, height); // 设置线条颜色和宽度 ctx.strokeStyle = "white"; ctx.lineWidth = 2; // 循环绘制连线 for (var i = 0; i < pointList.count - 1; i++) { var startPoint = pointList.get(i); var endPoint = pointList.get(i + 1); ctx.beginPath(); ctx.moveTo(startPoint.x, startPoint.y); ctx.lineTo(endPoint.x, endPoint.y); ctx.stroke(); } } } Timer { id: timer interval: 3000 running: true repeat: true onTriggered: { updatePointList(); } } } //小车坐标位置显示 Rectangle{ anchors.top:schedulTitle.top anchors.topMargin:112 anchors.left:schedulTitle.left anchors.leftMargin:128 width:480 height:355 color:"transparent" border.color:'transparent' border.width:1 Image{ id:carImageX x:x_Car y:x_Car //x:460 //y:340 source:'qrc:/images/trackCar.png' } Connections{ //可以访问名为 "FControl" 的属性,其值为 CBusiness 对象 target: FControl // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateA1: { par0=1460; port_carX=par0; //port_carY=par0+100; //x_Car = getCAR_X(); //carImageX.x =460; carImageX.y = 130; carImageX.x = getCAR_X(); //carImageX.y = getCAR_Y(); //console.log("测试小车坐标========="+"X坐标"+carImageX.x+"======"+carImageX.x+"========\n"); ////console.log("测试小车坐标========="+"X坐标"+carImageX.x+"============\n"); } } } Column{ anchors.top:schedulTitle.top anchors.topMargin:170 anchors.left:schedulTitle.left anchors.leftMargin:105 Image{ id:imagePot1 source:'qrc:/images/blueOpen.png' } Image{ anchors.top:imagePot1.top anchors.topMargin:44 source:'qrc:/images/redClose.png' } Image{ anchors.top:imagePot1.top anchors.topMargin:92 source:'qrc:/images/blueOpen.png' } Image{ anchors.top:imagePot1.top anchors.topMargin:140 source:'qrc:/images/redClose.png' } Image{ anchors.top:imagePot1.top anchors.topMargin:183 source:'qrc:/images/blueOpen.png' } Image{ anchors.top:imagePot1.top anchors.topMargin:229 source:'qrc:/images/redClose.png' } Image{ anchors.top:imagePot1.top anchors.topMargin:275 source:'qrc:/images/blueOpen.png' } Row{ anchors.top:imagePot1.top anchors.topMargin:293 anchors.left:imagePot1.left anchors.leftMargin:597 Image{ source:'qrc:/images/blueOpen.png' } Image{ source:'qrc:/images/redClose.png' } Image{ source:'qrc:/images/blueOpen.png' } spacing:70 } //spacing:33 } Column{ anchors.top:schedulTitle.top anchors.topMargin:132 anchors.left:schedulTitle.left anchors.leftMargin:148 spacing:18.5 Connections{ //可以访问名为 "FControl" 的属性,其值为 CBusiness 对象 target: FControl // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateA1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateA31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { a_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { a_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { a_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { a_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { a_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { a_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { a_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateB31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { b_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { b_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { b_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { b_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { b_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { b_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { b_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateC1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateC31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { c_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { c_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { c_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { c_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { c_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { c_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { c_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateD1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateD31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { d_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { d_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { d_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { d_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { d_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { d_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { d_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateE1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateE31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { e_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { e_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { e_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { e_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { e_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { e_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { e_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateF1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateF31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { f_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { f_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { f_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { f_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { f_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { f_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { f_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateG1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateG31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { g_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { g_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { g_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { g_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { g_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { g_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { g_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateH1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateH31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { h_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { h_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { h_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { h_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { h_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { h_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { h_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateI1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateI31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { i_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { i_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { i_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { i_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { i_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { i_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { i_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateJ1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateJ31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { j_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { j_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { j_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { j_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { j_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { j_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { j_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateK1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateK31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { k_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { k_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { k_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { k_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { k_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { k_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { k_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateL1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateL31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { l_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { l_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { l_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { l_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { l_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { l_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { l_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateM1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateM31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { m_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { m_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { m_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { m_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { m_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { m_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { m_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } // qml界面接收信号函数Sig_qml给的信号内容(接收来自slot_result槽函数反馈的信号) onSig_qml_SlagStateN1: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_1.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_1.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_1.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_1.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_1.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_1.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN2: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_2.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_2.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_2.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_2.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_2.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_2.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN3: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_3.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_3.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_3.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_3.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_3.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_3.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN4: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_4.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_4.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_4.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_4.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_4.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_4.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN5: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_5.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_5.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_5.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_5.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_5.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_5.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN6: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_6.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_6.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_6.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_6.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_6.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_6.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN7: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_7.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_7.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_7.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_7.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_7.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_7.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN8: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_8.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_8.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_8.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_8.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_8.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_8.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN9: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_9.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_9.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_9.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_9.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_9.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_9.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN10: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_10.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_10.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_10.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_10.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_10.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_10.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN11: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_11.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_11.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_11.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_11.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_11.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_11.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN12: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_12.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_12.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_12.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_12.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_12.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_12.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN13: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_13.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_13.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_13.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_13.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_13.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_13.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN14: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_14.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_14.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_14.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_14.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_14.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_14.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN15: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_15.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_15.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_15.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_15.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_15.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_15.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN16: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_16.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_16.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_16.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_16.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_16.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_16.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN17: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_17.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_17.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_17.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_17.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_17.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_17.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN18: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_18.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_18.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_18.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_18.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_18.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_18.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN19: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_19.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_19.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_19.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_19.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_19.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_19.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN20: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_20.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_20.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_20.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_20.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_20.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_20.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN21: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_21.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_21.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_21.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_21.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_21.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_21.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN22: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_22.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_22.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_22.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_22.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_22.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_22.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN23: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_23.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_23.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_23.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_23.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_23.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_23.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN24: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_24.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_24.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_24.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_24.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_24.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_24.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN25: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_25.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_25.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_25.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_25.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_25.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_25.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN26: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_26.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_26.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_26.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_26.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_26.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_26.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN27: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_27.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_27.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_27.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_27.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_27.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_27.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN28: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_28.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_28.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_28.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_28.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_28.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_28.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN29: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_29.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_29.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_29.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_29.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_29.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_29.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN30: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_30.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_30.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_30.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_30.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_30.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_30.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } onSig_qml_SlagStateN31: { //如果是状态1就将源换为状态1 switch(par0){ case 1: { n_31.source=imageEmpty // 打印收到的信号内容 console.log("空位:par0=" + par0 + "\n" ); } break; case 2: { n_31.source=imageEmptyTank // 打印收到的信号内容 console.log("就绪:par0=" + par0 + "\n" ); } break; case 3: { n_31.source=imageHot // 打印收到的信号内容 console.log("缓冷:par0=" + par0 + "\n" ); } break; case 4: { n_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 5: { n_31.source=imageBlueCoolOpen // 打印收到的信号内容 console.log("水冷:par0=" + par0 + "\n" ); } break; case 6: { n_31.source=imageWaterCool // 打印收到的信号内容 console.log("待倒:par0=" + par0 + "\n" ); } break; case 7: { n_31.source=imageMaintain // 打印收到的信号内容 console.log("故障:par0=" + par0 + "\n" ); } break; } } } Column{ //n Row{ Image{ id:n_1 source: imageEmptyTank } Image{ id:n_2 source:imageEmptyTank } Image{ id:n_3 source:imageEmptyTank } Image{ id:n_4 source:imageEmptyTank } Image{ id:n_5 source:imageEmptyTank } Image{ id:n_6 source:imageEmptyTank } Image{ id:n_7 source:imageEmptyTank } Image{ id:n_8 source:imageEmptyTank } Image{ id:n_9 source:imageEmptyTank } Image{ id:n_10 source:imageEmptyTank } Image{ id:n_11 source:imageEmptyTank } Image{ id:n_12 source:imageEmptyTank } Image{ id:n_13 source:imageEmptyTank } Image{ id:n_14 source:imageEmptyTank } Image{ id:n_15 source:imageEmptyTank } Image{ id:n_16 source:imageEmptyTank } Image{ id:n_17 source:imageEmptyTank } Image{ id:n_18 source:imageEmptyTank } Image{ id:n_19 source:imageEmptyTank } Image{ id:n_20 source:imageEmptyTank } Image{ id:n_21 source:imageEmptyTank } Image{ id:n_22 source:imageEmptyTank } Image{ id:n_23 source:imageEmptyTank } Image{ id:n_24 source:imageEmptyTank } Image{ id:n_25 source:imageEmptyTank } Image{ id:n_26 source:imageEmptyTank } Image{ id:n_27 source:imageEmptyTank } Image{ id:n_28 source:imageEmptyTank } Image{ id:n_29 source:imageEmptyTank } Image{ id:n_30 source:imageEmptyTank } Image{ id:n_31 source:imageEmptyTank } spacing:1.2 } } Column{ //m Row{ Image{ id:m_1 source: imageEmptyTank } Image{ id:m_2 source:imageEmptyTank } Image{ id:m_3 source:imageEmptyTank } Image{ id:m_4 source:imageEmptyTank } Image{ id:m_5 source:imageEmptyTank } Image{ id:m_6 source:imageEmptyTank } Image{ id:m_7 source:imageEmptyTank } Image{ id:m_8 source:imageEmptyTank } Image{ id:m_9 source:imageEmptyTank } Image{ id:m_10 source:imageEmptyTank } Image{ id:m_11 source:imageEmptyTank } Image{ id:m_12 source:imageEmptyTank } Image{ id:m_13 source:imageEmptyTank } Image{ id:m_14 source:imageEmptyTank } Image{ id:m_15 source:imageEmptyTank } Image{ id:m_16 source:imageEmptyTank } Image{ id:m_17 source:imageEmptyTank } Image{ id:m_18 source:imageEmptyTank } Image{ id:m_19 source:imageEmptyTank } Image{ id:m_20 source:imageEmptyTank } Image{ id:m_21 source:imageEmptyTank } Image{ id:m_22 source:imageEmptyTank } Image{ id:m_23 source:imageEmptyTank } Image{ id:m_24 source:imageEmptyTank } Image{ id:m_25 source:imageEmptyTank } Image{ id:m_26 source:imageEmptyTank } Image{ id:m_27 source:imageEmptyTank } Image{ id:m_28 source:imageEmptyTank } Image{ id:m_29 source:imageEmptyTank } Image{ id:m_30 source:imageEmptyTank } Image{ id:m_31 source:imageEmptyTank } spacing:1.2 } //l Row{ Image{ id:l_1 source: imageEmptyTank } Image{ id:l_2 source:imageEmptyTank } Image{ id:l_3 source:imageEmptyTank } Image{ id:l_4 source:imageEmptyTank } Image{ id:l_5 source:imageEmptyTank } Image{ id:l_6 source:imageEmptyTank } Image{ id:l_7 source:imageEmptyTank } Image{ id:l_8 source:imageEmptyTank } Image{ id:l_9 source:imageEmptyTank } Image{ id:l_10 source:imageEmptyTank } Image{ id:l_11 source:imageEmptyTank } Image{ id:l_12 source:imageEmptyTank } Image{ id:l_13 source:imageEmptyTank } Image{ id:l_14 source:imageEmptyTank } Image{ id:l_15 source:imageEmptyTank } Image{ id:l_16 source:imageEmptyTank } Image{ id:l_17 source:imageEmptyTank } Image{ id:l_18 source:imageEmptyTank } Image{ id:l_19 source:imageEmptyTank } Image{ id:l_20 source:imageEmptyTank } Image{ id:l_21 source:imageEmptyTank } Image{ id:l_22 source:imageEmptyTank } Image{ id:l_23 source:imageEmptyTank } Image{ id:l_24 source:imageEmptyTank } Image{ id:l_25 source:imageEmptyTank } Image{ id:l_26 source:imageEmptyTank } Image{ id:l_27 source:imageEmptyTank } Image{ id:l_28 source:imageEmptyTank } Image{ id:l_29 source:imageEmptyTank } Image{ id:l_30 source:imageEmptyTank } Image{ id:l_31 source:imageEmptyTank } spacing:1.2 } spacing:3 } Column{ //k Row{ Image{ id:k_1 source: imageEmptyTank } Image{ id:k_2 source:imageEmptyTank } Image{ id:k_3 source:imageEmptyTank } Image{ id:k_4 source:imageEmptyTank } Image{ id:k_5 source:imageEmptyTank } Image{ id:k_6 source:imageEmptyTank } Image{ id:k_7 source:imageEmptyTank } Image{ id:k_8 source:imageEmptyTank } Image{ id:k_9 source:imageEmptyTank } Image{ id:k_10 source:imageEmptyTank } Image{ id:k_11 source:imageEmptyTank } Image{ id:k_12 source:imageEmptyTank } Image{ id:k_13 source:imageEmptyTank } Image{ id:k_14 source:imageEmptyTank } Image{ id:k_15 source:imageEmptyTank } Image{ id:k_16 source:imageEmptyTank } Image{ id:k_17 source:imageEmptyTank } Image{ id:k_18 source:imageEmptyTank } Image{ id:k_19 source:imageEmptyTank } Image{ id:k_20 source:imageEmptyTank } Image{ id:k_21 source:imageEmptyTank } Image{ id:k_22 source:imageEmptyTank } Image{ id:k_23 source:imageEmptyTank } Image{ id:k_24 source:imageEmptyTank } Image{ id:k_25 source:imageEmptyTank } Image{ id:k_26 source:imageEmptyTank } Image{ id:k_27 source:imageEmptyTank } Image{ id:k_28 source:imageEmptyTank } Image{ id:k_29 source:imageEmptyTank } Image{ id:k_30 source:imageEmptyTank } Image{ id:k_31 source:imageEmptyTank } spacing:1.2 } //j Row{ Image{ id:j_1 source: imageEmptyTank } Image{ id:j_2 source:imageEmptyTank } Image{ id:j_3 source:imageEmptyTank } Image{ id:j_4 source:imageEmptyTank } Image{ id:j_5 source:imageEmptyTank } Image{ id:j_6 source:imageEmptyTank } Image{ id:j_7 source:imageEmptyTank } Image{ id:j_8 source:imageEmptyTank } Image{ id:j_9 source:imageEmptyTank } Image{ id:j_10 source:imageEmptyTank } Image{ id:j_11 source:imageEmptyTank } Image{ id:j_12 source:imageEmptyTank } Image{ id:j_13 source:imageEmptyTank } Image{ id:j_14 source:imageEmptyTank } Image{ id:j_15 source:imageEmptyTank } Image{ id:j_16 source:imageEmptyTank } Image{ id:j_17 source:imageEmptyTank } Image{ id:j_18 source:imageEmptyTank } Image{ id:j_19 source:imageEmptyTank } Image{ id:j_20 source:imageEmptyTank } Image{ id:j_21 source:imageEmptyTank } Image{ id:j_22 source:imageEmptyTank } Image{ id:j_23 source:imageEmptyTank } Image{ id:j_24 source:imageEmptyTank } Image{ id:j_25 source:imageEmptyTank } Image{ id:j_26 source:imageEmptyTank } Image{ id:j_27 source:imageEmptyTank } Image{ id:j_28 source:imageEmptyTank } Image{ id:j_29 source:imageEmptyTank } Image{ id:j_30 source:imageEmptyTank } Image{ id:j_31 source:imageEmptyTank } spacing:1.2 } spacing:3 } Column{ //i Row{ Image{ id:i_1 source: imageEmptyTank } Image{ id:i_2 source:imageEmptyTank } Image{ id:i_3 source:imageEmptyTank } Image{ id:i_4 source:imageEmptyTank } Image{ id:i_5 source:imageEmptyTank } Image{ id:i_6 source:imageEmptyTank } Image{ id:i_7 source:imageEmptyTank } Image{ id:i_8 source:imageEmptyTank } Image{ id:i_9 source:imageEmptyTank } Image{ id:i_10 source:imageEmptyTank } Image{ id:i_11 source:imageEmptyTank } Image{ id:i_12 source:imageEmptyTank } Image{ id:i_13 source:imageEmptyTank } Image{ id:i_14 source:imageEmptyTank } Image{ id:i_15 source:imageEmptyTank } Image{ id:i_16 source:imageEmptyTank } Image{ id:i_17 source:imageEmptyTank } Image{ id:i_18 source:imageEmptyTank } Image{ id:i_19 source:imageEmptyTank } Image{ id:i_20 source:imageEmptyTank } Image{ id:i_21 source:imageEmptyTank } Image{ id:i_22 source:imageEmptyTank } Image{ id:i_23 source:imageEmptyTank } Image{ id:i_24 source:imageEmptyTank } Image{ id:i_25 source:imageEmptyTank } Image{ id:i_26 source:imageEmptyTank } Image{ id:i_27 source:imageEmptyTank } Image{ id:i_28 source:imageEmptyTank } Image{ id:i_29 source:imageEmptyTank } Image{ id:i_30 source:imageEmptyTank } Image{ id:i_31 source:imageEmptyTank } spacing:1.2 } //h Row{ Image{ id:h_1 source: imageEmptyTank } Image{ id:h_2 source:imageEmptyTank } Image{ id:h_3 source:imageEmptyTank } Image{ id:h_4 source:imageEmptyTank } Image{ id:h_5 source:imageEmptyTank } Image{ id:h_6 source:imageEmptyTank } Image{ id:h_7 source:imageEmptyTank } Image{ id:h_8 source:imageEmptyTank } Image{ id:h_9 source:imageEmptyTank } Image{ id:h_10 source:imageEmptyTank } Image{ id:h_11 source:imageEmptyTank } Image{ id:h_12 source:imageEmptyTank } Image{ id:h_13 source:imageEmptyTank } Image{ id:h_14 source:imageEmptyTank } Image{ id:h_15 source:imageEmptyTank } Image{ id:h_16 source:imageEmptyTank } Image{ id:h_17 source:imageEmptyTank } Image{ id:h_18 source:imageEmptyTank } Image{ id:h_19 source:imageEmptyTank } Image{ id:h_20 source:imageEmptyTank } Image{ id:h_21 source:imageEmptyTank } Image{ id:h_22 source:imageEmptyTank } Image{ id:h_23 source:imageEmptyTank } Image{ id:h_24 source:imageEmptyTank } Image{ id:h_25 source:imageEmptyTank } Image{ id:h_26 source:imageEmptyTank } Image{ id:h_27 source:imageEmptyTank } Image{ id:h_28 source:imageEmptyTank } Image{ id:h_29 source:imageEmptyTank } Image{ id:h_30 source:imageEmptyTank } Image{ id:h_31 source:imageEmptyTank } spacing:1.2 } spacing:3 } Column{ //g Row{ Image{ id:g_1 source: imageEmptyTank } Image{ id:g_2 source:imageEmptyTank } Image{ id:g_3 source:imageEmptyTank } Image{ id:g_4 source:imageEmptyTank } Image{ id:g_5 source:imageEmptyTank } Image{ id:g_6 source:imageEmptyTank } Image{ id:g_7 source:imageEmptyTank } Image{ id:g_8 source:imageEmptyTank } Image{ id:g_9 source:imageEmptyTank } Image{ id:g_10 source:imageEmptyTank } Image{ id:g_11 source:imageEmptyTank } Image{ id:g_12 source:imageEmptyTank } Image{ id:g_13 source:imageEmptyTank } Image{ id:g_14 source:imageEmptyTank } Image{ id:g_15 source:imageEmptyTank } Image{ id:g_16 source:imageEmptyTank } Image{ id:g_17 source:imageEmptyTank } Image{ id:g_18 source:imageEmptyTank } Image{ id:g_19 source:imageEmptyTank } Image{ id:g_20 source:imageEmptyTank } Image{ id:g_21 source:imageEmptyTank } Image{ id:g_22 source:imageEmptyTank } Image{ id:g_23 source:imageEmptyTank } Image{ id:g_24 source:imageEmptyTank } Image{ id:g_25 source:imageEmptyTank } Image{ id:g_26 source:imageEmptyTank } Image{ id:g_27 source:imageEmptyTank } Image{ id:g_28 source:imageEmptyTank } Image{ id:g_29 source:imageEmptyTank } Image{ id:g_30 source:imageEmptyTank } Image{ id:g_31 source:imageEmptyTank } spacing:1.2 } //f Row{ Image{ id:f_1 source: imageEmptyTank } Image{ id:f_2 source:imageEmptyTank } Image{ id:f_3 source:imageEmptyTank } Image{ id:f_4 source:imageEmptyTank } Image{ id:f_5 source:imageEmptyTank } Image{ id:f_6 source:imageEmptyTank } Image{ id:f_7 source:imageEmptyTank } Image{ id:f_8 source:imageEmptyTank } Image{ id:f_9 source:imageEmptyTank } Image{ id:f_10 source:imageEmptyTank } Image{ id:f_11 source:imageEmptyTank } Image{ id:f_12 source:imageEmptyTank } Image{ id:f_13 source:imageEmptyTank } Image{ id:f_14 source:imageEmptyTank } Image{ id:f_15 source:imageEmptyTank } Image{ id:f_16 source:imageEmptyTank } Image{ id:f_17 source:imageEmptyTank } Image{ id:f_18 source:imageEmptyTank } Image{ id:f_19 source:imageEmptyTank } Image{ id:f_20 source:imageEmptyTank } Image{ id:f_21 source:imageEmptyTank } Image{ id:f_22 source:imageEmptyTank } Image{ id:f_23 source:imageEmptyTank } Image{ id:f_24 source:imageEmptyTank } Image{ id:f_25 source:imageEmptyTank } Image{ id:f_26 source:imageEmptyTank } Image{ id:f_27 source:imageEmptyTank } Image{ id:f_28 source:imageEmptyTank } Image{ id:f_29 source:imageEmptyTank } Image{ id:f_30 source:imageEmptyTank } Image{ id:f_31 source:imageEmptyTank } spacing:1.2 } spacing:3 } Column{ //e Row{ Image{ id:e_1 source: imageEmptyTank } Image{ id:e_2 source:imageEmptyTank } Image{ id:e_3 source:imageEmptyTank } Image{ id:e_4 source:imageEmptyTank } Image{ id:e_5 source:imageEmptyTank } Image{ id:e_6 source:imageEmptyTank } Image{ id:e_7 source:imageEmptyTank } Image{ id:e_8 source:imageEmptyTank } Image{ id:e_9 source:imageEmptyTank } Image{ id:e_10 source:imageEmptyTank } Image{ id:e_11 source:imageEmptyTank } Image{ id:e_12 source:imageEmptyTank } Image{ id:e_13 source:imageEmptyTank } Image{ id:e_14 source:imageEmptyTank } Image{ id:e_15 source:imageEmptyTank } Image{ id:e_16 source:imageEmptyTank } Image{ id:e_17 source:imageEmptyTank } Image{ id:e_18 source:imageEmptyTank } Image{ id:e_19 source:imageEmptyTank } Image{ id:e_20 source:imageEmptyTank } Image{ id:e_21 source:imageEmptyTank } Image{ id:e_22 source:imageEmptyTank } Image{ id:e_23 source:imageEmptyTank } Image{ id:e_24 source:imageEmptyTank } Image{ id:e_25 source:imageEmptyTank } Image{ id:e_26 source:imageEmptyTank } Image{ id:e_27 source:imageEmptyTank } Image{ id:e_28 source:imageEmptyTank } Image{ id:e_29 source:imageEmptyTank } Image{ id:e_30 source:imageEmptyTank } Image{ id:e_31 source:imageEmptyTank } spacing:1.2 } //d Row{ Image{ id:d_1 source: imageEmptyTank } Image{ id:d_2 source:imageEmptyTank } Image{ id:d_3 source:imageEmptyTank } Image{ id:d_4 source:imageEmptyTank } Image{ id:d_5 source:imageEmptyTank } Image{ id:d_6 source:imageEmptyTank } Image{ id:d_7 source:imageEmptyTank } Image{ id:d_8 source:imageEmptyTank } Image{ id:d_9 source:imageEmptyTank } Image{ id:d_10 source:imageEmptyTank } Image{ id:d_11 source:imageEmptyTank } Image{ id:d_12 source:imageEmptyTank } Image{ id:d_13 source:imageEmptyTank } Image{ id:d_14 source:imageEmptyTank } Image{ id:d_15 source:imageEmptyTank } Image{ id:d_16 source:imageEmptyTank } Image{ id:d_17 source:imageEmptyTank } Image{ id:d_18 source:imageEmptyTank } Image{ id:d_19 source:imageEmptyTank } Image{ id:d_20 source:imageEmptyTank } Image{ id:d_21 source:imageEmptyTank } Image{ id:d_22 source:imageEmptyTank } Image{ id:d_23 source:imageEmptyTank } Image{ id:d_24 source:imageEmptyTank } Image{ id:d_25 source:imageEmptyTank } Image{ id:d_26 source:imageEmptyTank } Image{ id:d_27 source:imageEmptyTank } Image{ id:d_28 source:imageEmptyTank } Image{ id:d_29 source:imageEmptyTank } Image{ id:d_30 source:imageEmptyTank } Image{ id:d_31 source:imageEmptyTank } spacing:1.2 } spacing:3 } Column{ //c Row{ Image{ id:c_1 source: imageEmptyTank } Image{ id:c_2 source:imageEmptyTank } Image{ id:c_3 source:imageEmptyTank } Image{ id:c_4 source:imageEmptyTank } Image{ id:c_5 source:imageEmptyTank } Image{ id:c_6 source:imageEmptyTank } Image{ id:c_7 source:imageEmptyTank } Image{ id:c_8 source:imageEmptyTank } Image{ id:c_9 source:imageEmptyTank } Image{ id:c_10 source:imageEmptyTank } Image{ id:c_11 source:imageEmptyTank } Image{ id:c_12 source:imageEmptyTank } Image{ id:c_13 source:imageEmptyTank } Image{ id:c_14 source:imageEmptyTank } Image{ id:c_15 source:imageEmptyTank } Image{ id:c_16 source:imageEmptyTank } Image{ id:c_17 source:imageEmptyTank } Image{ id:c_18 source:imageEmptyTank } Image{ id:c_19 source:imageEmptyTank } Image{ id:c_20 source:imageEmptyTank } Image{ id:c_21 source:imageEmptyTank } Image{ id:c_22 source:imageEmptyTank } Image{ id:c_23 source:imageEmptyTank } Image{ id:c_24 source:imageEmptyTank } Image{ id:c_25 source:imageEmptyTank } Image{ id:c_26 source:imageEmptyTank } Image{ id:c_27 source:imageEmptyTank } Image{ id:c_28 source:imageEmptyTank } Image{ id:c_29 source:imageEmptyTank } Image{ id:c_30 source:imageEmptyTank } Image{ id:c_31 source:imageEmptyTank } spacing:1.2 } //b Row{ Image{ id:b_1 source: imageEmptyTank } Image{ id:b_2 source:imageEmptyTank } Image{ id:b_3 source:imageEmptyTank } Image{ id:b_4 source:imageEmptyTank } Image{ id:b_5 source:imageEmptyTank } Image{ id:b_6 source:imageEmptyTank } Image{ id:b_7 source:imageEmptyTank } Image{ id:b_8 source:imageEmptyTank } Image{ id:b_9 source:imageEmptyTank } Image{ id:b_10 source:imageEmptyTank } Image{ id:b_11 source:imageEmptyTank } Image{ id:b_12 source:imageEmptyTank } Image{ id:b_13 source:imageEmptyTank } Image{ id:b_14 source:imageEmptyTank } Image{ id:b_15 source:imageEmptyTank } Image{ id:b_16 source:imageEmptyTank } Image{ id:b_17 source:imageEmptyTank } Image{ id:b_18 source:imageEmptyTank } Image{ id:b_19 source:imageEmptyTank } Image{ id:b_20 source:imageEmptyTank } Image{ id:b_21 source:imageEmptyTank } Image{ id:b_22 source:imageEmptyTank } Image{ id:b_23 source:imageEmptyTank } Image{ id:b_24 source:imageEmptyTank } Image{ id:b_25 source:imageEmptyTank } Image{ id:b_26 source:imageEmptyTank } Image{ id:b_27 source:imageEmptyTank } Image{ id:b_28 source:imageEmptyTank } Image{ id:b_29 source:imageEmptyTank } Image{ id:b_30 source:imageEmptyTank } Image{ id:b_31 source:imageEmptyTank } spacing:1.2 } spacing:3 } Column{ //a Row{ Image{ id:a_1 source: imageEmptyTank } Image{ id:a_2 source:imageEmptyTank } Image{ id:a_3 source:imageEmptyTank } Image{ id:a_4 source:imageEmptyTank } Image{ id:a_5 source:imageEmptyTank } Image{ id:a_6 source:imageEmptyTank } Image{ id:a_7 source:imageEmptyTank } Image{ id:a_8 source:imageEmptyTank } Image{ id:a_9 source:imageEmptyTank } Image{ id:a_10 source:imageEmptyTank } Image{ id:a_11 source:imageEmptyTank } Image{ id:a_12 source:imageEmptyTank } Image{ id:a_13 source:imageEmptyTank } Image{ id:a_14 source:imageEmptyTank } Image{ id:a_15 source:imageEmptyTank } Image{ id:a_16 source:imageEmptyTank } Image{ id:a_17 source:imageEmptyTank } Image{ id:a_18 source:imageEmptyTank } Image{ id:a_19 source:imageEmptyTank } Image{ id:a_20 source:imageEmptyTank } Image{ id:a_21 source:imageEmptyTank } Image{ id:a_22 source:imageEmptyTank } Image{ id:a_23 source:imageEmptyTank } Image{ id:a_24 source:imageEmptyTank } Image{ id:a_25 source:imageEmptyTank } Image{ id:a_26 source:imageEmptyTank } Image{ id:a_27 source:imageEmptyTank } Image{ id:a_28 source:imageEmptyTank } Image{ id:a_29 source:imageEmptyTank } Image{ id:a_30 source:imageEmptyTank } Image{ id:a_31 source:imageEmptyTank } spacing:1.2 } } } Rectangle{ id:schedulList width:500 height:350 //border.width:1 //border.color:'blue' color:'transparent' anchors.top:schedulTitle.top anchors.topMargin:100 anchors.left:schedulTitle.left anchors.leftMargin:100 } Rectangle{ width:50 height:100 //border.width:1 //border.color:'blue' color:'transparent' anchors.bottom:schedulList.bottom anchors.topMargin:0 anchors.left:schedulList.right anchors.leftMargin:20 Text{ anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter color:'#FFFFFF' //text:'等\n待\n区' } } } Column{ //任务通知消息展示区域 Image{ id:messageTitle source:'qrc:/images/messageTitle.png' Column{ id:carMessage anchors.top:messageTitle.top anchors.topMargin:60 anchors.left:messageTitle.left anchors.leftMargin:30 Row{ id:messageListRowCar1 height:40 Rectangle{ width:100 height:40 color:'transparent' Text{ text:'一号车' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } } Rectangle{ width:450 height:40 color:'transparent' Text{ text:carTasktime + ' '+ '离线' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 //anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } } Button{ id:car1ButtonCancel width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car1ButtonCancelImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car1ButtonCancelText text:'取消任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car1ButtonCancel.enabled onEntered: { car1ButtonCancelText.color='#444444' } onExited:{ car1ButtonCancelText.color='#ffffff' } onPressed:(mouse)=>{ car1ButtonCancelImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car1ButtonCancelImage.source='qrc:/images/taskButton.png' } onClicked: { //car1ButtonCancelImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ visible:false id:car1ButtonStop width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car1ButtonStopImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car1ButtonStopText text:'暂停任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car1ButtonStop.enabled onEntered: { car1ButtonStopText.color='#444444' } onExited:{ car1ButtonStopText.color='#ffffff' } onPressed:(mouse)=>{ car1ButtonStopImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car1ButtonStopImage.source='qrc:/images/taskButton.png' } onClicked: { //car1ButtonStopImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } spacing:2 } Row{ id:messageListRowCar2 height:40 Rectangle{ width:100 height:40 color:'transparent' Text{ text:'二号车' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } } Rectangle{ width:450 height:40 color:'transparent' Text{ text:carTasktime + ' '+ '离线' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 //anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } } Button{ id:car2ButtonCancel width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car2ButtonCancelImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car2ButtonCancelText text:'取消任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car2ButtonCancel.enabled onEntered: { car2ButtonCancelText.color='#444444' } onExited:{ car2ButtonCancelText.color='#ffffff' } onPressed:(mouse)=>{ car2ButtonCancelImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car2ButtonCancelImage.source='qrc:/images/taskButton.png' } onClicked: { //car2ButtonCancelImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ visible:false id:car2ButtonStop width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car2ButtonStopImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car2ButtonStopText text:'暂停任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car2ButtonStop.enabled onEntered: { car2ButtonStopText.color='#444444' } onExited:{ car2ButtonStopText.color='#ffffff' } onPressed:(mouse)=>{ car2ButtonStopImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car2ButtonStopImage.source='qrc:/images/taskButton.png' } onClicked: { //car2ButtonStopImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } spacing:2 } Row{ id:messageListRowCar3 height:40 Rectangle{ width:100 height:40 color:'transparent' Text{ text:'三号车' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } } Rectangle{ width:450 height:40 color:'transparent' Text{ id:car3stateText text:carTasktime + ' '+ '在线空闲' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 //anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter Component.onCompleted:{cartaskTime.start()} } } Button{ id:car3ButtonCancel width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car3ButtonCancelImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car3ButtonCancelText text:'取消任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car3ButtonCancel.enabled onEntered: { car3ButtonCancelText.color='#444444' } onExited:{ car3ButtonCancelText.color='#ffffff' } onPressed:(mouse)=>{ car3ButtonCancelImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car3ButtonCancelImage.source='qrc:/images/taskButton.png' } onClicked: { //car3ButtonCancelImage.source='qrc:/images/celected.png' console.log("点击了") popupCanelTask.open() //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ visible:false id:car3ButtonStop width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car3ButtonStopImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car3ButtonStopText text:'暂停任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car3ButtonStop.enabled onEntered: { car3ButtonStopText.color='#444444' } onExited:{ car3ButtonStopText.color='#ffffff' } onPressed:(mouse)=>{ car3ButtonStopImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car3ButtonStopImage.source='qrc:/images/taskButton.png' } onClicked: { //car3ButtonStopImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } spacing:2 } Row{ id:messageListRowCar4 height:40 Rectangle{ width:100 height:40 color:'transparent' Text{ text:'四号车' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } } Rectangle{ width:450 height:40 color:'transparent' Text{ text:carTasktime + ' '+ '离线' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 //anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } } Button{ id:car4ButtonCancel width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car4ButtonCancelImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car4ButtonCancelText text:'取消任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car4ButtonCancel.enabled onEntered: { car4ButtonCancelText.color='#444444' } onExited:{ car4ButtonCancelText.color='#ffffff' } onPressed:(mouse)=>{ car4ButtonCancelImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car4ButtonCancelImage.source='qrc:/images/taskButton.png' } onClicked: { //car4ButtonCancelImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ visible:false id:car4ButtonStop width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car4ButtonStopImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car4ButtonStopText text:'暂停任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car4ButtonStop.enabled onEntered: { car4ButtonStopText.color='#444444' } onExited:{ car4ButtonStopText.color='#ffffff' } onPressed:(mouse)=>{ car4ButtonStopImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car4ButtonStopImage.source='qrc:/images/taskButton.png' } onClicked: { //car4ButtonStopImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } spacing:2 } Row{ id:messageListRowCar5 height:40 Rectangle{ width:100 height:40 color:'transparent' Text{ text:'五号车' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } } Rectangle{ width:450 height:40 color:'transparent' Text{ text:carTasktime + ' '+ '离线' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 //anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } } Button{ id:car5ButtonCancel width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car5ButtonCancelImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car5ButtonCancelText text:'取消任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car5ButtonCancel.enabled onEntered: { car5ButtonCancelText.color='#444444' } onExited:{ car5ButtonCancelText.color='#ffffff' } onPressed:(mouse)=>{ car5ButtonCancelImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car5ButtonCancelImage.source='qrc:/images/taskButton.png' } onClicked: { //car5ButtonCancelImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } Button{ visible:false id:car5ButtonStop width:120 height:60 anchors.top:parent.top anchors.topMargin:-10 background: Image{ Image{ id:car5ButtonStopImage anchors.fill: parent source:'qrc:/images/taskButton.png' } } Text{ id:car5ButtonStopText text:'暂停任务' font.family: alibaba.name font.pointSize: 12 color:'#ffffff' //水平居中 anchors.horizontalCenter: parent.horizontalCenter //竖直居中 anchors.verticalCenter: parent.verticalCenter } MouseArea{ anchors.fill: parent hoverEnabled: true enabled: car5ButtonStop.enabled onEntered: { car5ButtonStopText.color='#444444' } onExited:{ car5ButtonStopText.color='#ffffff' } onPressed:(mouse)=>{ car5ButtonStopImage.source='qrc:/images/smallBlueCelected.png' console.log("pressed") } onReleased: { car5ButtonStopImage.source='qrc:/images/taskButton.png' } onClicked: { //car5ButtonStopImage.source='qrc:/images/celected.png' console.log("点击了") //isReady = !isReady; //if(isReady===true) //else //prepareLabel.color="yellow" } } } spacing:2 } spacing:11 } } //告警信息显示区域 Image{ id:warningTitle source:'qrc:/images/warningTitle.png' Rectangle{ width:300 height:50 anchors.top:warningTitle.top anchors.topMargin:50 anchors.left:warningTitle.left anchors.leftMargin:30 color:'transparent' Timer { id: timerCarMessage interval: messageList[currentIndex1].visible ? 500 : 0 running: true repeat: true onTriggered: { //console.log("动臂倾角故障",appModel.boomAngleSensor_F) do { currentIndex1 = (currentIndex1 + 1) % messageList.length } while (!messageList[currentIndex1].visible) do { currentIndex2 = (currentIndex2 + 1) % messageList.length } while (!messageList[currentIndex2].visible) do { currentIndex3 = (currentIndex3 + 1) % messageList.length } while (!messageList[currentIndex3].visible) } } Text { id: carMessageValue1 anchors.top: warningTitle.top anchors.topMargin: 3 text: messageList[currentIndex1].text color: 'red' font.family: alibaba.name font.pointSize: 14 visible: messageList[currentIndex1].visible } Text { id: carMessageValue2 anchors.top: carMessageValue1.bottom anchors.topMargin: 3 text: messageList[currentIndex2].text color: 'red' font.family: alibaba.name font.pointSize: 14 visible: messageList[currentIndex2].visible } Text { id: carMessageValue3 anchors.top: carMessageValue2.bottom anchors.topMargin: 3 text: messageList[currentIndex3].text color: 'red' font.family: alibaba.name font.pointSize: 14 visible: messageList[currentIndex3].visible } } } spacing:15 } spacing:20 } ListView { id: carList width: parent.width // 设置ListView的宽度为内容的宽度 height: 70 // 设置ListView的高度为内容的高度 //anchors.fill: parent anchors.top:parent.top anchors.topMargin:130 anchors.left:parent.left anchors.leftMargin:330 visible:false interactive: false // 禁用滚动手势 // 水平排列 orientation: ListView.Horizontal spacing:10 // 垂直排列(默认值) //orientation: ListView.Vertical clip: true //model:appModel.car model:5 delegate: Item { width: 170 height: 70 Image { id: myIcon width: 170 height: 70 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter fillMode: Image.PreserveAspectFit source: index + 1 === 1 ? 'qrc:/images/blueMiddleButton.png' : 'qrc:/images/grayButton.png' } Text { id:carChose1 anchors { horizontalCenter: parent.horizontalCenter verticalCenter: parent.verticalCenter } //text: model.name + stateText(model.state) text:index+1 color: '#ffffff' font.family: alibaba.name font.pointSize: 14 Timer { id: timerRefresh interval: 1000 onTriggered: { stateText(model.state) } } } MouseArea { width: myIcon.width height: myIcon.height anchors.centerIn: myIcon onEntered: { carChose1.color='#444444' } onExited:{ carChose1.color='#ffffff' } onClicked: { if (appModel.idle(model.uid)) { carList.currentIndex = model.uid console.log(carList.currentIndex) //carSelect(carList.currentIndex) page_detail.visible = true page_detail.stack = stack page_detail.refresh() stack.push(page_detail, {"name": model.name, "uid": model.uid}) } } } } } //这里的MouseArea挡住了button /* GridView { id: carGrid anchors.fill: parent cellWidth: 300 cellHeight: 300 focus: true anchors.leftMargin: 160 anchors.rightMargin: 160 anchors.topMargin: 160 anchors.bottomMargin: 160 x:100 model: appModel.car delegate: Item { required property string name required property int uid required property string state width: 300 height: 300 Image { id: myIcon width: 200 height: 200 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter fillMode: Image.PreserveAspectFit source: 'qrc:/images/car1.png' } Text { anchors { top: myIcon.bottom topMargin: 10 horizontalCenter: parent.horizontalCenter } text: parent.name + stateText(parent.state) color: '#eaf4fc' font.family: alibaba.name font.pointSize: 20 Timer{ id: timerRefresh interval:1000 onTriggered: { stateText(parent.state) } } } MouseArea { anchors.fill: parent onClicked: { if(appModel.idle(parent.uid)) { parent.GridView.view.currentIndex = parent.uid console.log(parent.GridView.view.currentIndex) //carSelect(parent.GridView.view.currentIndex) page_detail.visible = true page_detail.stack = stack page_detail.refresh() stack.push(page_detail, { "name": parent.name, "uid": parent.uid }) } } } } } */ } }