taskExecute/proto/mq.go

34 lines
975 B
Go
Raw Normal View History

2023-03-23 14:35:24 +08:00
package proto
type FileCapture struct {
FileId int64 `json:"fileId"`
FileName string `json:"fileName"`
File string `json:"file"`
DatasetName string `json:"datasetName"`
CaptureTime int64 `json:"captureTime"`
}
type SingleFileCapture struct {
FileId int64 `json:"fileId"`
2023-03-23 14:35:24 +08:00
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"`
}