aiApiT

package
v0.0.0-...-d22efa2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Car

type Car struct {
	LogicNum   uint
	LocalName  string
	PlateNO    string
	PlateColor string
	CarType    string
}

type Point

type Point struct {
	X uint
	Y uint
}

type Quad

type Quad struct {
	LogicNum  uint
	LocalName string
	A         Point
	B         Point
	C         Point
	D         Point
}

type ReqProtocol

type ReqProtocol struct {
	MsgId    uint   `json:"msgId"` // 信息的唯一标识符
	DevId    uint   `json:"devId"` // 请求的设备ID
	FileUrl  string `json:"fUrl"`  // 如果是url地址,这里填写,如果不是放空
	FilePath string `json:"fPath"` // 文件目录
	FileName string `json:"fName"` // 要解析的文件名字,绝对路径
	Quad     []Quad `json:"quad"`  // 请求数组
}

请求协议

type RspProtocol

type RspProtocol struct {
	MsgId    uint   `json:"msgId"` // 信息的唯一标识符
	DevId    uint   `json:"devId"` // 应答的设备ID
	FileName string `json:"fName"` // 解析的文件名字
	Data     []Car  `json:"car"`   // 请求应答
}

应答协议

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL