1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef _WS_COMMON_INC_H_
- #define _WS_COMMON_INC_H_
- namespace YA
- {
- const int MIN_SEND_INTERVAL = 2;
-
- struct _THREAD_CONFIG_
- {
- int SendInterval;
- void Clear()
- {
- SendInterval = 0;
- }
- _THREAD_CONFIG_()
- {
- Clear();
- }
- };
-
- struct _CARD_POS_
- {
- int Type;
- int ID;
- double x;
- double y;
- double z;
- double speed;
- int stat;
- void Clear()
- {
- Type = 0;
- ID = 0;
- x = 0.0;
- y = 0.0;
- z = 0.0;
- speed = 0;
- stat = 0;
- }
- _CARD_POS_()
- {
- Clear();
- }
- };
- }
- #endif
|