trick/test/SIM_test_dp/models/dp/include/dp.h

45 lines
1012 B
C
Raw Normal View History

2015-02-26 15:02:31 +00:00
/********************************* TRICK HEADER *******************************
PURPOSE: ( Data products test )
2015-02-26 15:02:31 +00:00
REFERENCES: ( None )
ASSUMPTIONS AND LIMITATIONS: ( None )
2015-02-26 15:02:31 +00:00
PROGRAMMERS: ( (Keith Vetter) (Titan) (8-20-2002) )
*******************************************************************************/
#ifndef DP_H
#define DP_H
2015-02-26 15:02:31 +00:00
typedef struct {
short si[3] ; /* ohm -- */
int i[3] ; /* m -- */
2015-02-26 15:02:31 +00:00
long l[3] ; /* amp -- */
float f[3] ; /* m/s2 -- */
double d[3] ; /* kg*m/s2 -- */
2015-02-26 15:02:31 +00:00
unsigned short us[3] ; /* N -- */
unsigned int ui[3] ; /* count -- */
unsigned long ul[3] ; /* V -- */
2015-02-26 15:02:31 +00:00
long long ll[3] ; /* K -- */
} STRUCT_1 ;
typedef struct {
STRUCT_1 s1[2][3] ; /* -- */
} STRUCT_2 ;
typedef struct {
2015-02-26 15:02:31 +00:00
STRUCT_2 s2[3][2] ; /* -- */
} STRUCT_3 ;
2015-02-26 15:02:31 +00:00
typedef struct {
STRUCT_3 s3[2] ; /* -- */
} DP_TEST ;
#endif