| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.0" |
| | | "unit":"I10.0", |
| | | "name1":"LOW-E膜检测" |
| | | }, |
| | | { |
| | | "name": "A01Sr.dec", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.1" |
| | | "unit":"I10.1", |
| | | "name1":"A01减速" |
| | | }, |
| | | { |
| | | "name": "A01Sr.Pos", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.2" |
| | | "unit":"I10.2", |
| | | "name1":"A01到位" |
| | | |
| | | }, |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.3" |
| | | "unit":"I10.3", |
| | | "name1":"A02-Y轴原点" |
| | | }, |
| | | { |
| | | "name": "A02Sr.YH1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.4" |
| | | "unit":"I10.4", |
| | | "name1":"A02-Y轴高度感应1" |
| | | }, |
| | | { |
| | | "name": "A02Sr.YH2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.5" |
| | | "unit":"I10.5", |
| | | "name1":"A02-Y轴高度感应2" |
| | | }, |
| | | { |
| | | "name": "A02Sr.YH3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.6" |
| | | "unit":"I10.6", |
| | | "name1":"A02-Y轴高度感应3" |
| | | }, |
| | | { |
| | | "name": "A02Sr.YH4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I10.7" |
| | | "unit":"I10.7", |
| | | "name1":"A02-Y轴高度感应4" |
| | | }, |
| | | { |
| | | "name": "A02Sr.LimitTop", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.0" |
| | | "unit":"I11.0", |
| | | "name1":"A02-Y轴上极限" |
| | | |
| | | }, |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.1" |
| | | "unit":"I11.1", |
| | | "name1":"A02-Y轴下极限" |
| | | }, |
| | | { |
| | | "name": "A02Sr.Check", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.2" |
| | | "unit":"I11.2", |
| | | "name1":"A02-Y轴寻边" |
| | | }, |
| | | { |
| | | "name": "A02Sr.YDec", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.3" |
| | | "unit":"I11.3", |
| | | "name1":"A02-Y轴减速" |
| | | }, |
| | | { |
| | | "name": "A02Sr.Xin", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.4" |
| | | "unit":"I11.4", |
| | | "name1":"A02-X轴上片" |
| | | }, |
| | | { |
| | | "name": "A02Sr.XCheck", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.5" |
| | | "unit":"I11.5", |
| | | "name1":"A02-X轴寻边" |
| | | }, |
| | | { |
| | | "name": "A02Sr.XDec", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.6" |
| | | "unit":"I11.6", |
| | | "name1":"A02-X轴减速" |
| | | }, |
| | | { |
| | | "name": "A02Sr.XPos", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I11.7" |
| | | "unit":"I11.7", |
| | | "name1":"A02-X轴到位" |
| | | }, |
| | | { |
| | | "name": "C01Sr.Zero", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.0" |
| | | "unit":"I124.0", |
| | | "name1":"C01原点" |
| | | |
| | | }, |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.1" |
| | | "unit":"I124.1", |
| | | "name1":"C01.YV1原点位1" |
| | | }, |
| | | { |
| | | "name": "C01YV1.Work1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.2" |
| | | "unit":"I124.2", |
| | | "name1":"C01.YV1动作位1" |
| | | }, |
| | | { |
| | | "name": "C01.YV1.Bas2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.3" |
| | | "unit":"I124.3", |
| | | "name1":"C01.YV1原点位2" |
| | | }, |
| | | { |
| | | "name": "C01.YV1.Work2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.4" |
| | | "unit":"I124.4", |
| | | "name1":"C01.YV1动作位2" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Bas1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.5" |
| | | "unit":"I124.5", |
| | | "name1":"C01.YV2原点位1" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Bas2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.6" |
| | | "unit":"I124.6", |
| | | "name1":"C01.YV2原点位2" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Bas3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I124.7" |
| | | "unit":"I124.7", |
| | | "name1":"C01.YV2原点位3" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Bas4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.0" |
| | | "unit":"I125.0", |
| | | "name1":"C01.YV2原点位4" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Work1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.1" |
| | | "unit":"I125.1", |
| | | "name1":"C01.YV2动作位1" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Work2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.2" |
| | | "unit":"I125.2", |
| | | "name1":"C01.YV2动作位2" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Work3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.3" |
| | | "unit":"I125.3", |
| | | "name1":"C01.YV2动作位3" |
| | | }, |
| | | { |
| | | "name": "C01.YV2.Work4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.4" |
| | | "unit":"I125.4", |
| | | "name1":"C01.YV2动作位4" |
| | | }, |
| | | { |
| | | "name": "C01.YV.Blow1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.5" |
| | | "unit":"I125.5", |
| | | "name1":"C01吹气1" |
| | | }, |
| | | { |
| | | "name": "C01.YV.Blow2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.6" |
| | | "unit":"I125.6", |
| | | "name1":"C01吹气2" |
| | | }, |
| | | { |
| | | "name": "C01.YV.Blow3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I125.7" |
| | | "unit":"I125.7", |
| | | "name1":"C01吹气3" |
| | | }, |
| | | { |
| | | "name": "C01.YV.Blow4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.0" |
| | | "unit":"I126.0", |
| | | "name1":"C01吹气4" |
| | | }, |
| | | { |
| | | "name": "C01.SR.Limit1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.1" |
| | | "unit":"I126.1", |
| | | "name1":"C01对射保护" |
| | | }, |
| | | { |
| | | "name": "C02.Sr.Zero", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.2" |
| | | "unit":"I126.2", |
| | | "name1":"C02原点" |
| | | }, |
| | | { |
| | | "name": "C02.YV1.Bas1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.3" |
| | | "unit":"I126.3", |
| | | "name1":"C02.YV1原点位1" |
| | | }, |
| | | { |
| | | "name": "C02.YV1.Work1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.4" |
| | | "unit":"I126.4", |
| | | "name1":"C02.YV1动作位1" |
| | | }, |
| | | { |
| | | "name": "C02.YV1.Bas2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.5" |
| | | "unit":"I126.5", |
| | | "name1":"C02.YV1原点位2" |
| | | }, |
| | | { |
| | | "name": "C02.YV1.Work2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.6" |
| | | "unit":"I126.6", |
| | | "name1":"C02.YV1动作位2" |
| | | }, |
| | | { |
| | | "name": "C02.Sr.limit1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I126.7" |
| | | "unit":"I126.7", |
| | | "name1":"C02对射保护" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Bas1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.0" |
| | | "unit":"I127.0", |
| | | "name1":"C02.YV2原点位1" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Bas2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.1" |
| | | "unit":"I127.1", |
| | | "name1":"C02.YV2原点位2" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Bas3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.2" |
| | | "unit":"I127.2", |
| | | "name1":"C02.YV2原点位3" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Bas4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.3" |
| | | "unit":"I127.3", |
| | | "name1":"C02.YV2原点位4" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Work1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.4" |
| | | "unit":"I127.4", |
| | | "name1":"C02.YV2动作位1" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Work2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.5" |
| | | "unit":"I127.5", |
| | | "name1":"C02.YV2动作位2" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Work3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.6" |
| | | "unit":"I127.6", |
| | | "name1":"C02.YV2动作位3" |
| | | }, |
| | | { |
| | | "name": "C02.YV2.Work4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I127.7" |
| | | "unit":"I127.7", |
| | | "name1":"C02.YV2动作位4" |
| | | }, |
| | | { |
| | | "name": "C02.YV.Blow1", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.0" |
| | | "unit":"I128.0", |
| | | "name1":"C02吹气1" |
| | | }, |
| | | { |
| | | "name": "C02.YV.Blow2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.1" |
| | | "unit":"I128.1", |
| | | "name1":"C02吹气2" |
| | | }, |
| | | { |
| | | "name": "C02.YV.Blow3", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.2" |
| | | "unit":"I128.2", |
| | | "name1":"C02吹气3" |
| | | }, |
| | | { |
| | | "name": "C02.YV.Blow4", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.3" |
| | | "unit":"I128.3", |
| | | "name1":"C02吹气4" |
| | | }, |
| | | { |
| | | "name": "bStart", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.4" |
| | | "unit":"I128.4", |
| | | "name1":"启动" |
| | | }, |
| | | { |
| | | "name": "bStop", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.5" |
| | | "unit":"I128.5", |
| | | "name1":"停止" |
| | | }, |
| | | { |
| | | "name": "bEstop", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.6" |
| | | "unit":"I128.6", |
| | | "name1":"急停" |
| | | }, |
| | | { |
| | | "name": "bReset", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I128.7" |
| | | "unit":"I128.7", |
| | | "name1":"复位" |
| | | }, |
| | | { |
| | | "name": "bAuto/Manual", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.0" |
| | | "unit":"I129.0", |
| | | "name1":"模式选择" |
| | | }, |
| | | { |
| | | "name": "bPause", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.1" |
| | | "unit":"I129.1", |
| | | "name1":"暂停" |
| | | }, |
| | | { |
| | | "name": "C01.Sr.Limit2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.2" |
| | | "unit":"I129.2", |
| | | "name1":"C01对射保护2" |
| | | }, |
| | | { |
| | | "name": "C02.Sr.Limit2", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.3" |
| | | "unit":"I129.3", |
| | | "name1":"C02对射保护2" |
| | | }, |
| | | { |
| | | "name": "A01.FootControl", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.4" |
| | | "unit":"I129.4", |
| | | "name1":"脚踏开关" |
| | | }, |
| | | { |
| | | "name": "B01.Sr.DecLeft", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.5" |
| | | "unit":"I129.5", |
| | | "name1":"B01左减速" |
| | | }, |
| | | { |
| | | "name": "B01.Sr.PosLeft", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.6" |
| | | "unit":"I129.6", |
| | | "name1":"B01左到位" |
| | | }, |
| | | { |
| | | "name": "B01.Sr.SafetyLeft", |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I129.7" |
| | | "unit":"I129.7", |
| | | "name1":"B01左安全检测" |
| | | } |
| | | , |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I130.0" |
| | | "unit":"I130.0", |
| | | "name1":"B01右减速" |
| | | } |
| | | , |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I130.1" |
| | | "unit":"I130.1", |
| | | "name1":"B01右到位" |
| | | } |
| | | , |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I130.2" |
| | | "unit":"I130.2", |
| | | "name1":"B01右安全检测" |
| | | } |
| | | , |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I130.3" |
| | | "unit":"I130.3", |
| | | "name1":"B01大车翻转原点" |
| | | } |
| | | , |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I130.4" |
| | | "unit":"I130.4", |
| | | "name1":"B01大车翻转上极限" |
| | | } |
| | | , |
| | | { |
| | |
| | | "state": "1", |
| | | "type": "1", |
| | | "page": "1", |
| | | "unit":"I130.5" |
| | | "unit":"I130.5", |
| | | "name1":"B01大车翻转下极限" |
| | | } |
| | | |
| | | |
| | |
| | | "Clear":"Clear", |
| | | |
| | | |
| | | "ip":"192.168.10.97", |
| | | "ip":"localhost", |
| | | "systemTitle": "Login System", |
| | | "usernamePlaceholder": "Please enter username", |
| | | "passwordPlaceholder": "Please enter password", |
| | |
| | | "Thickness":"厚度", |
| | | "Clear":"清除", |
| | | |
| | | "ip":"192.168.10.97", |
| | | "ip":"localhost", |
| | | "systemTitle": "登录系统", |
| | | "usernamePlaceholder": "请输入用户名", |
| | | "passwordPlaceholder": "请输入密码", |
| | |
| | | item.unit |
| | | }}</span> --> |
| | | <span style="width: 100%;" class="in_mc">{{ |
| | | item.name |
| | | language === 'zh-CN'?item.name1:item.name |
| | | }}</span> |
| | | </div> |
| | | |
| | |
| | | params: [], |
| | | xyData: [], |
| | | }, |
| | | |
| | | |
| | | language :this.$i18n.locale, |
| | | messagepack: { |
| | | data: { taskname: "" } |
| | | }, |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | |
| | | //this.showdata(); |
| | | }, |
| | | activated(){ |
| | | this.init(); |
| | | this.record.xyData = this.jsonData.sign; |
| | | const language = this.$i18n.locale; |
| | | |
| | | |
| | | if (language === 'zh-CN') { |
| | | this.replaceChineseWithEnglish(); |
| | | } else { |
| | |
| | | ); |
| | | |
| | | |
| | | const language = this.$i18n.locale; |
| | | const language = this.$i18n.locale;language |
| | | console.log(language); |
| | | if (language === 'zh-CN') { |
| | | this.replaceChineseWithEnglish(); |
| | | } else { |
| | |
| | | this.roles = res.data.list; |
| | | //table中的内容进行语言转换 |
| | | const language = this.$i18n.locale; |
| | | |
| | | if (language === 'zh-CN') { |
| | | this.replaceChineseWithEnglish(); |
| | | } else { |
| | |
| | | </div> |
| | | <div style="display: flex;align-items: center;overflow: hidden;"> |
| | | <div class="blocks" style="position: relative;width: 100%;"> |
| | | <div class="blocks-img" :style="'z-index:999;left:150px;top:'+carposition+'px;'"> |
| | | <div class="blocks-img" :style="'z-index:999;left:150px;top:' + carposition + 'px;'"> |
| | | |
| | | </div> |
| | | <div |
| | | :style="'position: absolute;z-index:99;left:271px;top:987px;width:210px;height:38px;background-color:' + ShowDeviceList(0) + ';'"> |
| | | </div> |
| | | <div |
| | | :style="'position: absolute;z-index:1000;left:553px;top:'+(400+carposition)+'px;width:110px;height:88px;background-color:' + ShowDeviceList(0) + ';'"> |
| | | :style="'position: absolute;z-index:1000;left:553px;top:' + (400 + carposition) + 'px;width:110px;height:88px;background-color:' + ShowDeviceList(0) + ';'"> |
| | | </div> |
| | | <div |
| | | :style="'position: absolute;z-index:99;left:800px;top:450px;width:115px;height:30px;background-color:' + ShowDeviceList(0) + ';'"> |
| | |
| | | <el-button type="primary" @click="ManualMatching()" :disabled="SoftEmergencyStopState" |
| | | style="z-index: 999;">{{ $t('Manual matching') }}</el-button> |
| | | <el-button type="primary" @click="ManualTake()" :disabled="SoftEmergencyStopState" |
| | | style="z-index: 999;">{{ $t('Manual removal') }}</el-button> |
| | | style="z-index: 999;">{{ |
| | | $t('Manual removal') }}</el-button> |
| | | <el-button type="primary" @click="AnewMeasure()" :disabled="SoftEmergencyStopState" |
| | | style="z-index: 999;">{{ $t('Remeasure') }}</el-button> |
| | | style="z-index: 999;">{{ |
| | | $t('Remeasure') }}</el-button> |
| | | </div> |
| | | <br> |
| | | <!--显示--> |
| | | <div style="width:1000px;height: 720px;border: 2px solid #d1d1d1;float: left;"> |
| | | <!--玻璃图 #81b337--> |
| | | <div :style="'top:10px;bottom: 10px;left: 10px;right: 10px;margin:'+((720-(this.LastQueue.glassheight / 25 * 7))/2)+'px auto;width:' |
| | | + (this.LastQueue.glasswidth / 25 * 7) + 'px;height:' |
| | | + (this.LastQueue.glassheight / 25 * 7) + 'px;line-height: ' |
| | | + (this.LastQueue.glassheight / 25 * 7) + 'px; background-color: ' |
| | | + (this.LastQueue.state>0?'#4CCCE4':(this.LastQueue.state==0?'#E4CA4C':'#E4CA4C'))+';text-align: center;'"> |
| | | {{ (this.LastQueue.glasswidth+this.LastQueue.glassheight)!=0?(this.LastQueue.glasswidth+"*"+this.LastQueue.glassheight):"" }} |
| | | <div |
| | | :style="'top:10px;bottom: 10px;left: 10px;right: 10px;margin:' + ((720 - (this.LastQueue.glassheight / 25 * 7)) / 2) + 'px auto;width:' |
| | | + (this.LastQueue.glasswidth / 25 * 7) + 'px;height:' |
| | | + (this.LastQueue.glassheight / 25 * 7) + 'px;line-height: ' |
| | | + (this.LastQueue.glassheight / 25 * 7) + 'px; background-color: ' |
| | | + (this.LastQueue.state > 0 ? '#4CCCE4' : (this.LastQueue.state == 0 ? '#E4CA4C' : '#E4CA4C')) + ';text-align: center;'"> |
| | | {{ |
| | | (this.LastQueue.glasswidth + this.LastQueue.glassheight) != 0 ? (this.LastQueue.glasswidth + "*" + this.LastQueue.glassheight) : "" |
| | | }} |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | <div style="width:20px;height: 720px;float: left;"></div> |
| | | <div style="width:500px;height: 620px;border: 2px solid #d1d1d1;float: left;padding: 50px 50px;"> |
| | | <!--玻璃图 #81b337--> |
| | | <span class="measuretitle">{{ $t('Width') }}:</span> <span class="measureValue">{{ this.LastQueue.glasswidth }}</span> <span class="measureUnit">mm</span> |
| | | <span class="measuretitle">{{ $t('Width') }}:</span> <span class="measureValue">{{ |
| | | this.LastQueue.glasswidth |
| | | }}</span> <span class="measureUnit">mm</span> |
| | | <br> |
| | | <span class="measuretitle">{{ $t('Height') }}:</span> <span class="measureValue">{{ this.LastQueue.glassheight }}</span> <span class="measureUnit">mm</span> |
| | | <span class="measuretitle">{{ $t('Height') }}:</span> <span class="measureValue">{{ |
| | | this.LastQueue.glassheight }}</span> <span class="measureUnit">mm</span> |
| | | <br> |
| | | <span class="measuretitle">{{ $t('Thickness') }}:</span> <span class="measureValue">{{ this.LastQueue.thickness }}</span> <span class="measureUnit">mm</span> |
| | | <span class="measuretitle">{{ $t('Thickness') }}:</span> <span class="measureValue">{{ |
| | | this.LastQueue.thickness }}</span> <span class="measureUnit">mm</span> |
| | | <br> |
| | | <span class="measuretitle">{{ $t('Measure Width') }}:</span> <span class="measureValue">{{ this.LastQueue.glasswidthmm }}</span> <span class="measureUnit">mm</span> |
| | | <br> |
| | | <span class="measuretitle">{{ $t('Measure Height') }}:</span> <span class="measureValue">{{ this.LastQueue.glassheightmm }}</span> <span class="measureUnit">mm</span> |
| | | <span class="measuretitle">{{ $t('Measure Width') }}:</span> <span class="measureValue">{{ |
| | | this.LastQueue.glasswidthmm }}</span> <span class="measureUnit">mm</span> |
| | | <br> |
| | | <span class="measuretitle">{{ $t('Matching results') }}:</span> <span class="measureValue">{{ this.LastQueue.state>0?$t('Matching successful'):(this.LastQueue.state==0?$t('Multiple data matching'):$t('Matching failed')) }}</span> |
| | | <span class="measuretitle">{{ $t('Measure Height') }}:</span> <span class="measureValue">{{ |
| | | this.LastQueue.glassheightmm }}</span> <span class="measureUnit">mm</span> |
| | | <br> |
| | | <span class="measuretitle">{{ $t('Matching results') }}:</span> <span class="measureValue">{{ |
| | | this.LastQueue.state > 0 ? $t('Matching successful') : (this.LastQueue.state == 0 ? $t('Multiple data |
| | | matching'):$t('Matching failed')) }}</span> |
| | | <br> |
| | | </div> |
| | | </div> |
| | |
| | | name: "Home", |
| | | data() { |
| | | return { |
| | | carposition:0, |
| | | carposition: 0, |
| | | selected: [], |
| | | options: [{ |
| | | value: '1', |
| | |
| | | socket.onmessage = function (msg) { |
| | | //console.log("收到数据====" + msg.data); |
| | | let obj = JSON.parse(msg.data); |
| | | if(obj.carposition != null){ |
| | | if (obj.carposition != null) { |
| | | this.carposition = obj.carposition[0]; |
| | | } |
| | | // 获取设备状态 |
| | |
| | | this.cagelist4 = obj.cagelist4[0]; |
| | | this.tasklist2 = obj.StoragTaskeTaskFeed[0]; |
| | | this.tasklist1 = obj.StoragTaskeTaskOut[0]; |
| | | this.alarm = obj.alarmmg[0]; |
| | | if (obj.alarmmg[0].length > 0) { |
| | | if (this.alarm.length > 0) { |
| | | if (this.alarm[this.alarm.length - 1].id != obj.alarmmg[0][obj.alarmmg[0].length - 1].id) { |
| | | this.alarm = obj.alarmmg[0]; |
| | | this.dialogFormVisible2 = true; |
| | | } |
| | | } else { |
| | | this.alarm = obj.alarmmg[0]; |
| | | this.dialogFormVisible2 = true; |
| | | } |
| | | } else { |
| | | this.alarm = obj.alarmmg[0]; |
| | | this.dialogFormVisible2 = false; |
| | | } |
| | | |
| | | this.tableData1 = obj.OrderTask[0]; |
| | | this.LastQueue = obj.LastQueue[0]; |
| | |
| | | StorageCageAddGlass(this.cell, this.StorageCageAddInfo[index]).then(res => { |
| | | if (res.data.message == 200) { |
| | | this.$message.success(this.$t('Operation successful')); |
| | | this.StorageCageAdd=false; |
| | | this.StorageCageAdd = false; |
| | | } |
| | | }) |
| | | } else { |
| | |
| | | UpdateStroageCageByCell(cell, nownum, num) { |
| | | if (nownum == null && num == 1) { |
| | | this.StorageCageAdd = true; |
| | | this.Measuermode=true; |
| | | this.Measuermode = true; |
| | | this.cell = cell; |
| | | } else { |
| | | if (nownum + num == 0) { |
| | |
| | | //人工匹配 |
| | | ManualMatching() { |
| | | this.StorageCageAdd = true; |
| | | this.Measuermode=false; |
| | | this.Measuermode = false; |
| | | }, |
| | | //人工拿走 |
| | | ManualTake() { |
| | |
| | | }, |
| | | importData() { |
| | | //let tbdata=JSON.stringify(this.dataList); |
| | | let tbdata=this.dataList; |
| | | let tbdata = this.dataList; |
| | | console.log(tbdata); |
| | | importData(tbdata).then(res => { |
| | | if (res.data.message == 200) { |
| | |
| | | PlcParameterObject plcmes=PLCAutoMes.PlcMesObject; |
| | | if(plcmes.getPlcParameter("PLCToMES").getValue()!=null){ |
| | | |
| | | //spianService.Mestast("NG0001-1",1,4,1,"MESID1",1); |
| | | |
| | | |
| | | // spianService.Mestast("NG0001-1",40,1,0,"MESID1",1); |
| | | // spianService.Mestast("NG0001-2",40,2,0,"MESID2",2); |
| | | // spianService.Mestast("NG0001-3",40,2,1,"MESID3",3); |
| | | |
| | | String ExportTOMES1=plcmes.getPlcParameter("ExportTOMES1").getValue();//出片请求一线 |
| | | String ExportToMES2=plcmes.getPlcParameter("ExportToMES2").getValue();//出片请求二线 |
| | |
| | | } |
| | | List<String> addressList21 = Arrays.asList(config.getProperty("PlcIO.State").split(",")); |
| | | List<Boolean> plclist = S7control.getinstance().readBits(addressList21); |
| | | List<String> addressListName = Arrays.asList(config.getProperty("PlcIO.Name").split(",")); |
| | | |
| | | // List<String> addressListName = Arrays.asList(config.getProperty("PlcIO.Name").split(",")); |
| | | // List<String> addressListName1 = Arrays.asList(config.getProperty("PlcIO.Name1").split(",")); |
| | | // System.out.println("急停"+S7control.getinstance().ReadBits("DB10.0.5", 1)); |
| | | |
| | | if (plclist != null) { |
| | |
| | | } |
| | | JSONObject jsonObject = new JSONObject(); |
| | | jsonObject.append("sig", Intlist); |
| | | jsonObject.append("addressListName", addressListName); |
| | | // jsonObject.append("addressListName", addressListName); |
| | | // jsonObject.append("addressListName1", addressListName1); |
| | | // WebSocketServer sendwServer3 = WebSocketServer.sessionMap.get("Sign"); |
| | | // if (sendwServer3 != null) { |
| | | // sendwServer3.sendMessage(jsonObject.toString()); |
| | |
| | | @Repository |
| | | public interface AlbaniaMapper { |
| | | //判断笼内是否有合适的类型空格 |
| | | @Select("select id from storage_cage where glasstype=#{glasstype} and width>=#{width}+#{widths} and state=0 and disabled=0 order by id limit 1") |
| | | @Select("select id from storage_cage where glasstype=#{glasstype} and width>=#{width}+#{widths} and disabled=0 order by id limit 1") |
| | | StorageCage SelectCage(int glasstype,Double width,int widths); |
| | | //判断笼内没有玻璃的空格 |
| | | @Select("select id from storage_cage where number=0 and cage>#{cage} and cage<#{cage2} and disabled=0 order by id limit 1") |
| | |
| | | void Inserttask(int tasktype, int taskstate, int shelfrack, int loadrack, String glassid, int glasstype,String flowcard,int mateid,int tier); |
| | | //新增一条笼子数据 |
| | | @Update("UPDATE `albania`.`storage_cage` SET `glass_id` =#{glassid}, `width` =width-#{glasswidth}, `glasswidth` =#{glasswidth}, `glassheight` =#{glassheight}, `glasswidthmm` =#{glasswidth}, `glassheightmm` = #{glassheight}, `state` = #{state}, `glasstype` = #{glasstype}, `number` = #{number} WHERE `id` =#{id};") |
| | | void AddCage(int id,String glassid,Double glasswidth,Double glassheight,int state,String glasstype,int number); |
| | | void AddCage(int id,String glassid,Double glasswidth,Double glassheight,int state,int glasstype,int number); |
| | | //获取进片数据 |
| | | @Select("select glassid,flowcard,glasswidth as width,glassheight as height,glasswidthmm,glassheightmm,glasstype,thickness from queue where state=1 limit 1") |
| | | GlassInfo SelectGlass(); |
| | |
| | | } |
| | | //当返回的格子号为空时,返回400笼子已满 |
| | | if(cage!=null){ |
| | | albaniaMapper.AddCage(cage.getId(), glassid,width, height, 1, cage.getGlasstype(), 0); |
| | | albaniaMapper.AddCage(cage.getId(), glassid,width, height, 1, glasstype, 0); |
| | | Mestast(glassid,1001,cage.getId(),1,"MESID1",1); |
| | | albaniaMapper.UpdateStorage(width,height,cage.getId()); |
| | | albaniaMapper.UpdateQueueState(glassid); |
| | |
| | | #IO状态 |
| | | PlcIO.State=DB10.2.1,DB10.2.2,DB10.2.5,DB10.10.6,DB10.11.1,DB10.11.2,DB10.11.3,DB10.11.4,DB10.11.5,DB10.11.6,DB10.12.1,DB10.12.3,DB10.10.0,DB10.10.2,DB10.10.3,DB10.10.5,DB10.26.6,DB10.30.4,DB10.33.0,DB10.30.5,DB10.33.1,DB10.30.0,DB10.30.1,DB10.30.2,DB10.30.3,DB10.32.4,DB10.32.5,DB10.32.6,DB10.32.7,DB10.32.0,DB10.32.1,DB10.32.2,DB10.32.3,DB10.27.7,DB10.24.6,DB10.38.4,DB10.41.0,DB10.38.5,DB10.41.1,DB10.35.7,DB10.38.0,DB10.38.1,DB10.38.2,DB10.38.3,DB10.40.4,DB10.40.5,DB10.40.6,DB10.40.7,DB10.40.0,DB10.40.1,DB10.40.2,DB10.40.3,DB10.0.0,DB10.0.1,DB10.0.5,DB10.0.2,DB10.0.7,DB10.0.3,DB10.28.0,DB10.36.0,DB10.1.0,DB10.18.2,DB10.18.4,DB10.19.7,DB10.18.3,DB10.18.5,DB10.20.0,DB10.18.6,DB10.19.5,DB10.19.6 |
| | | PlcIO.Name=A01Sr.Low-E,A01Sr.dec,A01Sr.Pos,A02Sr.YZero,A02Sr.YH1,A02Sr.YH2,A02Sr.YH3,A02Sr.YH4,A02Sr.LimitTop,A02Sr.LimiBottom,A02Sr.Check,A02Sr.YDec,A02Sr.Xin,A02Sr.XCheck,A02Sr.XDec,A02Sr.XPos,C01Sr.Zero,C01YV1.Bas1,C01YV1.Work1,C01.YV1.Bas2,C01.YV1.Work2,C01.YV2.Bas1,C01.YV2.Bas2,C01.YV2.Bas3,C01.YV2.Bas4,C01.YV2.Work1,C01.YV2.Work2,C01.YV2.Work3,C01.YV2.Work4,C01.YV.Blow1,C01.YV.Blow2,C01.YV.Blow3,C01.YV.Blow4,C01.SR.Limit1,C02.Sr.Zero,C02.YV1.Bas1,C02.YV1.Work1,C02.YV1.Bas2,C02.YV1.Work2,C02.Sr.limit1,C02.YV2.Bas1,C02.YV2.Bas2,C02.YV2.Bas3,C02.YV2.Bas4,C02.YV2.Work1,C02.YV2.Work2,C02.YV2.Work3,C02.YV2.Work4,C02.YV.Blow1,C02.YV.Blow2,C02.YV.Blow3,C02.YV.Blow4,bStart,bStop,bEstop,bReset,bAuto/Manual,bPause,C01.Sr.Limit2,C02.Sr.Limit2,A01.FootControl,B01.Sr.DecLeft,B01.Sr.PosLeft,B01.Sr.SafetyLeft,B01.Sr.DecRight,B01.Sr.PosRight,B01.Sr.SafetyRight,B01.Sr.TurnZero,B01.Sr.TurnLimitTop,B01.Sr.TurnLimitBottom |
| | | |
| | | PlcIo.Name1=LOW-E膜检测,A01减速,A01到位,A02-Y轴原点,A02-Y轴高度感应1,A02-Y轴高度感应2,A02-Y轴高度感应3,A02-Y轴高度感应4,A02-Y轴上极限,A02-Y轴下极限,A02-Y轴寻边,A02-Y轴减速,A02-X轴上片,A02-X轴寻边,A02-X轴减速,A02-X轴到位,C01原点,C01.YV1原点位1,C01.YV1动作位1,C01.YV1原点位2,C01.YV1动作位2,C01.YV2原点位1,C01.YV2原点位2,C01.YV2原点位3,C01.YV2原点位4,C01.YV2动作位1,C01.YV2动作位2,C01.YV2动作位3,C01.YV2动作位4,C01吹气1,C01吹气2,C01吹气3,C01吹气4,C01对射保护,C02原点,C02.YV1原点位1,C02.YV1动作位1,C02.YV1原点位2,C02.YV1动作位2,C02对射保护,C02.YV2原点位1,C02.YV2原点位2,C02.YV2原点位3,C02.YV2原点位4,C02.YV2动作位1,C02.YV2动作位2,C02.YV2动作位3,C02.YV2动作位4,C02吹气1,C02吹气2,C02吹气3,C02吹气4,启动,停止,急停,复位,模式选择,暂停,C01对射保护2,C02对射保护2,脚踏开关,B01左减速,B01左到位,B01左安全检测,B01右减速,B01右到位,B01右安全检测,B01 |
| | | #A01参数 |
| | | PlcA01.param=DB10.1664,DB10.1668,DB10.1672,DB10.1676,DB10.1680 |
| | | #A01按钮 |