ReinitDevice_SvcAppHook.GetHook (METH) ¶ METHOD GetHook : BACnet.IBACnetServerPluginHook InOut: Scope Name Type Return GetHook BACnet.IBACnetServerPluginHook Input index UINT
ReinitDevice_SvcAppHook.GetTimeZoneFromSystem (METH) ¶ METHOD GetTimeZoneFromSystem : ERROR Gets the timezone from the underlying system. InOut: Scope Name Type Return GetTimeZoneFromSystem ERROR
ReinitDevice_SvcAppHook.Init (METH) ¶ METHOD Init
ReinitDevice_SvcAppHook.Name (PROP) ¶ PROPERTY Name : STRING
ReinitDevice_SvcAppHook.NumHooks (PROP) ¶ PROPERTY NumHooks : UINT
ReinitDevice_SvcAppHook.Password (PROP) ¶ PROPERTY Password : WSTRING
ReinitDevice_SvcAppHook.TimeZone (PROP) ¶ PROPERTY TimeZone : Util.TimeZone Read / write the timezone. See also GetTimeZoneFromSystem and UpdateTimeZoneFromSystem .
ReinitDevice_SvcAppHook.UpdateTimeZoneFromSystem (PROP) ¶ PROPERTY UpdateTimeZoneFromSystem : BOOL Determines whether or not the timezone is updated from the underlying system before each computation involving timezone.
TimeSync_SvcAppHook (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL TimeSync_SvcAppHook EXTENDS BACnet.BACnetServerPluginBase IMPLEMENTS BACnet.IBACnetEventConsumer Default implementation for TimeSynchronization service application hook TimeSync is not without problems, because of onknown timezone of the request itself. Assume we should use the own timezone. Properties: Name NumHooks TimeZone UpdateTimeZoneFromSystem Methods: BACnetEventCallback GetHook GetTimeZoneFromSystem Init Structure: BACnetEventCallback (Method) GetHook (Method) GetTimeZoneFromSystem (Method) Init (Method) Name (Property) NumHooks (Property) TimeZone (Property) UpdateTimeZoneFromSystem (Property)
TimeSync_SvcAppHook.BACnetEventCallback (METH) ¶ METHOD BACnetEventCallback : BOOL Hook callback for IEC_BACNET_CB_TYPE.CB_TIME_SYNC 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)