diff --git a/projects/IoT.Shared/Application/Domain/Entities/Device.cs b/projects/IoT.Shared/Application/Domain/Entities/Device.cs index 1663771e..167f34f3 100644 --- a/projects/IoT.Shared/Application/Domain/Entities/Device.cs +++ b/projects/IoT.Shared/Application/Domain/Entities/Device.cs @@ -95,6 +95,7 @@ namespace Application.Domain.Entities else { oldData.Value = data.Value; + oldData.Description = data.Description; } return oldData; } diff --git a/projects/IoTCenter/iotcenter.db b/projects/IoTCenter/iotcenter.db index 53c942d4..04f99daa 100644 Binary files a/projects/IoTCenter/iotcenter.db and b/projects/IoTCenter/iotcenter.db differ diff --git a/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js b/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js index 897672c6..7aff10fb 100644 --- a/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js +++ b/projects/IoTClient/Assets/StreamingAssets/wwwroot/js/node.js @@ -449,9 +449,6 @@ function init() { }, SendCode1(event) { console.log(event.target + ',' + event.type + ',' + event.target.checked); - if (event.type == 'change') { - return; - } var form = $(event.target).parents('form'); var url = form.attr('action') + '?' + form.serialize(); if (form.hasClass('type1')) { diff --git a/projects/IoTNode/iotnode.db b/projects/IoTNode/iotnode.db index 83a51716..fc91705c 100644 Binary files a/projects/IoTNode/iotnode.db and b/projects/IoTNode/iotnode.db differ