zhangqian
2023-08-19 aab066ab2d90d235848f67d4aac3b15c8f778b3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package response
 
import (
    "apsClient/model"
)
 
type PageResult struct {
    List     interface{} `json:"list"`
    Total    int64       `json:"total"`
    Page     int         `json:"page"`
    PageSize int         `json:"pageSize"`
}
 
type ListResponse struct {
    Code  int         `json:"code"`
    Msg   string      `json:"msg"`
    Data  interface{} `json:"data"`
    Count int64       `json:"count"`
}
 
type TaskData struct {
    Order         *model.Order
    Procedure     *model.Procedures
    NextProcedure *model.Procedures
    Config
}
 
type Config struct {
    DeviceName   string
    DeviceStatus string
}
 
type ProcessParamsResponse struct {
    Number string
    Params []ProcessParams
}
 
type ProcessParams struct {
    Key   string
    Value interface{}
}
 
type NetConfig struct {
    DeviceName   string
    DeviceStatus string
}
 
type ProductProgress struct {
    FinishNumber int
}