Jelajahi Sumber

修改EndpointHealth的timeOfSample

locky 1 tahun lalu
induk
melakukan
3a984835b3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      controller/deviceStatus.py

+ 1 - 1
controller/deviceStatus.py

@@ -598,7 +598,7 @@ class deviceStatus(TemplateView):
                         "value": {
                             "value": endpoint_health_value
                         },
-                        "timeOfSample": "2017-02-03T16:20:50.52Z",
+                        "timeOfSample": time_of_sample,
                         "uncertaintyInMilliseconds": 0
                     }
                 )