wrapstruct.go 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. package main
  2. import (
  3. "time"
  4. )
  5. type tagMwBasicDeviceInfo struct {
  6. Manufacturer string /**< 厂商 */
  7. DeviceModel string /**< 设备类型 */
  8. SerialNumber string /**< 设备序列号 */
  9. DeviceMAC string /**< 设备MAC地址 */
  10. FirmwareVersion string /**< 软件版本, program 版本 */
  11. HardwareID string /**< 硬件标识 */
  12. PCBVersion string /**< PCB版本 */
  13. UbootVersion string /**< UBOOT引导版本 */
  14. }
  15. type tagVehicleInfo struct {
  16. VehiclePlate string //车牌
  17. VehicleType int8 //车辆类型
  18. VehicleColor byte //车身颜色
  19. VehicleSpeed int //车辆速度
  20. PassTime time.Time //经过时刻:YYYYMMDDHHMMSS, 时间按24小时制
  21. PlaceName string //地点名称
  22. VehicleDirection int8 //行使方向
  23. LaneID int8 //车道编号:从1开始, 车辆行驶方向最左车道为1,由左向右顺序编号
  24. LaneType int8 //车道类型:0-机动车道,1-非机动车道
  25. CamID string //设备编号:采集设备统一编号或卡口相机编码, 不可为空
  26. TollgateID string //卡口编号:产生该信息的卡口代码
  27. IdentifyStatus int8 //识别状态
  28. StreamHandle int //
  29. }