Download Prototype Software for Automatic Generation of On
Transcript
25 S t r u c t AND type *ANDgtr Pointer t o t h e sensors i n the series The f o l l o w i n g s t r u c t u r e c o n t a i n s t h e s e n s o r names f o r a s p e c i f i e d s e r i e s Typedef s t r u c t AND type C h a r name [NAME-SIZE1 C h a r deSC [DESC SIZE] S t r u c t AND t y p e *next S t r u c t m - t y p e *prev C h a r s e n s o r name [NAME SIZE] Char sensor-cond [CONDSIZEI - - - - Char assoc res nameCNAME SIZE] DBBUILD s t r u c t u r e name n o t used Sensor name The s t a t e of t h e s e n s o r a c t i v a t e d h o t activated n o t used II.2.3 Actuator Records The actuator record is defined as follows: Typedef s t r u c t a c t u a t o r Char name [NAME SIZE] Char desc CDESC-SIZE] S t r u c t motion s t r u c t - I n t wire num S t r u c t a z t u a t o r *next S t r u c t a c t u a t o r *prev I n t num-assoc-op S t r u c t assoc-op Actuator s t r u c t u r e Name of t h e a c t u a t o r Actuate s d e s c r i pt i o n Indicates different actuator/ mot i o n s Actual wire number Number of o p e r a t i o n i n which a c t u a t o r is used P o i n t s t o an o p e r a t i o n The f o l l o w i n g s t r u c t u r e holds information on t h e o p e r a t i o n s i n which t h e a c t u a t o r i s used: Typedef s t r u c t assoc-op Char Char Char Char name [NAME SIZE] de sc [DESC-S IZE] op n a m e C N k SIZE] a c t-l i s t [NAME- SIZE] - S t r u c t assoc op *next S t r u c t assoc-oD *Drev Name of t h e o p e r a t i o n N o t used