web_stepping_request_v1_info.h 925 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. //stl
  3. #include <iostream>
  4. //robotics
  5. #include <robotics/datetime.hpp>
  6. using namespace robotics;
  7. /* ************************************************
  8. * 作者:Lenovo
  9. * 时间:2024/6/3 21:14:08
  10. * 机器名:DESKTOP-4I13MDL
  11. * 实体类名:web_stepping_request_v1_info
  12. * 数据库表名 [[SqlTable("xxx")]]
  13. * 不生成反射 [[NoReflect]]
  14. * Json字段名 [[Json("xxx")]]
  15. * 不生成Json字段 [[NoJson(true)]]
  16. * Sql字段名 [[Sql("xxx")]]
  17. * 不生成Sql字段 [[NoSql(true)]]
  18. * Excel字段名 [[Excel("xxx")]]
  19. * 不生成Excel字段 [[NoExcel(true)]]
  20. * *************************************************/
  21. /**
  22. * @brief 表示网络步进请求的结构体,包含层号和速度信息。
  23. */
  24. struct web_stepping_request_v1_info
  25. {
  26. /**
  27. * @brief 表示层号的整数变量。
  28. */
  29. [[Json("layerNo")]]
  30. int layer_no = 0;
  31. /**
  32. * @brief 表示速度的变量。
  33. */
  34. double speed = 0;
  35. };