Hi All, I hope you can help me.
I am using XProtect Corporate 2025 R2 with Smart Client.
I want to create dynamic Icons on a static site map (I don’t need the functionality of Smart Maps with geo-locations etc.).
I find the available icons you can add to standard maps is very limited (you can’t even add an input as an icon, which you can in Smart Maps).
The functionality I want to create is for a typical perimeter intrusion detection system. I want the site map to have icons (lines) for detection zones, showing the health / status of each zone. Let’s say each alarm zone is 50m in length, I want an icon that is a line covering the 50m of fence. If the zone is healthy, I want the line green, if the zone is in alarm, I want the line flashing red, if the zone is in tamper, I want the line flashing blue. A click of the line should bring up the option to acknowledge the alarm once acknowledged, the alarm sound will stop and the line stops flashing but remains red / blue until the alarm is closed, then goes back to green.
It would be good to link the icon to any alarm source, but I could live with it being linkable to a user defined event and set up rules to use alarm events to trigger the user defined event for each icon using the standard rules engine and alarm definition sections of Management Client.
I’ve never built a MIP plug in before, but figure this is probably where I will have to focus to develop the above functionality.
Any advice or a starting template to achieve the above would be appreciated, or if I’m missing an easy trick, let me know.
Thanks for reading.
Peter.
You can unfortunately only create icons in “icon size and shape”.
This sample shows how you can create custom items to use both in Map and Smart Map.
http s://doc.developer.milestonesys.com/mipsdk/index.html?base=samples%2FPluginSamples%2FSensorMonitor%2FREADME.html&tree=tree_1.html
You can have icons that change depending on state. I hope exploring the sample will clarify what they can do.
Thanks very much Bo, this is great. I will take a look and report back.
Thinking outside the box.
In map you can create a “hot-zone”, this links to another map, end result will be sort of a hierarchy of maps, the feeling is to zoom in closer and closer.
If I create a hot-zone, and in the child map put a controller. If I in the child-map on the controller does “Power off” then it will flash a orange ring and state “not fully operational”. On the parent map the hot-zone will now flash in orange “not fully operational”. My idea is that the hot-zone can be any shape, it could be long and narrow and be put on top of the map where a section of the perimeter is.
My idea is that this could be a workaround.
A word of caution, Milestone are recommending to move to using Smart Maps instead, I found that this workaround is not working the Smart Maps.
My recommendation is that if you think this is worth exploring then you build and apply the Sensor Monitor sample and play with it.
Thanks Bo, I had reached the same conclusion, and had built a working version of the above, coloured opaque green and would flash solid red when the ‘zone’ associated with the hot-spot had a device in alarm, I was disappointed that this is only possible in Maps, and not Smart Maps. I tried to emulate the same behaviour using ‘Buildings’ in Smart Maps, but they don’t behave teh same way as the hot-spots unfortunately. I will try and build a plug-in using Sensor Monitor and report back.