AMX NI-3100 Especificações Página 156

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 160
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 155
Appendix B: Clock Manager NetLinx Programming API
146
NetLinx Integrated Controllers- WebConsole & Programming Guide (FMv3)
NetLinx.axi - Library Calls (Cont.)
CLKMGR_SET_DAYLIGHTSAVINGS_OFFSET
(CONSTANT CLKMGR_TIMEOFFSET_STRUCT T)
Sets the Daylight Savings Offset to the specified value.
CLKMGR_GET_ACTIVE_TIMESERVER
(CLKMGR_TIMESERVER_STRUCT T)
Populates the TIMESERVER structure with the cur-
rently active time server's data.
The function returns a negative SLONG value if it
encounters an error.
CLKMGR_SET_ACTIVE_TIMESERVER
(CONSTANT CHAR IP[])
Sets the time server entry that has the matching
IP-ADDRESS to the IP parameter as the active time
server entry.
CLKMGR_GET_TIMESERVERS
(CLKMGR_TIMESERVER_STRUCT T[])
Populates the currently configured time server entries
from the Clock Manager into the specified
TIMESERVER array.
The function returns a negative SLONG value if it
encounters an error, otherwise the return value is set to
the number of records populated into the
CLKMGR_TIMESERVER_STRUCT array.
CLKMGR_ADD_USERDEFINED_TIMESERVER
(CONSTANT CHAR IP[], CONSTANT CHAR URL[],
CONSTANT CHAR LOCATION[])
Adds a user-defined time server entry.
CLKMGR_DELETE_USERDEFINED_TIMESERVER
(CONSTANT CHAR IP[])
Deletes the user-defined entry that has its IP-
ADDRESS matching the parameter.
CLKMGR_GET_START_DAYLIGHTSAVINGS_RULE()
Gets a string representation of when Daylight Savings is
supposed to START.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
with all fields as numeric except for the word "fixed".
The Occurrence-Of-Day rules have the form:
"occurence:OCCURENCE,
DAY-OF-WEEK,MONTH,HH:MM:SS"
with all fields as numeric except for the word
"occurence".
OCCURANCE range = 1-5
’5’ indicates the 'LAST' occurrence of a particular day
of the month.
DAY-OF-WEEK translates as:
1=Sunday
2=Monday
3=Tuesday
4=Wednsday
5=Thursday
6=Friday
7=Saturday
Examples:
"fixed:5,10,16:00:00" = October 5, at 4:00PM).
"occurence:5,1,10,02:00:00" = last Sunday in October,
at 2:00AM).
Vista de página 155
1 2 ... 151 152 153 154 155 156 157 158 159 160

Comentários a estes Manuais

Sem comentários