-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Enkele symbolen naar aparte class: Aansluitpunt / Aftakdoos / Zonne…
…paneel # Enkele symbolen iets in de breedte aangepast om geen gaps te hebben met aansluitende leidingen: Batterij / Boiler / Droogkast / Drukknop / Elektriciteitsmeter / Elektrische oven / Ketel / Koelkast / Kookfornuis / Microgolfoven / Motor / Omvormer / Overspanningsbeveiliging / Stoomovem / USB_lader / Vaatwasmachine / Ventilator / Wasmachine # Symbool batterij aangepast in SVGSymbols. Alles 1 pixel naar links
- Loading branch information
Showing
27 changed files
with
398 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
var CONF_builddate="20231209-224057" | ||
var CONF_builddate="20231210-131221" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
class Aansluitpunt extends Electro_Item { | ||
|
||
constructor(mylist: Hierarchical_List) { super(mylist); } | ||
|
||
resetKeys() { | ||
this.clearKeys(); | ||
this.keys[0][2] = "Aansluitpunt"; // This is rather a formality as we should already have this at this stage | ||
this.keys[15][2] = ""; // Set Adres/tekst to "" when the item is cleared | ||
} | ||
|
||
toHTML(mode: string, Parent?: List_Item) { | ||
let output = this.toHTMLHeader(mode, Parent); | ||
|
||
output += " Nr: " + this.stringToHTML(10,5); | ||
output += ", Adres/tekst: " + this.stringToHTML(15,5); | ||
|
||
return(output); | ||
} | ||
|
||
toSVG(hasChild: Boolean = false) { | ||
let mySVG:SVGelement = new SVGelement(); | ||
|
||
mySVG.xleft = 1; // foresee at least some space for the conductor | ||
mySVG.xright = 29; | ||
mySVG.yup = 25; | ||
mySVG.ydown = 25; | ||
|
||
mySVG.data += '<line x1="1" y1="25" x2="21" y2="25" stroke="black"></line>' | ||
+ '<use xlink:href="#aansluitpunt" x="21" y="25"></use>'; | ||
|
||
mySVG.data += this.addAddress(mySVG,45,0); | ||
mySVG.data += "\n"; | ||
|
||
return(mySVG); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
class Aftakdoos extends Electro_Item { | ||
|
||
constructor(mylist: Hierarchical_List) { super(mylist); } | ||
|
||
resetKeys() { | ||
this.clearKeys(); | ||
this.keys[0][2] = "Aftakdoos"; // This is rather a formality as we should already have this at this stage | ||
this.keys[15][2] = ""; // Set Adres/tekst to "" when the item is cleared | ||
} | ||
|
||
toHTML(mode: string, Parent?: List_Item) { | ||
let output = this.toHTMLHeader(mode, Parent); | ||
|
||
output += " Nr: " + this.stringToHTML(10,5); | ||
output += ", Adres/tekst: " + this.stringToHTML(15,5); | ||
|
||
return(output); | ||
} | ||
|
||
toSVG(hasChild: Boolean = false) { | ||
let mySVG:SVGelement = new SVGelement(); | ||
|
||
mySVG.xleft = 1; // foresee at least some space for the conductor | ||
mySVG.xright = 49; | ||
mySVG.yup = 25; | ||
mySVG.ydown = 25; | ||
|
||
mySVG.data += '<line x1="1" y1="25" x2="21" y2="25" stroke="black"></line>' | ||
+ '<use xlink:href="#aftakdoos" x="21" y="25"></use>'; | ||
|
||
mySVG.data += this.addAddress(mySVG,55,10); | ||
mySVG.data += "\n"; | ||
|
||
return(mySVG); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
class Zonnepaneel extends Electro_Item { | ||
|
||
constructor(mylist: Hierarchical_List) { super(mylist); } | ||
|
||
resetKeys() { | ||
this.clearKeys(); | ||
this.keys[0][2] = "Zonnepaneel"; // This is rather a formality as we should already have this at this stage | ||
this.keys[4][2] = "1"; // Per default 1 zonnepaneel | ||
this.keys[15][2] = ""; // Set Adres/tekst to "" when the item is cleared | ||
} | ||
|
||
toHTML(mode: string, Parent?: List_Item) { | ||
let output = this.toHTMLHeader(mode, Parent); | ||
|
||
output += " Nr: " + this.stringToHTML(10,5) + ", " | ||
+ " Aantal: " + this.selectToHTML(4,["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20", | ||
"21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40"]) | ||
+ ", Adres/tekst: " + this.stringToHTML(15,5); | ||
|
||
return(output); | ||
} | ||
|
||
toSVG(hasChild: Boolean = false) { | ||
let mySVG:SVGelement = new SVGelement(); | ||
|
||
mySVG.xleft = 1; // Links voldoende ruimte voor een eventuele kring voorzien | ||
mySVG.xright = 69; | ||
mySVG.yup = 35; | ||
mySVG.ydown = 25; | ||
|
||
mySVG.data += '<line x1="1" y1="35" x2="21" y2="35" stroke="black"></line>' | ||
+ '<use xlink:href="#zonnepaneel" x="21" y="35"></use>' | ||
+ '<text x="45" y="9" style="text-anchor:middle" font-family="Arial, Helvetica, sans-serif" font-size="10">' + htmlspecialchars(this.keys[4][2]) + 'x</text>'; | ||
|
||
// Adres helemaal onderaan plaatsen | ||
mySVG.data += this.addAddress(mySVG,70,15); | ||
mySVG.data += "\n"; | ||
|
||
return(mySVG); | ||
} | ||
|
||
}0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.