wrapstruct.go 1.2 KB

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