diff --git a/.vs/IoTGateway/DesignTimeBuild/.dtbcache.v2 b/.vs/IoTGateway/DesignTimeBuild/.dtbcache.v2 index 9b904c7..b794b70 100644 Binary files a/.vs/IoTGateway/DesignTimeBuild/.dtbcache.v2 and b/.vs/IoTGateway/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/IoTGateway/v17/.futdcache.v1 b/.vs/IoTGateway/v17/.futdcache.v1 index 9b4eb9f..25b50c4 100644 Binary files a/.vs/IoTGateway/v17/.futdcache.v1 and b/.vs/IoTGateway/v17/.futdcache.v1 differ diff --git a/.vs/IoTGateway/v17/.suo b/.vs/IoTGateway/v17/.suo index dc82b2e..99d07c2 100644 Binary files a/.vs/IoTGateway/v17/.suo and b/.vs/IoTGateway/v17/.suo differ diff --git a/.vs/IoTGateway/v17/fileList.bin b/.vs/IoTGateway/v17/fileList.bin index c86d8a3..84e1bee 100644 Binary files a/.vs/IoTGateway/v17/fileList.bin and b/.vs/IoTGateway/v17/fileList.bin differ diff --git a/IoTGateway/Areas/BasicData/Views/DeviceVariable/Index.cshtml b/IoTGateway/Areas/BasicData/Views/DeviceVariable/Index.cshtml index f5760bf..58b1f72 100644 --- a/IoTGateway/Areas/BasicData/Views/DeviceVariable/Index.cshtml +++ b/IoTGateway/Areas/BasicData/Views/DeviceVariable/Index.cshtml @@ -36,11 +36,23 @@ client.on('message', function (topic, message) { var objmsg = $.parseJSON(message.toString()); $('#id' + objmsg.VarId + '_Value').text(objmsg.Value); - //$('#id' + objmsg.VarId + '_Value').addClass('fadeIn animated'); + $('#id' + objmsg.VarId + '_Value').addClass('animated bounce'); + setTimeout(function(){ + $('#id' + objmsg.VarId + '_Value').removeClass('bounce'); + }, 500); + $('#id' + objmsg.VarId + '_CookedValue').text(objmsg.CookedValue); - //$('#id' + objmsg.VarId + '_CookedValue').addClass('fadeIn animated'); + $('#id' + objmsg.VarId + '_CookedValue').addClass('animated bounce'); + setTimeout(function(){ + $('#id' + objmsg.VarId + '_CookedValue').removeClass('bounce'); + }, 500); $('#id' + objmsg.VarId + '_StatusType').text(objmsg.StatusType); - //$('#id' + objmsg.VarId + '_StatusType').addClass('fadeIn animated'); + $('#id' + objmsg.VarId + '_StatusType').addClass('animated bounce'); + + setTimeout(function(){ + $('#id' + objmsg.VarId + '_StatusType').removeClass('bounce'); + }, 500); + //$('#id' + objmsg.VarId + '_Value').addClass('fadeIn animated'); }) } \ No newline at end of file