/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */

#ifndef PB_MSP_DH_W_H_PB_H_INCLUDED
#define PB_MSP_DH_W_H_PB_H_INCLUDED
#include "pb.h"

#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif

/* Struct definitions */
typedef struct _SP_MSP_DH_Handset_Parameters {
    int32_t For_Back_Value_X;
    int32_t Left_Right_Value_Y;
    int32_t for_flag;
    int32_t back_flag;
    int32_t left_flag;
    int32_t right_flag;
    int32_t Rise_down_X;
    int32_t Turn_Left_Right_Y;
    int32_t EMERGENCY_STOP;
    int32_t working_start;
    int32_t working_stop;
    int32_t Vertical_change_road_up;
    int32_t Vertical_change_road_down;
    int32_t Vertical_change_road_finish_flag;
    int32_t test_start;
    int32_t test_stop;
    int32_t open;
    int32_t close;
    int32_t motor_speed_level;
} SP_MSP_DH_Handset_Parameters;


#ifdef __cplusplus
extern "C" {
#endif

/* Initializer values for message structs */
#define SP_MSP_DH_Handset_Parameters_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
#define SP_MSP_DH_Handset_Parameters_init_zero   {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

/* Field tags (for use in manual encoding/decoding) */
#define SP_MSP_DH_Handset_Parameters_For_Back_Value_X_tag 1
#define SP_MSP_DH_Handset_Parameters_Left_Right_Value_Y_tag 2
#define SP_MSP_DH_Handset_Parameters_for_flag_tag 3
#define SP_MSP_DH_Handset_Parameters_back_flag_tag 4
#define SP_MSP_DH_Handset_Parameters_left_flag_tag 5
#define SP_MSP_DH_Handset_Parameters_right_flag_tag 6
#define SP_MSP_DH_Handset_Parameters_Rise_down_X_tag 7
#define SP_MSP_DH_Handset_Parameters_Turn_Left_Right_Y_tag 8
#define SP_MSP_DH_Handset_Parameters_EMERGENCY_STOP_tag 9
#define SP_MSP_DH_Handset_Parameters_working_start_tag 10
#define SP_MSP_DH_Handset_Parameters_working_stop_tag 11
#define SP_MSP_DH_Handset_Parameters_Vertical_change_road_up_tag 12
#define SP_MSP_DH_Handset_Parameters_Vertical_change_road_down_tag 13
#define SP_MSP_DH_Handset_Parameters_Vertical_change_road_finish_flag_tag 14
#define SP_MSP_DH_Handset_Parameters_test_start_tag 15
#define SP_MSP_DH_Handset_Parameters_test_stop_tag 16
#define SP_MSP_DH_Handset_Parameters_open_tag    17
#define SP_MSP_DH_Handset_Parameters_close_tag   18
#define SP_MSP_DH_Handset_Parameters_motor_speed_level_tag 19

/* Struct field encoding specification for nanopb */
#define SP_MSP_DH_Handset_Parameters_FIELDLIST(X, a) \
X(a, STATIC,   SINGULAR, INT32,    For_Back_Value_X,   1) \
X(a, STATIC,   SINGULAR, INT32,    Left_Right_Value_Y,   2) \
X(a, STATIC,   SINGULAR, INT32,    for_flag,          3) \
X(a, STATIC,   SINGULAR, INT32,    back_flag,         4) \
X(a, STATIC,   SINGULAR, INT32,    left_flag,         5) \
X(a, STATIC,   SINGULAR, INT32,    right_flag,        6) \
X(a, STATIC,   SINGULAR, INT32,    Rise_down_X,       7) \
X(a, STATIC,   SINGULAR, INT32,    Turn_Left_Right_Y,   8) \
X(a, STATIC,   SINGULAR, INT32,    EMERGENCY_STOP,    9) \
X(a, STATIC,   SINGULAR, INT32,    working_start,    10) \
X(a, STATIC,   SINGULAR, INT32,    working_stop,     11) \
X(a, STATIC,   SINGULAR, INT32,    Vertical_change_road_up,  12) \
X(a, STATIC,   SINGULAR, INT32,    Vertical_change_road_down,  13) \
X(a, STATIC,   SINGULAR, INT32,    Vertical_change_road_finish_flag,  14) \
X(a, STATIC,   SINGULAR, INT32,    test_start,       15) \
X(a, STATIC,   SINGULAR, INT32,    test_stop,        16) \
X(a, STATIC,   SINGULAR, INT32,    open,             17) \
X(a, STATIC,   SINGULAR, INT32,    close,            18) \
X(a, STATIC,   SINGULAR, INT32,    motor_speed_level,  19)
#define SP_MSP_DH_Handset_Parameters_CALLBACK NULL
#define SP_MSP_DH_Handset_Parameters_DEFAULT NULL

extern const pb_msgdesc_t SP_MSP_DH_Handset_Parameters_msg;

/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define SP_MSP_DH_Handset_Parameters_fields &SP_MSP_DH_Handset_Parameters_msg

/* Maximum encoded size of messages (where known) */
#define MSP_DH_W_H_PB_H_MAX_SIZE                 SP_MSP_DH_Handset_Parameters_size
#define SP_MSP_DH_Handset_Parameters_size        213

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
