ReinitDevice_SvcAppHook.BACnetEventCallback (METH) ¶ METHOD BACnetEventCallback : BOOL Hook callback for IEC_BACNET_CB_TYPE.CB_REINIT_DEV InOut: Scope Name Type Comment Return BACnetEventCallback BOOL Input EventId DWORD If only one event is possibly called, the following Ids can be ignored. If there are more at least the EventId should be checked, to get the right type of pParameter. ID of the occured Event. Contains the class and the event (see CmpBACnet.EVENTIDS) usParamId WORD Id of the parameter structure (see pParameter and CmpBACnet.EVENTIDS) usVersion WORD Version of the parameter structure (see pParameter and CmpBACnet.EVENTIDS) pParameter POINTER TO BYTE Pointer to the event specific parameter, that is specified by Id (see CmpBACnet.EVENTIDS and CmpBACnet, i.e. EVT_BACNET_ACKALARM)
ClientCreatableObjects.Init (METH) ¶ METHOD Init
ClientCreatableObjects.Name (PROP) ¶ PROPERTY Name : STRING
ClientCreatableObjects.NumHooks (PROP) ¶ PROPERTY NumHooks : UINT
ClientCreatableObjects.PreRegister (METH) ¶ METHOD PreRegister : UDINT InOut: Scope Name Type Return PreRegister UDINT Input itfServer BACnet.IBACnetServer
ClientCreatableObjects.SetMaxNum (METH) ¶ METHOD SetMaxNum : BOOL Sets the maximum number of client creatable objects of given type. InOut: Scope Name Type Comment Return SetMaxNum BOOL Input objType CmpBACnet.IEC_BACNET_OBJECT_TYPE object type, actually supported OBJ_ANALOG_INPUT := 0 .. OBJ_LIGHTING_OUTPUT := 54 maxNum DINT maximum number of client creatable objects of given type, -1 => no limits, 0 => not allowed
DCC_SvcAppHook (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL DCC_SvcAppHook EXTENDS BACnet.BACnetServerPluginBase IMPLEMENTS BACnet.IBACnetEventConsumer Default implementation for DeviceCommunicationControl service application hook Needs to be called cyclically to ensure DCC restauration after timed DCC request. Properties: Name NumHooks Password Methods: BACnetEventCallback GetHook Init Structure: BACnetEventCallback (Method) GetHook (Method) Init (Method) Name (Property) NumHooks (Property) Password (Property)
DCC_SvcAppHook.BACnetEventCallback (METH) ¶ METHOD BACnetEventCallback : BOOL Hook callback for IEC_BACNET_CB_TYPE.CB_DCC InOut: Scope Name Type Comment Return BACnetEventCallback BOOL Input EventId DWORD If only one event is possibly called, the following Ids can be ignored. If there are more at least the EventId should be checked, to get the right type of pParameter. ID of the occured Event. Contains the class and the event (see CmpBACnet.EVENTIDS) usParamId WORD Id of the parameter structure (see pParameter and CmpBACnet.EVENTIDS) usVersion WORD Version of the parameter structure (see pParameter and CmpBACnet.EVENTIDS) pParameter POINTER TO BYTE Pointer to the event specific parameter, that is specified by Id (see CmpBACnet.EVENTIDS and CmpBACnet, i.e. EVT_BACNET_ACKALARM)
DCC_SvcAppHook.GetHook (METH) ¶ METHOD GetHook : BACnet.IBACnetServerPluginHook InOut: Scope Name Type Return GetHook BACnet.IBACnetServerPluginHook Input index UINT
DCC_SvcAppHook.Init (METH) ¶ METHOD Init