Number (Named Data Type)
Used to store a numeric value (with a decimal point or an integer). It can also contain a text string.
| Property | Template XML | Description | 
|---|---|---|
| Symbol | [A] STRING Symbol
 | 
Formatted text to be used for input and output in the format Symbol = Value [Unit] | 
| Unit type | [A] ENUM UnitType
 | 
Jednotka (např. Length) - použije se podle aktuálního systému jednotek při zadávání a výstupech ve formátu Symbol=Hodnota [Jednotka], pokud je typ jednotky jiný než Undefined, přepočítávají se hodnoty při změně systému jednotek
Unit type (e. g.   | 
| Unit description
 (Unit type   | 
[A] STRING UnitNameMetric
[A] STRING   | 
Unit description (separately Metric and Imperial) - used according to the current Unit System when entering and outputting in the format Symbol = Value [Unit] | 
| Unit definition
 (other unit types)  | 
[A] STRING UnitDefMetric
[A] STRING   | 
Definition of the unit with respect to its Unit type (separately Metric and Imperial) (e.g. for the Length type it can be m, cm, mm, ft, ...) - see Units
 | 
| Počet desetinných míst | [A] INT DecimalDigitsMetric
[A] INT   | 
Počet desetinných míst, pokud je Exponent, pak počet platných cifer je počet desetinných míst zvýšený o jedna | 
| Exponent | [A] BOOL ExponentMetric
[A] BOOL   | 
Použije se exponenciální formát číslo např. 1,234E+06 | 
| Povolit zadat string | [A] BOOL AllowString
 | 
Kromě čísla lze zadat alternativní text, např. (nezadáno) | 
| Text při nezadaném | [A] STRING EmptyText
 | 
Text, který se použije, pokud uživatel nic nezadá | 
Example of the Template XML
<Settings UnitType="Undefined" UnitNameMetric="sss" UnitNameImperial="ss2" DecimalDigitsMetric="3" ExponentMetric="false" DecimalDigitsImperial="3" ExponentImperial="false" />
<Settings UnitType="1/ΔTemp" UnitDefMetric="DegCelsius" UnitDefImperial="DegCelsius" DecimalDigitsMetric="3" ExponentMetric="false" DecimalDigitsImperial="3" ExponentImperial="false" />
<Settings UnitType="Force*Length/Angle/Length" UnitDefMetric="kN|m|rad|m" UnitDefImperial="kip|in|rad|in" DecimalDigitsMetric="3" ExponentMetric="false" DecimalDigitsImperial="3" ExponentImperial="false" />
Example of the Data XML
<Item ID="{DC2B5705-A262-40B8-B91D-0BF3B7D8B80C}" DblValue="1,000" Unit="Undefined_sss" />
<Item ID="{6776BF97-1490-4A2B-A1E7-46B4A40ACD8D}" DblValue="1,000" Unit="1/ΔTemp_DegCelsius" />
<Item ID="{E99E7D72-DA4D-47CE-AAE2-823F6B2D5C81}" DblValue="1,000" Unit="Force_kN*Length_m/Angle_rad/Length_m" />
ID can be either a GUID or a unique text identifier.