Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:mervis-db:10-api [2018/08/03 08:51]
m.kulvejt [C#]
en:mervis-db:10-api [2021/04/08 13:04] (current)
Line 24: Line 24:
 ^GetVariableStatsAsync|Obsolete| ^GetVariableStatsAsync|Obsolete|
 ^CheckCredentials| | ^CheckCredentials| |
 +
 +===== Object Properties =====
 +  * (UTC)TimeStamp - UTC time stamp of the record
 +  * GoodThrough - UTC time stamp of the end of validity of particular record
 +  * Interval - period of time (in seconds) when next value should be recorded
 +
  
 ===== Examples ===== ===== Examples =====
Line 34: Line 40:
  
  
-{{ :en:mervis-db:mervisdb_getdata_example.zip |}}+{{ :en:mervis-db:mervisdb_getdata_example.zip |}}\\
 {{ :en:mervis-db:mervisdb_savedata_example.zip |}} {{ :en:mervis-db:mervisdb_savedata_example.zip |}}
  
Line 141: Line 147:
 }</code> }</code>
  
-<code csharp MervisDB_SetData_Example.cs>+<code csharp MervisDB_SaveData_Example.cs>
 using System; using System;
 using System.Collections.Generic; using System.Collections.Generic;
Line 183: Line 189:
  {  {
  new KeyValuePair { IsKey = true, Key = "Root", Value = "Building A"},  new KeyValuePair { IsKey = true, Key = "Root", Value = "Building A"},
- new KeyValuePair { IsKey = true, Key = "Level1", Value = "Floor 1"}, +                                                new KeyValuePair { IsKey = true, Key = "Guid", Value = "T26549821654"}, 
- new KeyValuePair { IsKey = true, Key = "Level2", Value = "Room 7"}, + new KeyValuePair { IsKey = false, Key = "Level1", Value = "Floor 1"}, 
- new KeyValuePair { IsKey = true, Key = "Level3", Value = "Temperature"},+ new KeyValuePair { IsKey = false, Key = "Level2", Value = "Room 7"}, 
 + new KeyValuePair { IsKey = false, Key = "Name", Value = "Temperature"},
  new KeyValuePair { IsKey = false, Key = "Description", Value = "Temperature in the room 7"},  new KeyValuePair { IsKey = false, Key = "Description", Value = "Temperature in the room 7"},
  new KeyValuePair { IsKey = false, Key = "Unit", Value = "°C"},  new KeyValuePair { IsKey = false, Key = "Unit", Value = "°C"},
  • © Energocentrum Plus, s.r.o. 2017 - 2024