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
Next revision Both sides next revision
en:mervis-db:10-api [2018/08/03 08:54]
m.kulvejt [C#]
en:mervis-db:10-api [2019/03/06 12:31]
m.chlupac
Line 141: Line 141:
 }</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 183:
  {  {
  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