Difference between revisions of "NVGate: Properties"

Jump to navigation Jump to search
356 bytes added ,  11:23, 14 October 2021
Line 131: Line 131:
Both files can be edited independently from NVGate. <br>
Both files can be edited independently from NVGate. <br>
====Structure of the ''userPropertiesLibrary.upl'' file====
====Structure of the ''userPropertiesLibrary.upl'' file====
All the properties are listed in this file. A property is defined with 4 main fields:<br>
All the properties are listed in this file. A property is defined with 4 main fields:<br><br>
1) Property ID<br>
'''1) Property ID'''<br>
2) Title,<br>  
:The property ID must have this form: ''user.username.propertyname''. The username can be freely chosen (but must be different from “oros”). Choose a name that cannot conflict with the user name of incoming properties (imported from projects/measurements/models).The propertyname can be freely chosen too.<br>
3) Value<br>
'''2) Title'''<br>
4) Type <br>
:The title can be identical to the propertyname given in the property ID.<br>
There are 3 different property types: <br>
'''3) Type'''<br>
:There are 3 different property types: <br>
:*text<br>
:*text<br>
:*constrained list<br>
:*constrained list<br>
:*unconstrained list (the user can type a value that is not in the predefined list).<br>
:*unconstrained list (the user can type a value that is not in the predefined list).<br>
The “user name” can be freely chosen (but must be different from “oros”). Choose a name that cannot conflict with the user name of incoming properties (imported from projects/measurements/models).<br>
'''4) Value''' <br>
:In case of a property defined as a list (constrained or unconstrained), all the possible values are listed. The default value is specified.
<br>
The file structure is described below, with the example of Property 1 as text, Property 2 as unconstrained list and Property 3 as constrained list.<br><br>
The file structure is described below, with the example of Property 1 as text, Property 2 as unconstrained list and Property 3 as constrained list.<br><br>
''NB: NVGate software automatically creates default properties (such as “site”,”installation”,”intervention”). They are hidden if the incoming properties are set to “hidden”).''
''NB: NVGate software automatically creates default properties (such as “site”,”installation”,”intervention”). They are hidden if the incoming properties are set to “hidden”).''

Navigation menu