aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Emulations/Emulators
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-23 03:13:09 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-23 03:13:09 +0300
commit8d2b13aaa70bc6a8f521df4eab165caf078c33fa (patch)
tree325567b00d55fa751da7492be067e7878b132e28 /Software/Visual_Studio/Tango.Emulations/Emulators
parenta79900d579ae9f624b35aa933784e4e0f0c65d03 (diff)
downloadTango-8d2b13aaa70bc6a8f521df4eab165caf078c33fa.tar.gz
Tango-8d2b13aaa70bc6a8f521df4eab165caf078c33fa.zip
DataStore Improvements.
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations/Emulators')
-rw-r--r--Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs
index f8682dd18..05752c378 100644
--- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs
+++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs
@@ -1786,9 +1786,9 @@ namespace Tango.Emulations.Emulators
var response = await Transporter.SendRequest<PutDataStoreItemRequest, PutDataStoreItemResponse>(new PutDataStoreItemRequest()
{
Collection = "TEST",
+ Key = "int",
Item = new PMR.DataStore.DataStoreItem()
{
- Key = "int",
DataType = DataType.Int32,
Int32Value = 100
}
@@ -1826,9 +1826,9 @@ namespace Tango.Emulations.Emulators
var response = await Transporter.SendRequest<PutDataStoreItemRequest, PutDataStoreItemResponse>(new PutDataStoreItemRequest()
{
Collection = "TEST",
+ Key = "float",
Item = new PMR.DataStore.DataStoreItem()
{
- Key = "float",
DataType = DataType.Float,
FloatValue = 101f
}
@@ -1866,9 +1866,9 @@ namespace Tango.Emulations.Emulators
var response = await Transporter.SendRequest<PutDataStoreItemRequest, PutDataStoreItemResponse>(new PutDataStoreItemRequest()
{
Collection = "TEST",
+ Key = "double",
Item = new PMR.DataStore.DataStoreItem()
{
- Key = "double",
DataType = DataType.Double,
DoubleValue = 102d
}
@@ -1906,9 +1906,9 @@ namespace Tango.Emulations.Emulators
var response = await Transporter.SendRequest<PutDataStoreItemRequest, PutDataStoreItemResponse>(new PutDataStoreItemRequest()
{
Collection = "TEST",
+ Key = "bool",
Item = new PMR.DataStore.DataStoreItem()
{
- Key = "bool",
DataType = DataType.Boolean,
BooleanValue = true
}
@@ -1946,9 +1946,9 @@ namespace Tango.Emulations.Emulators
var response = await Transporter.SendRequest<PutDataStoreItemRequest, PutDataStoreItemResponse>(new PutDataStoreItemRequest()
{
Collection = "TEST",
+ Key = "string",
Item = new PMR.DataStore.DataStoreItem()
{
- Key = "string",
DataType = DataType.String,
StringValue = "String Value"
}
@@ -1986,9 +1986,9 @@ namespace Tango.Emulations.Emulators
var response = await Transporter.SendRequest<PutDataStoreItemRequest, PutDataStoreItemResponse>(new PutDataStoreItemRequest()
{
Collection = "TEST",
+ Key = "bytes",
Item = new PMR.DataStore.DataStoreItem()
{
- Key = "bytes",
DataType = DataType.Bytes,
BytesValue = ByteString.CopyFromUtf8("Bytes TEST TEST TEST"),
}