Argox PA-20 Programming Guide Uživatelský manuál Strana 100

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 130
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 99
PT-20 Programming Guide
98
Description
This function can get power on status for resume or restart.
Returns
0:Resume
1:Restart
SetAutoPWOff
Purpose
Set auto power off timer.
Syntax
void SetAutoPWOff(int slTimer);
Example call
SetAutoPWOff(0);//Always on
Includes
#include “SDK.h ”
Description
This function can set auto power off timer. The range is from 30 to
65535(s),
If the value is 0, that means always on.
Returns
None
GetAutoPWOff
Purpose
Get auto power off timer.
Syntax
int GetAutoPWOff(void);
Example call
int slAPO;
slAPO = GetAutoPWOff( );
Includes
#include “SDK.h ”
Description
This function can get auto power off timer.
Returns
Auto power off timer(s).
SetStatusBAR
Purpose
Set statusbar display/no display.
Syntax
void SetStatusBAR(int slStatus);
Example call
SetStatusBAR(TRUE);//Statusbar on.
Includes
#include “SDK.h ”
Description
This function can set statusbar display or on display.
If use this function, all of the TextBlock setting will be reset.
Returns
None.
GetStatausBAR
Purpose
Get statusbar display status.
Syntax
int GetStatusBAR(void);
Example call
if (GetStatusBAR())
_printf_color(COLOR_BLACK, “Statusbar on”);
Includes
#include “SDK.h ”
Description
This function can get statusbar display status.
Returns
TRUE: Statusbar display
FALSE: Statusbar no display
SN_Get
Zobrazit stránku 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 129 130

Komentáře k této Příručce

Žádné komentáře