Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The GetEventDescription method is in use for receiving the object description on free language.

Syntax of method invocation:

function  GetEventDescription (obj_type : String, event : String)

Method arguments:

  1. obj_type – required argument. Specifies type of system object description of which is required to get.
  2. event – required argument. Specifies the name of object description of which is required to get.

Example. Display messages about receiving of events for camera 1 on the free language in the Debug window.

if (Event.SourceType == "CAM"&& Event.SourceId == "1")
{
	var str = GetEventDescription("CAM", Event.Action);
	DebugLogString(str);
}
  • No labels