www.pudn.com > crestroncontrol.rar > S2_a.h, change:2006-09-30,size:941b


#ifndef __S2_A_H__ 
#define __S2_A_H__ 
 
 
/* 
* DIGITAL_INPUT 
*/ 
#define __S2_a_UP_P_DIG_INPUT 0 
#define __S2_a_STOP_P_DIG_INPUT 1 
#define __S2_a_DOWN_P_DIG_INPUT 2 
 
 
/* 
* ANALOG_INPUT 
*/ 
#define __S2_a_I_ANALOG_INPUT 0 
 
 
 
 
/* 
* DIGITAL_OUTPUT 
*/ 
 
 
/* 
* ANALOG_OUTPUT 
*/ 
 
#define __S2_a_COMMAND_STRING_OUTPUT 0 
 
 
 
 
/* 
* INTEGER 
*/ 
CREATE_INTARRAY1D( S2_a, __X, 4 );; 
 
 
/* 
* LONG_INTEGER 
*/ 
 
 
/* 
* SIGNED_INTEGER 
*/ 
 
 
/* 
* SIGNED_LONG_INTEGER 
*/ 
 
 
/* 
* STRING 
*/ 
#define __S2_a_A_STRING_MAX_LEN 20 
CREATE_STRING_STRUCT( S2_a, __A, __S2_a_A_STRING_MAX_LEN ); 
 
/* 
* STRUCTURE 
*/ 
 
START_GLOBAL_VAR_STRUCT( S2_a ) 
{ 
   void* InstancePtr; 
   struct GenericOutputString_s sGenericOutStr; 
   unsigned short LastModifiedArrayIndex; 
 
}; 
 
START_NVRAM_VAR_STRUCT( S2_a ) 
{ 
   DECLARE_STRING_STRUCT( S2_a, __A ); 
   DECLARE_INTARRAY( S2_a, __X ); 
}; 
 
 
 
#endif //__S2_A_H__