faultRecordDTO.go 536 B

123456789101112131415161718
  1. package dto
  2. type FaultRecordSubParamItem struct {
  3. Id int `json:"id"`
  4. Val string `json:"val"`
  5. }
  6. type FaultRecordSubParam struct {
  7. Type string `json:"type"` // 'pe' or 'agate'
  8. Sn string `json:"sn"` // aGate/aPower SN
  9. ParaList []FaultRecordSubParamItem `json:"paraList"`
  10. }
  11. type FaultRecordParamInfo struct {
  12. Env string `json:"env"` // 'prod'(默认)or 'test'
  13. Sn string `json:"sn"` // aGate SN
  14. List []FaultRecordSubParam `json:"list"`
  15. }