node-red-contrib-hikvision-ultimate
Advanced tools
Comparing version 1.1.17 to 1.1.18
@@ -284,3 +284,8 @@ | ||
if (element.hasOwnProperty("picName")) { | ||
nCurPicName = BigInt(element.picName); | ||
if (typeof element.picName === 'string') { | ||
nCurPicName = BigInt(element.picName); | ||
} else { | ||
nCurPicName = element.picName; | ||
} | ||
if (nCurPicName > nMostRecent) nMostRecent = nCurPicName; | ||
@@ -300,3 +305,3 @@ } | ||
try { | ||
sRet = _PlatesObject.Plates.Plate.picName; | ||
sRet = _PlatesObject.Plates.Plate.picName.toString(); | ||
if (_updateNodeStatusText) node.setAllClientsStatus({ fill: "grey", shape: "ring", text: "Found 1 ignored plates. It's " + sRet }); | ||
@@ -303,0 +308,0 @@ } catch (error) { |
{ | ||
"name": "node-red-contrib-hikvision-ultimate", | ||
"version": "1.1.17", | ||
"version": "1.1.18", | ||
"description": "A native set of nodes for Hikvision (and compatible) Cameras, Alarms, Radars, NVR, Doorbells, etc.", | ||
@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)", |
Sorry, the diff of this file is not supported yet
4931714
93
5284
7