whycwx
2021-07-23 88e497e20a51a2a127c4bc59f036f5367ab0670e
src/pages/AFEinverter/js/gridCircuitDiagram.js
@@ -14,10 +14,10 @@
function girdCircuitDiagram(stc, flush) {
    
    let diagram = new Diagram();
    let thisWidth = stc.scrollWidth;
    let thisHeight = stc.scrollHeight;
    diagram.width = thisWidth;
    diagram.height= thisHeight;
    // let thisWidth = stc.scrollWidth;
    // let thisHeight = stc.scrollHeight;
    diagram.width = 236;
    diagram.height= 579;
    diagram.setCanvas(stc, flush);
    let start = [1, 40];
@@ -74,7 +74,7 @@
        lineWidth: lineWidth,
        points: [
            [line3[0][0],line3[0][1]],
            [line2[1][0]-10, line2[1][1]]
            [line2[1][0], line2[1][1]]
        ]
    });
@@ -199,7 +199,7 @@
        fillStyle: '#ffff18',
        fontSize: 12,
        fontWidth:1,
        point:[dashLine1[1][0]+20,dashLine1[1][1]+70],
        point:[dashLine1[1][0]+20,dashLine1[1][1]+45],
        showPanel: false,
        type:true,
        radBorder: true,
@@ -211,7 +211,7 @@
        fillStyle: '#ffff18',
        fontSize: 12,
        fontWidth:1,
        point:[dashLine1[1][0]+65,dashLine1[1][1]+70],
        point:[dashLine1[1][0]+65,dashLine1[1][1]+45],
        showPanel: false,
        type:true,
        radBorder: true,
@@ -223,7 +223,8 @@
        fillStyle: '#ffff18',
        fontSize: 12,
        fontWidth:1,
        point:[dashLine1[1][0]+65,dashLine1[1][1]+142],
        point:[text6.right[0]+18,text6.right[1]+25],
        // point:[dashLine1[1][0]+65,dashLine1[1][1]+142],
        showPanel: false,
        type:true,
        radBorder: true,
@@ -235,7 +236,7 @@
        fillStyle: '#ffff18',
        fontSize: 12,
        fontWidth:1,
        point:[dashLine1[1][0]+145,dashLine1[1][1]+70],
        point:[dashLine1[1][0]+145,dashLine1[1][1]+45],
        showPanel: false,
        type:true,
        radBorder: true,
@@ -247,7 +248,7 @@
        fillStyle: '#ffff18',
        fontSize: 12,
        fontWidth:1,
        point:[dashLine1[1][0]+190,dashLine1[1][1]+70],
        point:[dashLine1[1][0]+190,dashLine1[1][1]+45],
        showPanel: false,
        type:true,
        radBorder: true,