Skip to content
Snippets Groups Projects
Commit 058fd7b5 authored by Daniel Andrášik's avatar Daniel Andrášik
Browse files

Merge branch 'michal.ondrejicka-master-patch-66196' into 'master'

Update README.md

See merge request digital-twin/twinzo/tdevkit!15
parents b609ff60 34836fb8
No related branches found
No related tags found
No related merge requests found
...@@ -90,14 +90,16 @@ SensorDataContract data1 = new SensorDataContract ...@@ -90,14 +90,16 @@ SensorDataContract data1 = new SensorDataContract
Quantity = "Temperature", Quantity = "Temperature",
Value = "16", Value = "16",
Unit = "°C", Unit = "°C",
DataType = "Single" DataType = "Single",
Index = 0
}; };
SensorDataContract data2 = new SensorDataContract SensorDataContract data2 = new SensorDataContract
{ {
Quantity = "Humidity", Quantity = "Humidity",
Value = "31", Value = "31",
Unit = "%", Unit = "%",
DataType = "Single" DataType = "Single",
Index = 1
}; };
SensorDataContract[] sensorDataContracts = new SensorDataContract[] { data1, data2 }; SensorDataContract[] sensorDataContracts = new SensorDataContract[] { data1, data2 };
...@@ -141,14 +143,16 @@ SensorDataContract data1 = new SensorDataContract ...@@ -141,14 +143,16 @@ SensorDataContract data1 = new SensorDataContract
Quantity = "Temperature", Quantity = "Temperature",
Value = "16", Value = "16",
Unit = "°C", Unit = "°C",
DataType = "Single" DataType = "Single",
Index = 0
}; };
SensorDataContract data2 = new SensorDataContract SensorDataContract data2 = new SensorDataContract
{ {
Quantity = "Humidity", Quantity = "Humidity",
Value = "31", Value = "31",
Unit = "%", Unit = "%",
DataType = "Single" DataType = "Single",
Index = 1
}; };
SensorDataContract data3 = new SensorDataContract SensorDataContract data3 = new SensorDataContract
{ {
...@@ -156,7 +160,8 @@ SensorDataContract data3 = new SensorDataContract ...@@ -156,7 +160,8 @@ SensorDataContract data3 = new SensorDataContract
Timestamp = 1614599484673, Timestamp = 1614599484673,
Value = "800", Value = "800",
DataType = "Int32", DataType = "Int32",
Unit = "unit" Unit = "unit",
Index = 2
}; };
SensorDataContract[] sensorDataContracts = new SensorDataContract[] { data1, data2, data3 }; SensorDataContract[] sensorDataContracts = new SensorDataContract[] { data1, data2, data3 };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment