12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #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;
- void Clear()
- {
- Type = 0;
- ID = 0;
- x = 0.0;
- y = 0.0;
- z = 0.0;
- }
- _CARD_POS_()
- {
- Clear();
- }
- };
- }
- #endif
|