0.2.5 Beads onhand updating working. /JL

This commit is contained in:
2022-12-20 00:13:16 +01:00
parent 41b05473b4
commit 387aef521d
4 changed files with 27 additions and 20 deletions
+9 -7
View File
@@ -35,13 +35,8 @@ type (
Colorstruct struct {
Series struct {
XMLName xml.Name `xml:"series"`
Serie []struct {
XMLName xml.Name `xml:"serie"`
Name string `xml:"name,attr"`
InStock bool `xml:"inStock"`
OnHand int `xml:"onHand"`
}
XMLName xml.Name `xml:"series"`
Serie []SerieData `xml:"serie"`
}
ColorIndex int `xml:"colorIndex,attr"`
ColorName string `xml:"colorname"`
@@ -57,6 +52,13 @@ type (
Disabled bool `xml:"disabled"`
}
SerieData struct {
XMLName xml.Name `xml:"serie"`
Name string `xml:"name,attr"`
InStock bool `xml:"inStock"`
OnHand int `xml:"onHand"`
}
Pegboards struct {
Boards []Pegboard
}