taskExecute/proto/mq.go

25 lines
714 B
Go
Raw Normal View History

2023-03-23 14:35:24 +08:00
package proto
type FileCapture struct {
FileName string `json:"fileName"`
File string `json:"file"`
DatasetName string `json:"datasetName"`
CaptureTime int64 `json:"captureTime"`
}
type ModelResult struct {
FileName string `json:"fileName"`
File string `json:"file"`
FileMd5 string `json:"fileMd5"`
DatasetName string `json:"datasetName"`
SubDataset string `json:"subDataset"`
Crack bool `json:"crack"`
Pothole bool `json:"pothole"`
TaskId int64 `json:"taskId"`
TaskCode string `json:"taskCode"`
ModelId int64 `json:"modelId"`
NodeId int64 `json:"nodeId"`
StartTime int64 `json:"startTime"`
FinishTime int64 `json:"finishTime"`
}