| | |
| | | 'error-button': |
| | | item.button.name === 'Fault' && item.button.value === 1, |
| | | 'error-button2': |
| | | item.button.name === 'NotZero' && item.button.value === 0, |
| | | item.button.name === 'NotZero' && item.button.value === 1, |
| | | 'error-button3': |
| | | item.button.name === 'Zero' && item.button.value === 1, |
| | | item.button.name === 'Zero' && item.button.value === 0, |
| | | fuwei: |
| | | item.button.name === 'Reset' && item.button.value === 1, |
| | | huiling: |
| | |
| | | 'error-button': |
| | | item.button.name === '故障' && item.button.value === 1, |
| | | 'error-button3': |
| | | item.button.name === '已回零' && item.button.value === 1, |
| | | item.button.name === '已回零' && item.button.value === 0, |
| | | 'error-button2': |
| | | item.button.name === '未回零' && item.button.value === 0, |
| | | item.button.name === '未回零' && item.button.value === 1, |
| | | fuwei: item.button.name === '复位' && item.button.value === 1, |
| | | huiling: |
| | | item.button.name === '回零' && item.button.value === 1, |
| | |
| | | |
| | | // console.log(jsonData2[5][4].button.value) |
| | | if ( |
| | | jsonData2[2][3].button.value === 1 && |
| | | jsonData2[2][3].button.value === 0 && |
| | | (jsonData2[2][3].button.name === "NotZero" || |
| | | jsonData2[2][3].button.name === "未回零") |
| | | ) { |
| | |
| | | ); |
| | | } |
| | | if ( |
| | | jsonData2[3][3].button.value === 1 && |
| | | jsonData2[3][3].button.value === 0 && |
| | | (jsonData2[3][3].button.name === "NotZero" || |
| | | jsonData2[3][3].button.name === "未回零") |
| | | ) { |
| | |
| | | ); |
| | | } |
| | | if ( |
| | | jsonData2[4][4].button.value === 1 && |
| | | jsonData2[4][4].button.value === 0 && |
| | | (jsonData2[4][4].button.name === "NotZero" || |
| | | jsonData2[4][4].button.name === "未回零") |
| | | ) { |
| | |
| | | ); |
| | | } |
| | | if ( |
| | | jsonData2[5][4].button.value === 1 && |
| | | jsonData2[5][4].button.value === 0 && |
| | | (jsonData2[5][4].button.name === "NotZero" || |
| | | jsonData2[5][4].button.name === "未回零") |
| | | ) { |
| | |
| | | } |
| | | |
| | | if ( |
| | | jsonData2[2][3].button.value === 0 && |
| | | jsonData2[2][3].button.value === 1 && |
| | | (jsonData2[2][3].button.name === "Zero" || |
| | | jsonData2[2][3].button.name === "已回零") |
| | | ) { |
| | |
| | | ); |
| | | } |
| | | if ( |
| | | jsonData2[3][3].button.value === 0 && |
| | | jsonData2[3][3].button.value === 1 && |
| | | (jsonData2[3][3].button.name === "Zero" || |
| | | jsonData2[3][3].button.name === "已回零") |
| | | ) { |
| | |
| | | ); |
| | | } |
| | | if ( |
| | | jsonData2[4][4].button.value === 0 && |
| | | jsonData2[4][4].button.value === 1 && |
| | | (jsonData2[4][4].button.name === "Zero" || |
| | | jsonData2[4][4].button.name === "已回零") |
| | | ) { |
| | |
| | | ); |
| | | } |
| | | if ( |
| | | jsonData2[5][4].button.value === 0 && |
| | | jsonData2[5][4].button.value === 1 && |
| | | (jsonData2[5][4].button.name === "Zero" || |
| | | jsonData2[5][4].button.name === "已回零") |
| | | ) { |