Skip to content

Home Information - Your home, your data, organized.

Python

Added doc on adding entity types. A few new entity types too. (#40)

Tony C4944e3bfd0a4
diff --git a/docs/dev/EntityTypes.md b/docs/dev/EntityTypes.md
new file mode 100644
index 00000000..568e3e03
--- /dev/null
+++ b/docs/dev/EntityTypes.md
@@ -0,0 +1,86 @@
+<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">
+
+# Entity Types
+
+## Adding New Entity Types
+
+Add an new entry in this Enum:
+
+``` shell
+hi.apps.entity.enums.EntityType
+```
+
+Add the new type to the appropriate group in this Enum:
+
+``` shell
+hi.apps.entity.enums.EntityGroupType
+```
+
+Next, follow the section below depending on whether this is to be displayed as a icon, or as a path.
+
+### Adding as an Icon
+
+Create an SVG icon for the new entity type. However, this will only be the drawing commands for the SVG and should **not** include any wrapping `<svg>` element or other decorations. See current examples for a clearer view.
+
+By default, the SVG viewbox for the icon will be `0 0 64 64`, but you can use a custom viewbox if needed (see below). Put the SVG drawing commands in a file in the following directory and with the shown naming convention:
+
+``` shell
+hi/apps/entity/templates/entity/svg/type.${TYPE}.svg
+```
+
+The `${TYPE}` must match the enum's name, but with all lower case characters.
+
+You should also add as the first drawing element a rectangle that covers the entire SVG viewbox. This should not have any stroke or fill, but it ensures that the entire icon area is "clickable". Without this, clicks on transparent areas of the icon will have no effect. e.g.,
+
+``` shell
+<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
+```
+
+If the SVG viewbox needed is not the default `0 0 64 64`, then also add an entry to the following dictionary to define the viewbox:
+
+``` shell
+hi.hi_styles.EntityStyle.EntityTypeToIconViewbox
+```
+
+Finally, add an entry to this set:
+``` shell
+hi.hi_styles.EntityStyle.EntityTypesWithIcons
+```
+
+### Adding as a Path
+
+If the new entity type will be a closed path, then add to this set:
+
+``` shell
+hi.hi_styles.EntityStyle.EntityTypeClosedPaths
+```
+
+Else, if a closed path, add to the set:
+
+``` shell
+hi.hi_styles.EntityStyle.EntityTypeOpenPaths
+```
+
+Define which style to use for drawing the path. Usually, a new entity type requires defining a new style, but an existing style can be reused. You reference the style to use for the new type in this dictionary:
+
+``` shell
+hi.hi_styles.EntityStyle.PathEntityTypeToSvgStatusStyle
+```
+
+When you need a new style for it, also add a new class variable to `hi.hi_styles.EntityStyle` with the type `SvgStatusStyle`. See the existing definitions for more details.
+
+A closed path will default to appearing as a square, but you can adjust the default sizing by added an entry to this dictionary:
+
+``` shell
+hi.hi_styles.EntityStyle.EntityTypePathInitialRadius
+```
+
+
+
+### Simulator
+
+If the new type is something you want the simulator to support (rare), then you will also need to add it there:
+
+``` shell
+hi.simulator.enums.SimEntityType
+```
diff --git a/src/hi/apps/entity/enums.py b/src/hi/apps/entity/enums.py
index 3fb15ce4..020226c4 100644
--- a/src/hi/apps/entity/enums.py
+++ b/src/hi/apps/entity/enums.py
@@ -12,6 +12,7 @@ class EntityType(LabeledEnum):
"""
ACCESS_POINT = ( 'Access Point', '' )
+ ANTENNA = ( 'Antenna', '' )
APPLIANCE = ( 'Appliance', '' )
AREA = ( 'Area', '' )
ATTIC_STAIRS = ( 'Attic Stairs', '' )
@@ -27,6 +28,7 @@ class EntityType(LabeledEnum):
CONTROLLER = ( 'Controller', '' )
CONTROL_WIRE = ( 'Control Wire', '' )
COOKTOP = ( 'Cooktop', '' )
+ DISHWASHER = ( 'Dishwasher', '' )
DISK = ( 'Disk', '' )
DOOR = ( 'Door', '' )
DOOR_LOCK = ( 'Door Lock', '' ) # Controls doors
@@ -35,6 +37,7 @@ class EntityType(LabeledEnum):
ELECTRIC_PANEL = ( 'Electric Panel', '' )
ELECTRIC_WIRE = ( 'Electric Wire', '' )
EXHAUST_FAN = ( 'Exhaust Fan', '' )
+ FENCE = ( 'Fence', '' )
FIREPLACE = ( 'Fireplace', '' )
FURNITURE = ( 'Furniture', '' )
GREENHOUSE = ( 'Greenhouse', '' )
@@ -63,8 +66,9 @@ class EntityType(LabeledEnum):
PRINTER = ( 'Printer', '' )
PUMP = ( 'Pump', '' )
REFRIGERATOR = ( 'Refrigerator', '' )
- SERVER = ( 'Server' , '' )
- SERVICE = ( 'Service' , '' )
+ SATELLITE_DISH = ( 'Satellite Dish' , '' )
+ SERVER = ( 'Server' , '' )
+ SERVICE = ( 'Service' , '' )
SEWER_LINE = ( 'Sewer Line', '' )
SHOWER = ( 'Shower', '' )
SHED = ( 'Shed', '' )
@@ -222,6 +226,7 @@ class EntityGroupType(LabeledEnum):
EntityType.CLOTHES_DRYER,
EntityType.CLOTHES_WASHER,
EntityType.COOKTOP,
+ EntityType.DISHWASHER,
EntityType.MICROWAVE_OVEN,
EntityType.OVEN,
EntityType.REFRIGERATOR,
@@ -284,6 +289,7 @@ class EntityGroupType(LabeledEnum):
EntityType.OTHER,
})
OUTDOORS = ( 'Outdoors', '', {
+ EntityType.FENCE,
EntityType.CONTROLLER,
EntityType.GREENHOUSE,
EntityType.MOTOR,
@@ -320,9 +326,11 @@ class EntityGroupType(LabeledEnum):
EntityType.TOOL,
})
UTILITIES = ( 'Utilities', '', {
+ EntityType.ANTENNA,
EntityType.ELECTRICITY_METER,
EntityType.ELECTRIC_PANEL,
EntityType.ELECTRIC_WIRE,
+ EntityType.SATELLITE_DISH,
EntityType.SEWER_LINE,
EntityType.TELECOM_BOX,
EntityType.TELECOM_WIRE,
diff --git a/src/hi/apps/entity/templates/entity/svg/type.antenna.svg b/src/hi/apps/entity/templates/entity/svg/type.antenna.svg
new file mode 100644
index 00000000..08d865bc
--- /dev/null
+++ b/src/hi/apps/entity/templates/entity/svg/type.antenna.svg
@@ -0,0 +1,18 @@
+<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
+<path class="hi-entity-antenna-base"
+ fill="888888" stroke="black" stroke-width="4"
+ d="M 32.11,53.81
+ C 32.11,53.81 32.21,36.75 32.21,36.75" />
+<path class="hi-entity-antenna-pole"
+ fill="666666" stroke="black" stroke-width="3"
+ d="M 32.11,37.07
+ C 32.11,37.07 32.00,19.63 32.00,19.63" />
+<path class="hi-entity-antenna-vanes"
+ fill="#aaaaaa" stroke="black" stroke-width="2"
+ d="M 1.33,27.63
+ C 1.33,27.63 16.75,12.11 16.75,12.11M 14.77,25.71
+ C 14.77,25.71 26.29,13.97 26.29,13.97M 26.24,25.55
+ C 26.24,25.55 37.97,13.87 37.97,13.87M 37.71,25.55
+ C 37.71,25.55 49.28,14.19 49.28,14.19M 47.31,27.47
+ C 47.31,27.47 62.67,12.11 62.67,12.11M 9.01,19.73
+ C 9.01,19.73 54.99,19.79 54.99,19.79" />
diff --git a/src/hi/apps/entity/templates/entity/svg/type.dishwasher.svg b/src/hi/apps/entity/templates/entity/svg/type.dishwasher.svg
new file mode 100644
index 00000000..5a1d0314
--- /dev/null
+++ b/src/hi/apps/entity/templates/entity/svg/type.dishwasher.svg
@@ -0,0 +1,650 @@
+<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
+ <path id="background"
+ fill="#fcfcfc" stroke="black" stroke-width="0"
+ d="M 9.47,0.10
+ C 9.47,0.10 10.94,0.10 10.94,0.10
+ 10.94,0.10 13.75,0.10 13.75,0.10
+ 13.75,0.10 22.31,0.10 22.31,0.10
+ 22.31,0.10 48.50,0.10 48.50,0.10
+ 48.50,0.10 54.34,0.10 54.34,0.10
+ 54.34,0.10 54.66,0.12 54.66,0.12
+ 54.91,0.14 55.15,0.15 55.41,0.20
+ 55.41,0.20 55.91,0.34 55.91,0.34
+ 57.45,0.82 58.72,1.97 59.28,3.50
+ 59.48,4.06 59.62,4.66 59.62,5.25
+ 59.62,5.25 59.62,36.97 59.62,36.97
+ 59.62,36.97 59.62,48.69 59.62,48.69
+ 59.62,48.69 59.62,54.53 59.62,54.53
+ 59.62,54.53 59.60,54.84 59.60,54.84
+ 59.49,56.31 58.69,57.69 57.53,58.58
+ 57.15,58.87 56.49,59.22 56.03,59.36
+ 55.89,59.40 55.48,59.47 55.41,59.60
+ 55.37,59.66 55.38,59.77 55.38,59.84
+ 55.38,59.84 55.38,62.09 55.38,62.09
+ 55.38,62.42 55.41,62.99 55.28,63.28
+ 55.07,63.78 54.62,63.91 54.12,63.91
+ 54.12,63.91 32.00,63.91 32.00,63.91
+ 32.00,63.91 9.88,63.91 9.88,63.91
+ 9.38,63.91 8.93,63.78 8.72,63.28
+ 8.59,62.99 8.62,62.42 8.62,62.09
+ 8.62,62.09 8.62,59.84 8.62,59.84
+ 8.62,59.77 8.63,59.66 8.59,59.60
+ 8.52,59.47 8.11,59.40 7.97,59.36
+ 7.51,59.22 6.85,58.87 6.47,58.58
+ 5.31,57.69 4.51,56.31 4.40,54.84
+ 4.40,54.84 4.38,54.47 4.38,54.47
+ 4.38,54.47 4.38,13.22 4.38,13.22
+ 4.38,13.22 4.38,7.66 4.38,7.66
+ 4.38,7.66 4.38,5.25 4.38,5.25
+ 4.38,3.35 5.58,1.49 7.28,0.66
+ 7.69,0.46 8.30,0.24 8.75,0.17
+ 8.75,0.17 9.47,0.10 9.47,0.10 Z" />
+ <path id="inside"
+ fill="#9cafd0" stroke="black" stroke-width="0"
+ d="M 12.09,15.63
+ C 12.09,15.63 13.38,15.63 13.38,15.63
+ 13.38,15.63 15.75,15.63 15.75,15.63
+ 15.75,15.63 23.00,15.63 23.00,15.63
+ 23.00,15.63 45.19,15.63 45.19,15.63
+ 45.19,15.63 52.06,15.63 52.06,15.63
+ 53.61,15.63 54.94,16.95 54.94,18.50
+ 54.94,18.50 54.94,46.47 54.94,46.47
+ 54.94,46.47 54.94,51.97 54.94,51.97
+ 54.94,53.52 53.61,54.84 52.06,54.84
+ 52.06,54.84 19.31,54.84 19.31,54.84
+ 19.31,54.84 12.34,54.84 12.34,54.84
+ 10.80,54.84 9.47,53.52 9.47,51.97
+ 9.47,51.97 9.47,24.28 9.47,24.28
+ 9.47,24.28 9.47,20.19 9.47,20.19
+ 9.47,20.19 9.47,19.06 9.47,19.06
+ 9.47,18.26 9.46,17.75 9.89,17.03
+ 10.05,16.77 10.22,16.59 10.44,16.38
+ 10.65,16.17 10.86,16.04 11.12,15.91
+ 11.47,15.75 11.72,15.70 12.09,15.63 Z" />
+ <path id="dishes"
+ fill="#fefeff" stroke="black" stroke-width="0"
+ d="M 26.12,31.98
+ C 26.12,31.98 27.06,31.98 27.06,31.98
+ 27.06,31.98 27.38,32.00 27.38,32.00
+ 27.88,32.03 28.54,32.10 29.03,32.20
+ 29.03,32.20 29.50,32.32 29.50,32.32
+ 29.50,32.32 29.88,32.40 29.88,32.40
+ 29.88,32.40 30.41,32.58 30.41,32.58
+ 30.41,32.58 30.69,32.66 30.69,32.66
+ 30.69,32.66 31.03,32.80 31.03,32.80
+ 31.03,32.80 31.28,32.89 31.28,32.89
+ 31.28,32.89 31.62,33.06 31.62,33.06
+ 31.62,33.06 32.34,33.40 32.34,33.40
+ 34.47,34.56 36.23,36.45 37.28,38.62
+ 37.53,39.15 37.72,39.70 37.90,40.25
+ 37.90,40.25 38.06,40.75 38.06,40.75
+ 38.06,40.75 38.12,41.09 38.12,41.09
+ 38.12,41.09 38.34,42.16 38.34,42.16
+ 38.34,42.16 38.34,42.50 38.34,42.50
+ 38.34,42.50 38.41,43.25 38.41,43.25
+ 38.41,43.25 38.41,44.19 38.41,44.19
+ 38.41,44.19 38.34,44.91 38.34,44.91
+ 38.34,44.91 38.34,45.25 38.34,45.25
+ 38.34,45.25 38.12,46.34 38.12,46.34
+ 38.12,46.34 38.07,46.66 38.07,46.66
+ 38.07,46.66 37.89,47.22 37.89,47.22
+ 37.89,47.22 37.81,47.50 37.81,47.50
+ 37.81,47.50 37.64,47.94 37.64,47.94
+ 37.64,47.94 37.55,48.19 37.55,48.19
+ 37.28,48.88 36.76,49.82 36.33,50.44
+ 36.09,50.77 35.94,51.02 35.53,51.16
+ 35.00,51.34 34.40,51.08 34.17,50.56
+ 34.09,50.38 34.09,50.23 34.09,50.03
+ 34.10,49.64 34.36,49.37 34.57,49.06
+ 34.78,48.75 34.97,48.43 35.14,48.09
+ 35.14,48.09 35.31,47.78 35.31,47.78
+ 35.50,47.37 35.68,46.94 35.82,46.50
+ 35.82,46.50 35.92,46.09 35.92,46.09
+ 35.92,46.09 36.08,45.47 36.08,45.47
+ 36.08,45.47 36.11,45.19 36.11,45.19
+ 36.16,44.81 36.22,44.44 36.22,44.06
+ 36.22,44.06 36.22,43.69 36.22,43.69
+ 36.22,43.69 36.22,43.22 36.22,43.22
+ 36.22,43.22 36.07,41.94 36.07,41.94
+ 36.07,41.94 35.90,41.28 35.90,41.28
+ 35.90,41.28 35.82,40.94 35.82,40.94
+ 35.70,40.55 35.54,40.18 35.38,39.81
+ 35.38,39.81 35.05,39.12 35.05,39.12
+ 34.22,37.63 32.91,36.30 31.44,35.44
+ 31.44,35.44 30.72,35.08 30.72,35.08
+ 30.72,35.08 29.78,34.68 29.78,34.68
+ 29.78,34.68 29.47,34.59 29.47,34.59
+ 29.47,34.59 28.81,34.40 28.81,34.40
+ 28.81,34.40 28.50,34.35 28.50,34.35
+ 27.59,34.18 27.23,34.15 26.31,34.16
+ 25.80,34.16 25.29,34.27 24.78,34.36
+ 24.05,34.49 23.35,34.74 22.69,35.05
+ 22.29,35.24 21.90,35.44 21.53,35.68
+ 19.85,36.77 18.50,38.38 17.76,40.25
+ 17.76,40.25 17.49,41.03 17.49,41.03
+ 17.49,41.03 17.43,41.31 17.43,41.31
+ 17.43,41.31 17.24,42.09 17.24,42.09
+ 17.24,42.09 17.21,42.44 17.21,42.44
+ 17.21,42.44 17.13,43.28 17.13,43.28
+ 17.13,43.28 17.13,44.22 17.13,44.22
+ 17.13,44.22 17.21,45.00 17.21,45.00
+ 17.21,45.00 17.23,45.28 17.23,45.28
+ 17.23,45.28 17.42,46.09 17.42,46.09
+ 17.42,46.09 17.49,46.41 17.49,46.41
+ 17.65,46.95 17.99,47.71 18.25,48.22
+ 18.39,48.48 18.69,48.94 18.87,49.19
+ 18.96,49.32 19.17,49.60 19.20,49.75
+ 19.35,50.32 19.17,50.89 18.59,51.12
+ 18.41,51.20 18.26,51.23 18.06,51.22
+ 17.59,51.18 17.38,50.92 17.12,50.58
+ 16.85,50.20 16.60,49.81 16.38,49.41
+ 16.10,48.90 15.87,48.38 15.67,47.84
+ 15.67,47.84 15.51,47.44 15.51,47.44
+ 15.51,47.44 15.43,47.12 15.43,47.12
+ 15.43,47.12 15.25,46.53 15.25,46.53
+ 15.25,46.53 15.18,46.16 15.18,46.16
+ 15.06,45.58 14.98,45.23 14.97,44.62
+ 14.97,44.62 14.94,44.16 14.94,44.16
+ 14.94,44.16 14.94,43.28 14.94,43.28
+ 14.94,43.28 14.97,42.91 14.97,42.91
+ 14.97,42.91 14.97,42.56 14.97,42.56
+ 14.97,42.25 15.20,41.07 15.29,40.75
+ 15.29,40.75 15.44,40.28 15.44,40.28
+ 16.41,37.01 18.86,34.26 22.00,32.92
+ 22.00,32.92 22.25,32.83 22.25,32.83
+ 22.25,32.83 23.47,32.40 23.47,32.40
+ 23.47,32.40 23.84,32.32 23.84,32.32
+ 23.84,32.32 24.62,32.14 24.62,32.14
+ 24.62,32.14 24.91,32.12 24.91,32.12
+ 24.91,32.12 25.78,32.01 25.78,32.01
+ 25.78,32.01 26.12,31.98 26.12,31.98 Z
+ M 36.66,31.97
+ C 36.66,31.97 37.78,31.97 37.78,31.97
+ 37.78,31.97 39.88,31.97 39.88,31.97
+ 39.88,31.97 46.28,31.97 46.28,31.97
+ 46.28,31.97 47.50,31.97 47.50,31.97
+ 47.75,31.97 48.04,31.95 48.28,32.02
+ 48.59,32.10 48.92,32.34 49.01,32.66
+ 49.05,32.77 49.06,33.00 49.06,33.12
+ 49.06,33.23 49.04,33.40 49.00,33.50
+ 48.91,33.72 48.63,34.01 48.41,34.09
+ 48.30,34.13 47.90,34.16 47.78,34.16
+ 47.78,34.16 37.00,34.16 37.00,34.16
+ 36.58,34.16 36.24,34.12 35.95,33.78
+ 35.65,33.42 35.62,32.80 35.90,32.42
+ 36.09,32.16 36.35,32.04 36.66,31.97 Z
+ M 39.75,36.27
+ C 39.75,36.27 40.72,36.25 40.72,36.25
+ 40.72,36.25 42.50,36.25 42.50,36.25
+ 42.50,36.25 48.00,36.25 48.00,36.25
+ 48.21,36.25 48.42,36.30 48.59,36.41
+ 48.96,36.63 49.07,36.97 49.06,37.38
+ 49.06,37.49 49.04,37.67 49.00,37.78
+ 48.91,37.98 48.69,38.21 48.50,38.31
+ 48.35,38.40 48.14,38.41 47.97,38.41
+ 47.97,38.41 40.03,38.41 40.03,38.41
+ 39.85,38.41 39.63,38.39 39.47,38.30
+ 39.37,38.25 39.18,38.09 39.11,38.00
+ 38.81,37.61 38.84,36.96 39.16,36.60
+ 39.34,36.39 39.50,36.33 39.75,36.27 Z
+ M 26.41,38.36
+ C 26.87,38.30 27.64,38.43 28.09,38.55
+ 28.09,38.55 28.44,38.65 28.44,38.65
+ 30.07,39.23 31.31,40.53 31.82,42.19
+ 31.87,42.36 31.86,42.37 31.89,42.53
+ 31.99,43.06 32.03,43.30 32.03,43.84
+ 32.03,44.11 31.97,44.51 31.92,44.78
+ 31.92,44.78 31.83,45.22 31.83,45.22
+ 31.38,46.83 30.12,48.17 28.56,48.76
+ 28.56,48.76 28.25,48.84 28.25,48.84
+ 27.90,48.95 27.55,49.06 27.19,49.06
+ 27.19,49.06 26.12,49.06 26.12,49.06
+ 25.64,49.06 24.88,48.81 24.44,48.60
+ 23.91,48.36 23.43,48.05 23.00,47.65
+ 21.37,46.13 20.88,43.71 21.71,41.66
+ 21.71,41.66 21.85,41.38 21.85,41.38
+ 22.36,40.30 23.22,39.45 24.28,38.91
+ 24.28,38.91 24.59,38.79 24.59,38.79
+ 24.59,38.79 24.97,38.63 24.97,38.63
+ 25.44,38.47 25.92,38.43 26.41,38.36 Z
+ M 41.00,40.50
+ C 41.00,40.50 41.84,40.50 41.84,40.50
+ 41.84,40.50 43.31,40.50 43.31,40.50
+ 43.31,40.50 47.81,40.50 47.81,40.50
+ 48.18,40.50 48.51,40.55 48.78,40.82
+ 49.20,41.24 49.16,42.03 48.72,42.42
+ 48.49,42.62 48.20,42.69 47.91,42.69
+ 47.91,42.69 41.12,42.69 41.12,42.69
+ 40.91,42.69 40.61,42.63 40.44,42.51
+ 39.95,42.18 39.80,41.39 40.19,40.91
+ 40.44,40.59 40.63,40.57 41.00,40.50 Z
+ M 26.56,40.57
+ C 26.56,40.57 25.94,40.63 25.94,40.63
+ 25.78,40.67 25.71,40.71 25.56,40.77
+ 25.56,40.77 25.25,40.89 25.25,40.89
+ 24.92,41.05 24.47,41.40 24.24,41.69
+ 23.73,42.31 23.49,43.05 23.50,43.84
+ 23.50,44.09 23.57,44.39 23.65,44.62
+ 23.65,44.62 23.73,44.91 23.73,44.91
+ 23.99,45.56 24.54,46.19 25.16,46.51
+ 25.65,46.78 26.07,46.86 26.62,46.88
+ 27.11,46.90 27.53,46.81 27.97,46.61
+ 28.68,46.28 29.26,45.72 29.58,45.00
+ 29.58,45.00 29.68,44.69 29.68,44.69
+ 29.78,44.39 29.84,44.13 29.84,43.81
+ 29.84,43.81 29.84,43.56 29.84,43.56
+ 29.84,43.33 29.76,43.01 29.69,42.78
+ 29.38,41.84 28.77,41.16 27.84,40.79
+ 27.66,40.72 27.48,40.64 27.28,40.61
+ 27.28,40.61 26.97,40.59 26.97,40.59
+ 26.78,40.58 26.78,40.55 26.56,40.57 Z
+ M 40.84,44.78
+ C 40.84,44.78 41.72,44.78 41.72,44.78
+ 41.72,44.78 43.25,44.78 43.25,44.78
+ 43.25,44.78 47.94,44.78 47.94,44.78
+ 48.12,44.78 48.37,44.79 48.53,44.89
+ 48.72,45.00 48.91,45.21 48.99,45.41
+ 49.18,45.86 49.03,46.47 48.62,46.76
+ 48.44,46.89 48.19,46.94 47.97,46.94
+ 47.97,46.94 41.06,46.94 41.06,46.94
+ 40.69,46.94 40.37,46.81 40.15,46.50
+ 40.09,46.41 40.05,46.29 40.02,46.19
+ 39.83,45.55 40.17,44.91 40.84,44.78 Z
+ M 39.75,49.03
+ C 39.75,49.03 40.72,49.03 40.72,49.03
+ 40.72,49.03 42.50,49.03 42.50,49.03
+ 42.50,49.03 47.97,49.03 47.97,49.03
+ 48.15,49.03 48.31,49.04 48.47,49.13
+ 48.68,49.24 48.88,49.44 48.99,49.66
+ 49.09,49.87 49.09,50.31 49.01,50.53
+ 48.96,50.66 48.82,50.86 48.71,50.95
+ 48.50,51.15 48.19,51.22 47.91,51.22
+ 47.91,51.22 40.06,51.22 40.06,51.22
+ 39.70,51.22 39.33,51.08 39.11,50.78
+ 38.64,50.14 38.98,49.23 39.75,49.03 Z" />
+ <path id="lines"
+ fill="none" stroke="black" stroke-width="1"
+ d="M 9.03,0.00
+ C 9.03,0.00 10.53,0.00 10.53,0.00
+ 10.53,0.00 13.34,0.00 13.34,0.00
+ 13.34,0.00 22.00,0.00 22.00,0.00
+ 22.00,0.00 48.44,0.00 48.44,0.00
+ 48.44,0.00 52.44,0.00 52.44,0.00
+ 52.44,0.00 54.72,0.00 54.72,0.00
+ 55.11,0.00 55.50,0.10 55.88,0.21
+ 55.88,0.21 56.12,0.27 56.12,0.27
+ 56.12,0.27 56.53,0.44 56.53,0.44
+ 57.78,0.97 58.75,1.94 59.29,3.19
+ 59.51,3.69 59.72,4.39 59.72,4.94
+ 59.72,4.94 59.72,37.09 59.72,37.09
+ 59.72,37.09 59.72,48.94 59.72,48.94
+ 59.72,48.94 59.72,54.88 59.72,54.88
+ 59.71,55.21 59.62,55.53 59.54,55.84
+ 59.54,55.84 59.44,56.19 59.44,56.19
+ 59.09,57.19 58.42,58.09 57.56,58.72
+ 57.13,59.04 56.60,59.30 56.09,59.48
+ 55.96,59.52 55.60,59.57 55.53,59.67
+ 55.49,59.72 55.50,59.84 55.50,59.91
+ 55.50,59.91 55.50,62.72 55.50,62.72
+ 55.50,63.43 55.14,64.00 54.38,64.00
+ 54.38,64.00 32.00,64.00 32.00,64.00
+ 32.00,64.00 9.62,64.00 9.62,64.00
+ 8.88,64.00 8.51,63.45 8.50,62.75
+ 8.50,62.75 8.50,59.91 8.50,59.91
+ 8.50,59.84 8.51,59.73 8.47,59.67
+ 8.40,59.57 8.04,59.52 7.91,59.48
+ 7.40,59.30 6.87,59.04 6.44,58.72
+ 5.62,58.12 4.90,57.17 4.57,56.22
+ 4.57,56.22 4.46,55.84 4.46,55.84
+ 4.37,55.51 4.28,55.20 4.28,54.84
+ 4.28,54.84 4.28,25.94 4.28,25.94
+ 4.28,25.94 4.28,16.53 4.28,16.53
+ 4.28,16.53 4.28,13.41 4.28,13.41
+ 4.28,13.41 4.28,12.41 4.28,12.41
+ 4.28,12.41 4.28,12.09 4.28,12.09
+ 4.28,12.09 4.28,11.81 4.28,11.81
+ 4.28,11.81 4.28,7.41 4.28,7.41
+ 4.28,7.41 4.28,4.94 4.28,4.94
+ 4.28,4.57 4.37,4.22 4.47,3.88
+ 4.47,3.88 4.57,3.53 4.57,3.53
+ 4.99,2.33 5.85,1.31 6.97,0.69
+ 6.97,0.69 7.28,0.52 7.28,0.52
+ 7.91,0.23 8.35,0.11 9.03,0.00 Z
+ M 53.28,61.81
+ C 53.28,61.81 53.28,58.72 53.28,58.72
+ 53.28,58.53 53.28,58.46 53.36,58.28
+ 53.40,58.17 53.47,58.04 53.55,57.94
+ 54.03,57.37 54.73,57.64 55.34,57.40
+ 55.65,57.28 55.93,57.17 56.21,56.98
+ 57.00,56.43 57.53,55.47 57.53,54.50
+ 57.53,54.50 57.53,16.53 57.53,16.53
+ 57.53,16.53 57.53,5.22 57.53,5.22
+ 57.53,3.57 56.06,2.19 54.44,2.19
+ 54.44,2.19 17.56,2.19 17.56,2.19
+ 17.56,2.19 9.56,2.19 9.56,2.19
+ 7.94,2.19 6.47,3.57 6.47,5.22
+ 6.47,5.22 6.47,10.66 6.47,10.66
+ 6.47,10.66 54.19,10.66 54.19,10.66
+ 54.56,10.66 54.84,10.69 55.12,10.95
+ 55.64,11.43 55.57,12.28 54.97,12.66
+ 54.78,12.79 54.50,12.84 54.28,12.84
+ 54.28,12.84 6.47,12.84 6.47,12.84
+ 6.47,12.84 6.47,47.22 6.47,47.22
+ 6.47,47.22 6.47,54.50 6.47,54.50
+ 6.47,54.95 6.56,55.29 6.74,55.69
+ 7.15,56.58 7.87,57.18 8.81,57.46
+ 8.99,57.51 9.68,57.56 9.88,57.56
+ 9.88,57.56 41.62,57.56 41.62,57.56
+ 41.62,57.56 49.06,57.56 49.06,57.56
+ 49.06,57.56 50.12,57.56 50.12,57.56
+ 50.59,57.56 50.97,57.85 51.14,58.28
+ 51.19,58.41 51.22,58.55 51.22,58.69
+ 51.18,59.32 50.64,59.75 50.03,59.75
+ 50.03,59.75 10.72,59.75 10.72,59.75
+ 10.72,59.75 10.72,61.81 10.72,61.81
+ 10.72,61.81 53.28,61.81 53.28,61.81 Z
+ M 11.22,14.94
+ C 11.22,14.94 12.53,14.94 12.53,14.94
+ 12.53,14.94 15.00,14.94 15.00,14.94
+ 15.00,14.94 22.50,14.94 22.50,14.94
+ 22.50,14.94 45.47,14.94 45.47,14.94
+ 45.47,14.94 52.53,14.94 52.53,14.94
+ 52.89,14.94 53.08,15.01 53.41,15.13
+ 53.41,15.13 53.69,15.23 53.69,15.23
+ 54.31,15.53 54.93,16.18 55.21,16.81
+ 55.40,17.26 55.50,17.86 55.50,18.34
+ 55.50,18.34 55.50,46.94 55.50,46.94
+ 55.50,46.94 55.50,50.81 55.50,50.81
+ 55.50,51.53 55.55,52.48 55.35,53.16
+ 55.01,54.25 54.27,55.05 53.16,55.35
+ 52.87,55.43 52.74,55.47 52.44,55.47
+ 52.44,55.47 18.66,55.47 18.66,55.47
+ 18.66,55.47 11.56,55.47 11.56,55.47
+ 11.26,55.47 11.13,55.43 10.84,55.35
+ 10.48,55.25 10.22,55.12 9.91,54.91
+ 9.19,54.42 8.73,53.70 8.57,52.84
+ 8.57,52.84 8.53,52.38 8.53,52.38
+ 8.53,52.38 8.50,52.03 8.50,52.03
+ 8.50,52.03 8.50,23.78 8.50,23.78
+ 8.50,23.78 8.50,21.81 8.50,21.81
+ 8.50,21.81 8.50,19.06 8.50,19.06
+ 8.50,18.25 8.46,17.82 8.72,17.03
+ 8.72,17.03 8.79,16.81 8.79,16.81
+ 9.00,16.33 9.45,15.79 9.88,15.49
+ 9.88,15.49 10.19,15.30 10.19,15.30
+ 10.42,15.16 10.95,15.00 11.22,14.94 Z
+ M 11.78,17.10
+ C 11.41,17.16 11.19,17.18 10.94,17.50
+ 10.89,17.56 10.81,17.68 10.78,17.75
+ 10.70,17.95 10.72,18.57 10.72,18.81
+ 10.72,18.81 10.72,21.03 10.72,21.03
+ 10.72,21.03 10.72,33.59 10.72,33.59
+ 10.72,33.59 10.72,48.72 10.72,48.72
+ 10.72,48.72 10.72,52.09 10.72,52.09
+ 10.72,52.22 10.74,52.51 10.78,52.62
+ 10.88,52.91 11.21,53.19 11.50,53.26
+ 11.59,53.28 11.66,53.28 11.75,53.28
+ 11.75,53.28 43.62,53.28 43.62,53.28
+ 43.62,53.28 51.03,53.28 51.03,53.28
+ 51.03,53.28 52.28,53.28 52.28,53.28
+ 52.68,53.28 53.12,52.98 53.23,52.59
+ 53.26,52.49 53.28,52.21 53.28,52.09
+ 53.28,52.09 53.28,25.22 53.28,25.22
+ 53.28,25.22 53.28,18.28 53.28,18.28
+ 53.28,18.17 53.26,17.88 53.23,17.78
+ 53.20,17.70 53.13,17.60 53.08,17.53
+ 52.80,17.16 52.44,17.09 52.00,17.10
+ 52.00,17.10 25.22,17.10 25.22,17.10
+ 25.22,17.10 16.28,17.10 16.28,17.10
+ 16.28,17.10 13.34,17.10 13.34,17.10
+ 13.34,17.10 11.78,17.10 11.78,17.10 Z" />
+ <path id="water"
+ fill="#e0e0ff" stroke="black" stroke-width="0"
+ d="M 31.06,18.16
+ C 31.12,17.87 31.47,17.90 31.69,17.91
+ 31.98,17.91 32.10,18.11 32.22,18.34
+ 32.28,18.44 32.30,18.44 32.31,18.56
+ 32.41,18.62 32.43,18.68 32.48,18.77
+ 32.52,18.84 32.59,18.97 32.61,19.04
+ 32.69,19.33 32.55,19.66 32.29,19.81
+ 32.17,19.89 31.76,19.92 31.65,19.81
+ 31.61,19.78 31.61,19.76 31.59,19.72
+ 31.54,19.77 31.50,19.82 31.43,19.85
+ 31.24,19.93 30.66,19.89 30.62,19.53
+ 30.48,19.44 30.47,19.20 30.51,19.04
+ 30.54,18.94 30.58,18.93 30.59,18.81
+ 30.80,18.65 30.86,18.26 31.06,18.16 Z
+ M 29.13,18.09
+ C 29.57,17.98 29.99,18.14 30.00,18.66
+ 30.00,18.75 30.01,18.87 29.98,18.96
+ 29.91,19.16 29.78,19.26 29.63,19.41
+ 29.63,19.41 29.09,19.95 29.09,19.95
+ 28.99,20.05 28.74,20.33 28.62,20.37
+ 28.54,20.40 28.43,20.41 28.34,20.41
+ 27.94,20.41 27.70,20.22 27.67,19.81
+ 27.63,19.37 28.00,19.16 28.27,18.88
+ 28.55,18.58 28.72,18.25 29.13,18.09 Z
+ M 34.78,18.84
+ C 34.93,18.92 35.08,19.10 35.20,19.22
+ 35.27,19.30 35.38,19.39 35.42,19.48
+ 35.55,19.81 35.41,20.26 35.06,20.38
+ 34.94,20.42 34.59,20.42 34.48,20.36
+ 34.41,20.33 34.24,20.15 34.18,20.09
+ 34.18,20.09 33.55,19.46 33.55,19.46
+ 33.34,19.26 33.13,19.10 33.13,18.78
+ 33.12,18.29 33.31,18.06 33.81,18.06
+ 34.15,18.06 34.25,18.22 34.48,18.44
+ 34.59,18.55 34.76,18.68 34.78,18.84 Z
+ M 29.22,21.31
+ C 29.23,21.18 29.35,21.00 29.43,20.88
+ 29.54,20.72 29.55,20.60 29.74,20.47
+ 29.79,20.44 30.06,20.35 30.13,20.35
+ 30.28,20.35 30.58,20.48 30.67,20.61
+ 30.81,20.82 30.78,21.01 30.78,21.25
+ 30.78,21.25 30.72,21.22 30.72,21.22
+ 30.71,21.45 30.58,21.60 30.46,21.78
+ 30.46,21.78 30.29,22.07 30.29,22.07
+ 30.17,22.27 30.04,22.61 29.83,22.73
+ 29.74,22.78 29.63,22.78 29.53,22.78
+ 29.41,22.78 29.25,22.79 29.14,22.73
+ 28.92,22.60 28.81,22.34 28.81,22.09
+ 28.82,21.92 28.89,21.83 28.96,21.68
+ 29.03,21.56 29.10,21.39 29.22,21.31 Z
+ M 32.44,20.59
+ C 32.58,20.51 32.65,20.45 32.81,20.40
+ 32.87,20.38 32.94,20.35 33.00,20.35
+ 33.06,20.35 33.10,20.38 33.16,20.39
+ 33.35,20.45 33.39,20.42 33.53,20.59
+ 33.61,20.68 33.60,20.73 33.66,20.83
+ 33.66,20.83 33.95,21.29 33.95,21.29
+ 34.03,21.43 34.17,21.74 34.28,21.84
+ 34.28,21.84 34.25,21.94 34.25,21.94
+ 34.34,22.02 34.34,22.26 34.25,22.34
+ 34.25,22.34 34.28,22.44 34.28,22.44
+ 34.19,22.52 34.09,22.68 33.99,22.73
+ 33.91,22.77 33.77,22.78 33.69,22.78
+ 33.58,22.78 33.40,22.78 33.30,22.73
+ 33.18,22.66 33.11,22.53 33.04,22.43
+ 33.04,22.43 32.82,22.04 32.82,22.04
+ 32.82,22.04 32.60,21.68 32.60,21.68
+ 32.46,21.43 32.34,21.26 32.34,20.97
+ 32.35,20.83 32.35,20.77 32.47,20.69
+ 32.47,20.69 32.44,20.59 32.44,20.59 Z
+ M 26.44,20.84
+ C 26.81,20.75 27.14,20.85 27.29,21.22
+ 27.35,21.35 27.37,21.50 27.32,21.64
+ 27.25,21.87 27.16,21.89 27.03,22.06
+ 27.03,22.06 26.32,22.81 26.32,22.81
+ 26.17,22.96 26.07,23.09 25.86,23.17
+ 25.79,23.19 25.70,23.19 25.63,23.19
+ 25.13,23.18 24.89,22.70 25.03,22.26
+ 25.09,22.09 25.29,21.90 25.41,21.78
+ 25.65,21.54 26.16,20.96 26.44,20.84 Z
+ M 36.25,22.16
+ C 35.73,21.89 35.57,21.15 36.16,20.86
+ 36.28,20.80 36.40,20.81 36.53,20.81
+ 36.84,20.82 36.93,20.99 37.13,21.19
+ 37.37,21.43 37.87,21.88 38.03,22.15
+ 38.16,22.34 38.24,22.68 38.03,22.84
+ 37.97,23.17 37.33,23.33 37.16,23.06
+ 37.16,23.06 37.06,23.09 37.06,23.09
+ 37.06,23.09 36.50,22.51 36.50,22.51
+ 36.39,22.40 36.28,22.32 36.25,22.16 Z
+ M 31.30,21.52
+ C 31.41,21.49 31.54,21.50 31.66,21.50
+ 31.89,21.50 32.12,21.69 32.19,21.91
+ 32.23,22.06 32.22,22.28 32.22,22.44
+ 32.22,22.44 32.22,23.28 32.22,23.28
+ 32.22,23.69 32.30,24.15 31.83,24.34
+ 31.74,24.38 31.64,24.38 31.53,24.37
+ 31.10,24.37 30.91,24.10 30.91,23.69
+ 30.91,23.69 30.91,22.50 30.91,22.50
+ 30.91,22.08 30.86,21.75 31.30,21.52 Z
+ M 27.28,24.66
+ C 27.30,24.51 27.53,24.17 27.61,24.01
+ 27.72,23.82 27.89,23.47 28.08,23.37
+ 28.22,23.30 28.34,23.31 28.50,23.31
+ 28.93,23.32 29.10,23.60 29.09,24.00
+ 29.09,24.19 28.98,24.34 28.89,24.51
+ 28.89,24.51 28.51,25.15 28.51,25.15
+ 28.40,25.34 28.32,25.54 28.12,25.65
+ 28.02,25.70 27.80,25.69 27.69,25.69
+ 27.62,25.69 27.54,25.69 27.47,25.66
+ 27.25,25.57 27.12,25.26 27.13,25.03
+ 27.13,24.88 27.15,24.74 27.28,24.66 Z
+ M 35.22,23.59
+ C 35.37,23.67 35.50,24.00 35.58,24.15
+ 35.69,24.36 35.88,24.56 35.96,24.79
+ 36.06,25.09 35.97,25.53 35.65,25.66
+ 35.59,25.69 35.51,25.69 35.44,25.69
+ 35.31,25.69 35.09,25.70 34.98,25.63
+ 34.83,25.54 34.71,25.33 34.63,25.18
+ 34.63,25.18 34.09,24.21 34.09,24.21
+ 34.06,24.14 34.06,24.08 34.06,24.00
+ 34.06,23.88 34.05,23.74 34.10,23.63
+ 34.22,23.33 34.46,23.31 34.75,23.31
+ 34.83,23.31 34.89,23.31 34.96,23.34
+ 35.05,23.37 35.17,23.45 35.25,23.50
+ 35.25,23.50 35.22,23.59 35.22,23.59 Z
+ M 23.72,23.66
+ C 23.81,23.56 24.19,23.56 24.28,23.66
+ 24.63,23.69 24.69,24.19 24.62,24.46
+ 24.57,24.66 24.42,24.77 24.28,24.91
+ 24.28,24.91 23.61,25.60 23.61,25.60
+ 23.50,25.73 23.34,25.90 23.16,25.88
+ 23.08,25.96 22.98,25.94 22.88,25.94
+ 22.81,25.94 22.75,25.93 22.69,25.91
+ 22.57,25.87 22.36,25.65 22.32,25.52
+ 22.31,25.46 22.31,25.32 22.32,25.25
+ 22.31,25.11 22.35,25.00 22.43,24.88
+ 22.43,24.88 23.24,24.05 23.24,24.05
+ 23.38,23.90 23.50,23.69 23.72,23.66 Z
+ M 38.84,23.66
+ C 38.93,23.56 39.32,23.56 39.41,23.66
+ 39.63,23.68 39.79,23.94 39.94,24.09
+ 39.94,24.09 40.44,24.59 40.44,24.59
+ 40.52,24.67 40.65,24.78 40.71,24.88
+ 40.80,25.05 40.86,25.37 40.79,25.55
+ 40.76,25.63 40.66,25.74 40.60,25.80
+ 40.55,25.84 40.49,25.89 40.43,25.91
+ 40.35,25.94 40.21,25.94 40.12,25.94
+ 39.92,25.93 39.73,25.84 39.59,25.68
+ 39.59,25.68 39.45,25.49 39.45,25.49
+ 39.45,25.49 38.94,24.98 38.94,24.98
+ 38.83,24.87 38.58,24.65 38.52,24.52
+ 38.40,24.23 38.50,23.72 38.84,23.66 Z
+ M 31.39,25.65
+ C 31.70,25.57 32.09,25.70 32.19,26.04
+ 32.23,26.19 32.22,26.43 32.22,26.59
+ 32.22,26.59 32.22,27.53 32.22,27.53
+ 32.22,27.77 32.15,28.05 31.90,28.14
+ 31.79,28.18 31.71,28.19 31.59,28.19
+ 31.48,28.19 31.39,28.19 31.28,28.15
+ 30.96,28.05 30.91,27.76 30.91,27.47
+ 30.91,27.47 30.91,26.78 30.91,26.78
+ 30.91,26.57 30.88,26.13 30.97,25.96
+ 31.07,25.77 31.20,25.72 31.39,25.65 Z
+ M 26.34,26.38
+ C 26.44,26.19 26.63,26.22 26.81,26.22
+ 27.19,26.22 27.37,26.44 27.37,26.81
+ 27.38,26.90 27.38,27.04 27.36,27.12
+ 27.36,27.12 26.90,27.93 26.90,27.93
+ 26.66,28.29 26.01,28.28 25.78,27.90
+ 25.71,27.79 25.72,27.66 25.72,27.53
+ 25.72,27.45 25.72,27.36 25.74,27.28
+ 25.76,27.18 25.85,27.07 25.91,26.98
+ 25.91,26.98 26.11,26.61 26.11,26.61
+ 26.11,26.61 26.28,26.34 26.28,26.34
+ 26.28,26.34 26.34,26.38 26.34,26.38 Z
+ M 35.81,26.59
+ C 35.83,26.25 36.17,26.22 36.44,26.22
+ 36.82,26.22 36.90,26.42 37.08,26.71
+ 37.16,26.84 37.35,27.14 37.39,27.28
+ 37.41,27.37 37.41,27.53 37.41,27.62
+ 37.40,27.97 37.25,28.13 36.91,28.17
+ 36.80,28.19 36.70,28.19 36.59,28.17
+ 36.37,28.13 36.39,28.09 36.22,27.97
+ 36.22,27.97 36.25,27.88 36.25,27.88
+ 36.12,27.81 36.13,27.75 36.06,27.64
+ 35.99,27.53 35.83,27.28 35.81,27.16
+ 35.72,27.07 35.72,26.68 35.81,26.59 Z
+ M 20.97,26.47
+ C 20.99,26.42 21.00,26.40 21.05,26.37
+ 21.12,26.33 21.47,26.33 21.55,26.37
+ 21.61,26.39 21.62,26.42 21.66,26.47
+ 21.66,26.47 21.75,26.44 21.75,26.44
+ 21.80,26.51 21.94,26.72 21.96,26.79
+ 21.97,26.85 21.97,26.97 21.96,27.03
+ 21.96,27.36 21.72,27.57 21.50,27.78
+ 21.38,27.90 21.25,28.08 21.09,28.14
+ 20.71,28.27 20.13,28.19 20.13,27.69
+ 20.12,27.59 20.12,27.38 20.15,27.30
+ 20.27,26.98 20.68,26.71 20.88,26.44
+ 20.88,26.44 20.97,26.47 20.97,26.47 Z
+ M 41.47,26.47
+ C 41.57,26.31 41.71,26.34 41.87,26.34
+ 42.22,26.35 42.38,26.58 42.60,26.81
+ 42.81,27.02 43.02,27.17 43.03,27.50
+ 43.05,27.94 42.85,28.18 42.41,28.19
+ 42.30,28.19 42.20,28.19 42.09,28.15
+ 41.92,28.10 41.77,27.91 41.64,27.78
+ 41.51,27.65 41.30,27.46 41.22,27.30
+ 41.17,27.19 41.17,26.84 41.22,26.72
+ 41.24,26.64 41.33,26.51 41.38,26.44
+ 41.38,26.44 41.47,26.47 41.47,26.47 Z" />
+ <path id="controls"
+ fill="#808080" stroke="black" stroke-width="0"
+ d="M 42.34,4.26
+ C 42.81,4.20 43.34,4.29 43.75,4.53
+ 44.31,4.85 44.80,5.56 44.81,6.22
+ 44.81,6.22 44.81,6.62 44.81,6.62
+ 44.81,6.92 44.65,7.34 44.50,7.59
+ 44.29,7.92 43.96,8.18 43.62,8.37
+ 43.28,8.56 42.88,8.57 42.50,8.56
+ 41.66,8.55 40.85,7.92 40.60,7.12
+ 40.56,7.00 40.50,6.60 40.50,6.47
+ 40.50,6.24 40.54,5.87 40.62,5.66
+ 40.89,4.89 41.57,4.41 42.34,4.26 Z
+ M 50.88,4.26
+ C 51.78,4.15 52.62,4.55 53.07,5.34
+ 53.14,5.46 53.18,5.53 53.23,5.66
+ 53.35,6.01 53.36,6.44 53.30,6.81
+ 53.26,7.14 53.16,7.42 52.96,7.69
+ 52.76,7.94 52.50,8.18 52.22,8.33
+ 51.83,8.55 51.43,8.57 51.00,8.56
+ 50.10,8.55 49.32,7.84 49.09,7.00
+ 49.01,6.74 49.03,6.52 49.03,6.25
+ 49.03,5.55 49.52,4.84 50.12,4.51
+ 50.34,4.39 50.64,4.31 50.88,4.26 Z
+ M 11.69,5.32
+ C 11.69,5.32 12.69,5.32 12.69,5.32
+ 12.69,5.32 14.53,5.32 14.53,5.32
+ 14.53,5.32 20.09,5.32 20.09,5.32
+ 20.48,5.31 20.89,5.41 21.15,5.73
+ 21.19,5.79 21.24,5.90 21.27,5.97
+ 21.54,6.56 21.24,7.30 20.59,7.47
+ 20.48,7.50 20.40,7.50 20.28,7.50
+ 20.28,7.50 11.75,7.50 11.75,7.50
+ 11.12,7.50 10.71,7.09 10.66,6.47
+ 10.65,6.28 10.72,5.98 10.83,5.82
+ 11.04,5.48 11.31,5.38 11.69,5.32 Z" />
diff --git a/src/hi/apps/entity/templates/entity/svg/type.satellite_dish.svg b/src/hi/apps/entity/templates/entity/svg/type.satellite_dish.svg
new file mode 100644
index 00000000..d79fb115
--- /dev/null
+++ b/src/hi/apps/entity/templates/entity/svg/type.satellite_dish.svg
@@ -0,0 +1,113 @@
+<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
+ <path class="hi-entity-satellite-dish-background"
+ fill="#aaaaaa" stroke="black" stroke-width="0"
+ d="M 6.93,16.87
+ C 8.96,16.47 9.75,17.46 11.22,18.69
+ 11.22,18.69 18.15,24.46 18.15,24.46
+ 18.15,24.46 42.27,44.52 42.27,44.52
+ 42.27,44.52 47.76,49.10 47.76,49.10
+ 48.83,50.01 49.81,51.00 49.62,52.54
+ 49.22,55.65 43.71,55.67 41.31,55.64
+ 37.08,55.59 32.96,54.34 29.13,52.61
+ 20.07,48.52 13.35,42.32 8.46,33.67
+ 6.52,30.23 4.93,25.23 5.02,21.25
+ 5.06,19.48 5.13,17.67 6.93,16.87 Z" />
+ <path class="hi-entity-satellite-dish-lines"
+ fill="#444444" stroke="black" stroke-width="0"
+ d="M 17.91,46.33
+ C 15.85,45.02 14.24,43.15 12.66,41.31
+ 7.94,35.84 3.97,28.41 4.06,21.01
+ 4.08,19.38 4.50,14.92 6.45,14.56
+ 7.78,14.32 9.76,16.35 10.75,17.17
+ 10.75,17.17 17.43,22.75 17.43,22.75
+ 17.43,22.75 21.01,25.63 21.01,25.63
+ 21.85,26.10 24.31,25.74 25.31,25.63
+ 25.31,25.63 34.15,24.84 34.15,24.84
+ 34.25,24.23 34.32,23.74 34.68,23.21
+ 36.88,19.93 41.49,24.13 38.42,26.64
+ 37.93,27.05 37.61,27.10 37.01,27.22
+ 37.01,27.22 37.93,36.54 37.93,36.54
+ 38.05,37.82 37.92,39.28 38.76,40.35
+ 39.23,40.95 41.53,42.79 42.27,43.40
+ 42.27,43.40 49.19,49.17 49.19,49.17
+ 50.22,50.03 52.52,51.48 52.19,53.01
+ 52.01,53.80 51.29,54.24 50.63,54.61
+ 49.16,55.43 47.27,56.04 45.61,56.29
+ 40.17,57.13 34.64,56.02 29.61,53.87
+ 29.61,53.87 25.79,52.06 25.79,52.06
+ 25.79,52.06 29.79,56.60 29.79,56.60
+ 30.30,57.20 31.25,58.21 31.41,58.98
+ 31.65,60.11 30.75,61.03 29.62,60.78
+ 28.65,60.57 27.52,59.02 26.88,58.27
+ 26.88,58.27 21.01,51.58 21.01,51.58
+ 21.01,51.58 21.01,60.18 21.01,60.18
+ 21.00,61.20 20.85,62.52 19.58,62.71
+ 18.32,62.89 17.83,61.67 17.71,60.66
+ 17.54,59.15 17.89,58.05 17.91,56.60
+ 17.91,56.60 17.67,51.58 17.67,51.58
+ 17.67,51.58 10.65,59.70 10.65,59.70
+ 9.77,60.66 8.26,61.59 7.45,59.93
+ 6.83,58.65 8.61,57.01 9.38,56.12
+ 9.38,56.12 17.91,46.33 17.91,46.33 Z
+ M 7.88,19.10
+ C 7.57,19.87 7.39,21.14 7.45,21.97
+ 7.75,26.24 9.19,30.00 11.33,33.67
+ 16.20,42.06 24.94,48.90 34.15,51.90
+ 37.94,53.13 43.53,53.87 47.28,52.30
+ 47.28,52.30 43.22,48.62 43.22,48.62
+ 43.22,48.62 35.82,42.45 35.82,42.45
+ 35.82,42.45 17.91,27.56 17.91,27.56
+ 17.91,27.56 7.88,19.10 7.88,19.10 Z
+ M 31.76,28.18
+ C 31.76,28.18 24.84,28.90 24.84,28.90
+ 25.38,29.55 27.61,31.72 28.41,31.72
+ 29.32,31.70 31.24,28.95 31.76,28.18 Z
+ M 34.15,30.33
+ C 33.03,31.40 31.61,32.95 31.04,34.39
+ 31.04,34.39 34.63,37.01 34.63,37.01
+ 34.63,37.01 34.15,30.33 34.15,30.33 Z
+ M 34.87,37.01
+ C 34.87,37.01 34.63,37.01 34.63,37.01
+ 34.63,37.01 34.87,37.25 34.87,37.25
+ 34.87,37.25 34.87,37.01 34.87,37.01 Z
+ M 17.91,51.34
+ C 17.91,51.34 17.67,51.34 17.67,51.34
+ 17.67,51.34 17.91,51.58 17.91,51.58
+ 17.91,51.58 17.91,51.34 17.91,51.34 Z
+ M 25.79,51.82
+ C 25.79,51.82 25.55,51.82 25.55,51.82
+ 25.55,51.82 25.79,52.06 25.79,52.06
+ 25.79,52.06 25.79,51.82 25.79,51.82 Z" />
+ <path class="hi-entity-satellite-dish-signal"
+ fill="#aaaaff" stroke="black" stroke-width="1"
+ d="M 31.32,1.20
+ C 33.20,0.53 37.19,1.22 39.16,1.70
+ 46.49,3.48 53.07,8.14 57.06,14.57
+ 58.81,17.38 59.95,20.17 60.68,23.40
+ 60.91,24.39 61.35,26.31 60.13,26.80
+ 59.26,27.16 58.59,26.57 58.30,25.79
+ 58.30,25.79 57.82,23.64 57.82,23.64
+ 57.30,21.45 56.43,19.15 55.30,17.19
+ 51.26,10.17 42.75,3.92 34.39,3.82
+ 33.69,3.81 32.14,3.90 31.55,3.64
+ 30.34,3.13 30.45,1.97 31.32,1.20 Z
+ M 32.50,8.06
+ C 34.01,7.68 36.68,8.07 38.21,8.45
+ 43.47,9.76 48.21,13.04 51.09,17.67
+ 52.32,19.65 53.34,22.07 53.78,24.36
+ 53.96,25.31 54.19,26.67 53.00,27.07
+ 52.25,27.32 51.68,26.91 51.38,26.24
+ 50.85,25.07 51.07,23.32 48.85,19.58
+ 46.35,15.39 42.19,12.41 37.49,11.17
+ 35.23,10.57 33.22,10.88 32.50,10.57
+ 31.21,10.02 31.44,8.74 32.50,8.06 Z
+ M 33.46,15.00
+ C 34.59,14.70 35.17,14.84 36.30,15.00
+ 40.11,15.67 43.15,17.76 45.24,21.01
+ 45.96,22.12 46.74,24.01 46.93,25.31
+ 47.05,26.11 46.93,27.00 46.06,27.32
+ 45.42,27.55 44.80,27.27 44.46,26.71
+ 44.03,26.03 44.15,24.59 42.72,22.45
+ 41.29,20.29 39.04,18.62 36.54,17.95
+ 34.95,17.52 33.94,17.82 33.25,17.39
+ 32.13,16.71 32.52,15.58 33.46,15.00 Z" />
diff --git a/src/hi/hi_styles.py b/src/hi/hi_styles.py
index d80afd6b..0c914f82 100644
--- a/src/hi/hi_styles.py
+++ b/src/hi/hi_styles.py
@@ -161,6 +161,14 @@ class EntityStyle:
fill_color = None,
fill_opacity = 0.0,
)
+ Fence = SvgStatusStyle(
+ status_value = '',
+ stroke_color = '#8B4513',
+ stroke_width = 6,
+ stroke_dasharray = [ 10, 2 ],
+ fill_color = None,
+ fill_opacity = 0.0,
+ )
Furniture = SvgStatusStyle(
status_value = '',
stroke_color = '#8B4513',
@@ -237,6 +245,7 @@ class EntityStyle:
EntityTypesWithIcons = {
# Default icon used if not in this map
EntityType.ACCESS_POINT,
+ EntityType.ANTENNA,
EntityType.ATTIC_STAIRS,
EntityType.AUTOMOBILE,
EntityType.AV_RECEIVER,
@@ -249,6 +258,7 @@ class EntityStyle:
EntityType.CONSUMABLE,
EntityType.CONTROLLER,
EntityType.COOKTOP,
+ EntityType.DISHWASHER,
EntityType.DISK,
EntityType.DOOR_LOCK,
EntityType.ELECTRICAL_OUTLET,
@@ -279,6 +289,7 @@ class EntityStyle:
EntityType.PRINTER,
EntityType.PUMP,
EntityType.REFRIGERATOR,
+ EntityType.SATELLITE_DISH,
EntityType.SERVER,
EntityType.SERVICE,
EntityType.SHED,
@@ -346,6 +357,7 @@ class EntityStyle:
EntityTypeOpenPaths = {
EntityType.CONTROL_WIRE,
EntityType.ELECTRIC_WIRE,
+ EntityType.FENCE,
EntityType.PIPE,
EntityType.SEWER_LINE,
EntityType.SPEAKER_WIRE,
@@ -359,6 +371,7 @@ class EntityStyle:
EntityType.CONTROL_WIRE: ControlWire,
EntityType.DOOR: Door,
EntityType.ELECTRIC_WIRE: ElectricWire,
+ EntityType.FENCE: Fence,
EntityType.FURNITURE: Furniture,
EntityType.GREENHOUSE: Greenhouse,
EntityType.PIPE: Pipe,