tatus 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. diff --git a/YAServerDlg.cpp b/YAServerDlg.cpp
  2. index b3b837a..3444397 100644
  3. --- a/YAServerDlg.cpp
  4. +++ b/YAServerDlg.cpp
  5. @@ -12868,6 +12868,10 @@ void CYAServerDlg::parse_data_server( const BYTE * pData, int nLen, CONNID dwCon
  6. LOCATION_SYSTEM_BRANCH(LOCATION_SYSTEM_BRANCH_98);
  7. send_tcp_thread_message(data);
  8. }
  9. + else
  10. + {
  11. + LOCATION_SYSTEM_BRANCH(LOCATION_SYSTEM_BRANCH_273);
  12. + }
  13. read_length += pkg_len;
  14. }
  15. 
  16. @@ -16526,13 +16530,13 @@ void CYAServerDlg::change_monkeycar_index()
  17. card->m_MonkeyCarIndex++;
  18. if (card->m_MonkeyCarIndex >= card->getPointSize())
  19. {
  20. - card->m_MonkeyCarIndex = card->getPointSize();
  21. + card->m_MonkeyCarIndex = card->getPointSize()-1;
  22. }
  23. }
  24. else if(POSTIVE_DIRECTION == card->m_direction)
  25. {
  26. card->m_MonkeyCarIndex--;
  27. - if (card->m_MonkeyCarIndex == 0)
  28. + if (card->m_MonkeyCarIndex <= 0)
  29. {
  30. card->m_MonkeyCarIndex = 0;
  31. }
  32. diff --git a/system_basic_info/SystemAnalysis.h b/system_basic_info/SystemAnalysis.h
  33. index 8b56e69..8e28b72 100644
  34. --- a/system_basic_info/SystemAnalysis.h
  35. +++ b/system_basic_info/SystemAnalysis.h
  36. @@ -278,7 +278,7 @@ typedef enum StationSyncBasicBranch
  37. LOCATION_SYSTEM_BRANCH_270, //used
  38. LOCATION_SYSTEM_BRANCH_271, //used
  39. LOCATION_SYSTEM_BRANCH_272, //used
  40. - LOCATION_SYSTEM_BRANCH_273,
  41. + LOCATION_SYSTEM_BRANCH_273, //used
  42. LOCATION_SYSTEM_BRANCH_274,
  43. LOCATION_SYSTEM_BRANCH_275,
  44. LOCATION_SYSTEM_BRANCH_276,