| | |
| | | }else{
|
| | | const now = new Date();
|
| | | console.log(this.count1,this.count2);
|
| | | alert(this.$t('Mes Connection failed')+now);
|
| | | console.log(this.$t('Mes Connection failed')+now);
|
| | | }
|
| | | }, 30000);
|
| | | }, 60000);
|
| | | },
|
| | | activated() {
|
| | | this.init();
|
| | |
| | | // this.car2 = 300 + 11.25 * (obj.params[0][1]-this.carlist[1]['start'])/(this.carlist[1]['end']-this.carlist[1]['start'])*100;
|
| | | }
|
| | | if (obj.Plc1 != null) {
|
| | | this.plc1=this.$t('Plc1 Connection failed');
|
| | | if(obj.Plc1[0]==true){
|
| | | this.plc1="";
|
| | | }else{
|
| | | this.plc1=this.$t('Plc1 Connection failed');
|
| | | }
|
| | | }
|
| | | if (obj.Plc2 != null) {
|
| | | this.plc2=this.$t('Plc2 Connection failed');
|
| | | if(obj.Plc2[0]==true){
|
| | | this.plc2="";
|
| | | }else{
|
| | | this.plc2=this.$t('Plc2 Connection failed');
|
| | | }
|
| | | }
|
| | |
|
| | | this.tableData = obj.tableData[0];
|