SY-7000 SDK Manual Writing the SDK Application
26
CLASS RELAY
This class is responsible to set output relay.
Public methods:
•
Relay ();
•
virtual ~ Relay ();
•
void Set(int index, int state);
Methods description:
void Relay ();
Creator for the Relay class
virtual ~
Relay ();
This is the destructor for Relay class
void Set(int index, int state);
This method is used to set the state of the relay.
Arguments:
int index
index of the relay (value of 1-4)
int state
– new state of the relay (0 – off, 1 – on)
Summary of Contents for SY-7000 SDK
Page 1: ...SY 7000 SDK Manual SYnel Industries LTD...
Page 10: ...IntroductionSY 7000 SDK Manual 10 1 1 3 2Bottom connector panel...
Page 33: ...Writing the SDK ApplicationSY 7000 SDK Manual 33...
Page 37: ...Creating and Loading the Application File to the TerminalSY 7000 SDK Manual 37...
Page 40: ...SY 7000 SDK Manual 40 Step 6 Use the default settings on this screen and click Next...
Page 42: ...SY 7000 SDK Manual 42 Step 8 Select Direct Connection and click Next...
Page 44: ...SY 7000 SDK Manual 44 Step 10 Click the sign next to Devel to expand it...
Page 45: ...SY 7000 SDK Manual 45 Step 11 Under Devel scroll down to gcc...
Page 46: ...SY 7000 SDK Manual 46 Step 12 Select gcc by clicking on the word Skip once...
Page 48: ...SY 7000 SDK Manual 48 Cygwin will now download and install the packages that you selected...
Page 49: ...SY 7000 SDK Manual 49 Step 14 Leave the options checked and click Finish...
Page 51: ...SY 7000 SDK Manual 51...
Page 52: ...SY 7000 SDK Manual 52...
Page 54: ...SY 7000 SDK Manual 45...