whycwx
2021-07-22 4bfe87304988cfa2338bb58210ee227b917a9247
src/pages/dynamometerMmotor/js/gridCircuitDiagram.js
@@ -35,7 +35,7 @@
        lineWidth: lineWidth,
        points: [
            [line1[1][0],line1[1][1]],
            [line1[1][0]+260, line1[1][1]]
            [line1[1][0]+200, line1[1][1]]
        ]
    });
@@ -45,7 +45,7 @@
        lineWidth: lineWidth,
        points: [
            [line2[1][0]+2,line2[1][1]],
            [line2[1][0]+130, line2[1][1]]
            [line2[1][0]+190, line2[1][1]]
        ]
    });
    let line4 = diagram.line({
@@ -174,7 +174,7 @@
        fillStyle: '#1e9ff2',
        fontSize: 12,
        fontWidth:1,
        point:[line1[0][0]+30,line1[0][1]+50],
        point:[line1[0][0]+20,line1[0][1]+50],
        showPanel: false,
    });
@@ -330,6 +330,29 @@
        point:[Image6.top[0]-30,Image6.top[1]-15],
        showPanel: false,
    });
    // let text12 = diagram.text({
    //     id: "text12",
    //     text: '&电压:690V&频率:44.5Hz&转速:89r/min&输出功率:980kW',
    //     fillStyle: '#ffffff',
    //     fontSize: 12,
    //     fontWidth:1,
    //     point:[Image3.top[0]+50,Image3.top[1]-160],
    //     showPanel: false,
    //     type:true,
    //     radBorder: true,
    //     bgColor:"rgba(2, 151, 215, 0.3)",
    //     borderColor:"rgba(30, 159, 242, 1)"
    // });
    // let text13 = diagram.text({
    //     id: "text13",
    //     text: '      受功电机',
    //     fillStyle: "#ffff18",
    //     fontSize: 12,
    //     fontWidth:1,
    //     point:[Image3.top[0]+50,Image3.top[1]-160],
    //     showPanel: false,
    // });
//