/** @internal function indexes to call on the server All set functions with argument -1 work as get, when possible */ #ifndef SLS_DETECTOR_FUNCS_H #define SLS_DETECTOR_FUNCS_H enum { // General purpose functions F_EXEC_COMMAND=0, /**< command is executed */ F_GET_ERROR, /**< return detector error status */ // configuration functions F_GET_DETECTOR_TYPE, /**< return detector type */ F_SET_NUMBER_OF_MODULES, /**< set/get number of installed modules */ F_GET_MAX_NUMBER_OF_MODULES, /**< get maximum number of installed modules */ F_SET_EXTERNAL_SIGNAL_FLAG, /**< set/get flag for external signal */ F_SET_EXTERNAL_COMMUNICATION_MODE, /**< set/get external communication mode (obsolete) */ // Tests and identification F_GET_ID, /**< get detector id of version */ F_DIGITAL_TEST, /**< digital test of the detector */ F_ANALOG_TEST, /**