| | |
| | | color: "#0f0", |
| | | }, |
| | | ], |
| | | condVisiable: [ |
| | | { |
| | | name: '电导告警', |
| | | y: 0, |
| | | type: "low", |
| | | color: "#ff0", |
| | | }, |
| | | { |
| | | name: '电导更换', |
| | | y: 0, |
| | | type: "low", |
| | | color: "#d9001b", |
| | | }, |
| | | { |
| | | name: '平均值', |
| | | y: 0, |
| | | type: "agv", |
| | | color: "#0f0", |
| | | }, |
| | | ], |
| | | }; |
| | | return { |
| | | fileInfoVisible: false, |
| | |
| | | vol6LowCoeK1, |
| | | vol12HighCoeK2, |
| | | vol12LowCoeK1, |
| | | serGoodCoeK6, |
| | | serBadCoeK7, |
| | | } = this.params; |
| | | |
| | | this.marks.resVisiable[0].y = toFixed( |
| | |
| | | (resBadCoeK4 * fileParam.battRes) / 100, |
| | | BIT |
| | | ); |
| | | |
| | | if (fileParam.battRes) { |
| | | let _num = 1 / (fileParam.battRes / 1000); |
| | | this.marks.condVisiable[0].y = toFixed( |
| | | (serGoodCoeK6 * _num) / 100, |
| | | BIT |
| | | ); |
| | | this.marks.condVisiable[1].y = toFixed( |
| | | (serBadCoeK7 * _num) / 100, |
| | | BIT |
| | | ); |
| | | } |
| | | |
| | | if (!this.marks.volVisiable.length) { |
| | | this.marks.volVisiable = [ |
| | | { |