In the demo access control plugin (see: DemoAccessControlPlugin project) what does the “DoorControllerDescriptor” object represent? This class is referenced in TypeConverter.cs.
Have you seen - [C:\Program](file:C:/Program) Files\Milestone\MIPSDK\PluginSamples\DemoAccessControlPlugin\Service References\DemoApplicationService\Reference.cs ?
If it does not answer your question, let me know..
Thanks Bo I have seen the class definition for DoorControllerDescriptor.
There are 2 main fields:
private System.Guid DoorControllerIdField;
private string DoorControllerNameField;
My best guess for what the Door Controller object represents is the system control processor unit (SCP), this is the computer that is used to open/close doors and perform other access control functions. Does that sound correct?
For now I have created a single (dummy) Door Controller and made that the parent for all doors. I do not want to expose any events that are raised by the door controller at this time - I am hoping that this will be OK. Let me know if you see any issues with this approach. Thanks,
-Lou
Hi Lou,
DoorControllerDescriptor class exposes two properties as you pointed out: DoorControllerId and DoorControllerName.
DoorControllerId - unique id (Guid) representing this object
DoorControllerName - name (string) that will be visible in the UI (in the Smart Client for example)
In a nutshell, door controller is a unit, like any other, that can contain other units (for example doors). This can, for example, help you group your doors based on what part of the building are they part of.
Back to your specific case, putting all the doors under the single door controller is a valid approach. If you need to make this more fine-grained in the future, you can introduce new controllers.
Regarding the door commands, have a look at the CommandTypes class in the DemoAccessControlPlugin. That might give you an idea how commands are to be introduced.
Hope this answers your question. Let us know if need to elaborate more on anything. In any case, our documentation page can also give you useful insights:
http://doc.developer.milestonesys.com
Have a great day!
Best regards,
Milos
Milos, thank you for the information, it’s very helpful.
-Lou