/*
 * msp_DH_W_H.h
 *
 *  Created on: 2023年12月26日
 *      Author: Administrator
 */

#ifndef INC_MSP_MSP_DH_W_H_H_
#define INC_MSP_MSP_DH_W_H_H_

#include "BSP/bsp_include.h"

typedef struct
 {
  int32_t Heart_Beat;
  int32_t For_Back_Value_X;
  int32_t Left_Right_Value_Y;

  int8_t for_flag;
  int8_t back_flag;
  int8_t left_flag;
  int8_t right_flag;
  int8_t stop_flag;

  int32_t Rise_down_X;
  int32_t Turn_Left_Right_Y;

  int32_t EMERGENCY_STOP;

  int32_t Horizontal_working;
  int32_t Vertical_working;

  int32_t Vertical_change_road_up;
  int32_t Vertical_change_road_up1_down2_close0;
  int32_t working_start1_stop2;
  int32_t Vertical_change_road_down;
  int32_t Vertical_change_road_finish_flag;
  int32_t Allow_execute_again;

  int32_t Horizontal_change_road_left;
  int32_t Horizontal_change_road_right;
  int32_t Horizontal_change_road_finish_flag;

  int32_t test_start;
  int32_t test_stop;

  int32_t open;
  int32_t close;

  int32_t reserve1;
  int32_t reserve2;

  int32_t side1;
  int32_t side2;
  int32_t side3;
  int32_t side4;

  int8_t motor_speed_level;
  int32_t motor_speed_value;

  uint8_t Left_compensation;
  uint8_t Right_compensation;

  uint8_t Open_Up1_Down2;

  uint8_t test_start1_stop0;


 }SP_MSP_DH_Handset_Parameters;





uint8_t GF_MSP_DH_Wash_H_Init();
void GF_MSP_DH_Stu_Inquiry();
void GF_MSP_DH_Stu_Screen();
void change_road_up(void);
void change_road_down(void);

#endif /* INC_MSP_MSP_DH_W_H_H_ */
