
SetMax
Descrizione
Lettura
Scrittura
Salvato
Imposta il valore massimo consentito
per un registro
×
Guest
×
Questa funzione definisce il valore massimo di un registro.
Sintassi:
Setmax(<register>)=<expression>
<register>
Nome del registro.
<expression> Espressione aritmetica: può essere un numero, un
registro, o una combinazione di entrambi.
Avvertenza:
non immettere spazi vuoti all’interno
dell’espressione aritmetica, poiché potrebbero condurre
a risultati erronei.
Si consiglia di leggere il capitolo Espressioni, Registri e Funzioni per
un’accurata descrizione dei registri e delle espressioni aritmetiche.
Nota:
Se il registro con il nome dato non è già stato definito prima
dell’esecuzione di “SetMax”, questo registro viene creato e ad esso
viene assegnato il valore più basso tra “0” e il massimo dato.
Esempio consolle:
> SetMax(Address)=10
↵
> Set(Address)=200
↵
> Eval(Address)
↵
10
> _
SetMin
Descrizione
Lettura
Scrittura
Salvato
Imposta il valore minimo consentito
per un registro
×
Guest
×
Questa funzione definisce il valore minimo di un registro.
Sintassi:
Setmin(<register>)=<expression>
<register>
Nome del registro.
<expression> Espressione aritmetica: può essere un numero, un
registro, o una combinazione di entrambi.
Avvertenza:
non immettere spazi vuoti all’interno
dell’espressione aritmetica, poiché potrebbero condurre
a risultati erronei.
Si consiglia di leggere il capitolo Espressioni, Registri e Funzioni per
un’accurata descrizione dei registri e delle espressioni aritmetiche.
Nota:
Se il registro con il nome dato non è già stato definito prima
dell’esecuzione di “SetMin”, questo registro viene creato e ad esso
viene assegnato il valore più alto tra “0” e il minimo dato.
Esempio consolle:
> SetMin(Address)=20
↵
> Set(Address)=7
↵
> Eval(Address)
↵
20
> _
SNMPSyscont
Descrizione
Lettura
Scrittura
Salvato
Ottiene/imposta l’SNMP System Contact
√
Administrator
√
Visualizza o modifica l’SNMP System Contac Namet.
Si veda il capitolo Protocollo SNMP per WebGate per la descrizione
dell’SNMP.
Questa stringa viene utilizzata dai Manager SNMP.
Sintassi (lettura):
SNMPSyscont
Valore restituito in lettura:
<name>
Dove <name> è il nome del system contact
SetMax
Description
Read
Write
Saved
Set the maximum allowed value for
a register
×
Guest
×
This function defines a maximum value for a register.
Syntax:
Setmax(<register>)=<expression>
<register> Register
name.
<expression> Arithmetic expression: it may be a number, register, or
a combination of the two.
Warning:
do not insert blanks inside arithmetic
expressions, because they could cause wrong results.
Please see chapter About Expressions, Registers and Functions for an
accurate description of registers and arithmetic expressions.
Note:
If a register with the given name was not already defined when
“SetMax” is called the register itself is created, and the lowest value
between “0” and the given maximum is assigned to it.
Console example:
> SetMax(Address)=10
↵
> Set(Address)=200
↵
> Eval(Address)
↵
10
> _
SetMin
Description
Read
Write
Saved
Set the minimum allowed value for
a register
×
Guest
×
This function defines a minimum value for a register.
Syntax:
Setmin(<register>)=<expression>
<register> Register
name.
<expression> Arithmetic expression: it may be a number, register, or a
combination of the two.
Warning:
do not insert blanks inside arithmetic
expressions, because they could cause wrong results.
Please see chapter About Expressions, Registers and Functions for an
accurate description of registers and arithmetic expressions.
Note:
If a register with the given name was not already defined when
“SetMin” is called the register itself is created, and the greatest value
between “0” and the given minimum is assigned to it.
Console example:
> SetMin(Address)=20
↵
> Set(Address)=7
↵
> Eval(Address)
↵
20
> _
SNMPSyscont
Description
Read
Write
Saved
Get/set the SNMP System Contact
√
Administrator
√
Displays or changes the SNMP System Contact Name.
Please see chapter WebGate SNMP Protocol for a description of
SNMP.
This string is used from SNMP Managers.
Syntax (read):
SNMPSyscont
Returned value for read:
<name>
Where <name> is the system name
70
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003