Differences
This shows you the differences between two versions of the page.
en:mervis-db:data-identification [2017/07/21 18:10] m.chlupac |
en:mervis-db:data-identification [2017/07/24 13:32] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Data Identification ====== | ||
- | |||
- | Every variable stored in Mervis DB is identified by set of keys and values. Combination of of keys and values marked with attribute " | ||
- | |||
- | ==== Keys ==== | ||
- | |||
- | Any string that consists of characters: a-z, A-Z, 0-9, ., _, - can be used as a key. The key must not start with underscore (" | ||
- | |||
- | ==== Values ==== | ||
- | |||
- | Any string that consists of characters: a-z, A-Z, 0-9, ., _, - can be used as a value. | ||
- | |||
- | |||
- | ==== Example of Variable Keys and Values ==== | ||
- | |||
- | ^Key^Value^IsKey^Description^ | ||
- | | SoftPlcRtId | " | ||
- | | GUID| 546 | **True** |Unique identification of Mervis RT variable generated by Mervis IDE | | ||
- | | VariableName | " | ||
- | |||
- | ===== Recommended Keys and Values ===== | ||
- | |||
- | It's recommended to use the following structure of keys and values for new projects and Mervis DB clients. | ||
- | |||
- | ^Key^Value^IsKey^Description^ | ||
- | | DataSource | " | ||
- | | Root | " | ||
- | | GUID| " | ||
- | | Level1 | " | ||
- | | Level2 | " | ||
- | | Level3 | " | ||
- | | Level4 | " | ||
- | | Level5 | " | ||
- | | Name | "My Variable" | ||
- | | Unit | " | ||
- | |||
- | |||
- | ==== Example ==== | ||
- | |||
- | ^Key^Value^IsKey^Description^ | ||
- | | DataSource | " | ||
- | | Root | " | ||
- | | GUID| " | ||
- | | Level1 | " | ||
- | | Level2 | " | ||
- | | Level3 | "Floor 7" | False | | | ||
- | | Level4 | "Room 17" | False | | | ||
- | | Level5 | " | ||
- | | Name | " | ||
- | | Unit | " | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||