-
Notifications
You must be signed in to change notification settings - Fork 0
How it works
Cédric Vautrain edited this page Jun 14, 2021
·
22 revisions
Every object we populate in OGrEE 3D is an OgreeObject.
Type | Name | Comment |
---|---|---|
string | name | The "short" name of the object |
string | hierarchyName | The "complete" name of the object, including hierarchy (eg: tn.si.bd.ro.rk.dv) |
string | id | Given by server |
string | parentId | The ID of the parent object |
string | category | Must be part of the following list to be recognized |
List<string> | description | |
string | domain | The owner of the object |
Dictrionary<string, string> | attributes | Non standard attributes |
- Some attributes are mandatory to create specific objects, but are non standard.
Name | Comment | tenant | site | building | room | rack | device | group | corridor |
---|---|---|---|---|---|---|---|---|---|
color | Hexadecimal code | yes | |||||||
orientation | See below | yes | yes | yes | yes | ||||
posXY | Serialized Vector2 | yes | yes | yes | |||||
posXYUnit | See below | yes | yes | yes | |||||
posZ | yes | yes | yes | ||||||
posZUnit | See below | yes | yes | yes | |||||
size | Serialized Vector2 | yes | yes | yes | yes | ||||
sizeUnit | See below | yes | yes | yes | yes | ||||
height | yes | yes | yes | yes | |||||
heightUnit | See below | yes | yes | yes | yes | ||||
template | yes | yes | yes | ||||||
sizeU | Optional if template if defined | yes | |||||||
slot | Optional if posU if defined | yes | |||||||
posU | Optional if slot if defined | yes | |||||||
content | All list for gr, corners for co | yes | yes | ||||||
temperature | cold or warm | yes |
- Some other attributes arn't mandatory but have an inpact in the objects.
Name | Comment | tenant | site | building | room | rack | device | group | corridor |
---|---|---|---|---|---|---|---|---|---|
color | Hexadecimal code | yes | yes | yes | |||||
usableColor | Hexadecimal code | yes | |||||||
reservedColor | Hexadecimal code | yes | |||||||
technicalColor | Hexadecimal code | yes | |||||||
reserved | Serialized custom Vector4 | yes | |||||||
technical | Serialized custom Vector4 | yes |
- You can also add any custom attribute in
object.attributes
.
- tenant
- site
- building
- room
- rack
- device
- rackGroup
- corridor
Depending of the object category, the orientation can have specific values.
For a site:
- EN
- NW
- WS
- SE
For a room:
- [+|-]E[+|-]N
- [+|-]N[+|-]W
- [+|-]W[+|-]S
- [+|-]S[+|-]E
For a rack:
- front
- rear
- left
- right
For a device:
- front
- rear
- frontflipped
- rearflipped
- mm
- cm
- m
- U
- OU
- tile