/****************************************************************************/
/* Copyright 2010 MBARI.                                                    */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/

#ifndef ACTIONS_H
#define ACTIONS_H

/* Root commands */
int actGetCmd(char* s);
int actSetCmd(char* s);
int actClrCmd(char* s);
int actResetCmd(char* s);
int actHelloKittyCmd(char* s);

int actSpi2TestCmd(char* s);
                                                
/* Get commands */
int actGetCardInfoCmd(char* s);
int actGetDinCmd(char* s);
int actGetDoutCmd(char* s);
int actGetSpiStatsCmd(char* s);
int actGetBrkrState(char* s);
int actGetRelayState(char* s);
int actGetConditions(char* s);

/* Set commands */
int actSetStubCmd(char* s);
int actSetDoutCmd(char* s);
int actSetCSAddCmd(char* s);
int actSetOC1Cmd(char* s);
int actSetOV1Cmd(char* s);
int actSetUV1Cmd(char* s);
int actSetOC2Cmd(char* s);
int actSetOV2Cmd(char* s);
int actSetUV2Cmd(char* s);
int actSetRelayOn(char* s);
int actSetRelayOff(char* s);
int actSetBrkrReset(char* s);
int actSetWiper3(char* s);

/* Clear commands */
int actClrSpiStatsCmd(char* s);
int actClrDoutCmd(char* s);

/* Environ Commands */
void CSAddSet(int address);

int Round(float myfloat);

#endif
