75 lines
2.9 KiB
Go
75 lines
2.9 KiB
Go
package detail
|
|
|
|
type Pub struct {
|
|
Code int `json:"code"`
|
|
Message string `json:"message"`
|
|
Obj struct {
|
|
} `json:"obj"`
|
|
Success bool `json:"success"`
|
|
Timestamp int `json:"timestamp"`
|
|
}
|
|
|
|
/*逆变器设备详情*/
|
|
type EquipmentDetail struct {
|
|
DivertorId string `json:"divertorId"`
|
|
DivertorName string `json:"divertorName"`
|
|
EquipmentName string `json:"equipmentName"`
|
|
EquipmentPn string `json:"equipmentPn"`
|
|
EquipmentSn string `json:"equipmentSn"`
|
|
Id string `json:"id"`
|
|
Kwp float64 `json:"kwp"`
|
|
MonKwh float64 `json:"monKwh"`
|
|
NowKw float64 `json:"nowKw"`
|
|
ParamDcacCode string `json:"paramDcacCode"`
|
|
ParamDcdcCode string `json:"paramDcdcCode"`
|
|
PowerPlantId string `json:"powerPlantId"`
|
|
PowerPlantName string `json:"powerPlantName"`
|
|
RatedPower float64 `json:"ratedPower"`
|
|
SoftDcacCode string `json:"softDcacCode"`
|
|
SoftDcdcCode string `json:"softDcdcCode"`
|
|
Status int `json:"status"`
|
|
SumKwh float64 `json:"sumKwh"`
|
|
TodayKwh float64 `json:"todayKwh"`
|
|
UpdateTime string `json:"updateTime"`
|
|
UserId string `json:"userId"`
|
|
UserName string `json:"userName"`
|
|
YearKwh float64 `json:"yearKwh"`
|
|
}
|
|
|
|
/*电站详情*/
|
|
type PlantDetail struct {
|
|
Address string `json:"address"`
|
|
City string `json:"city"`
|
|
CompanyId string `json:"companyId"`
|
|
CompanyName string `json:"companyName"`
|
|
DipAngle float64 `json:"dipAngle"`
|
|
District string `json:"district"`
|
|
Id string `json:"id"`
|
|
Kwp float64 `json:"kwp"`
|
|
Latitude string `json:"latitude"`
|
|
Longitude string `json:"longitude"`
|
|
MonKwh float64 `json:"monKwh"`
|
|
Name string `json:"name"`
|
|
NetworkTime string `json:"networkTime"`
|
|
NetworkType string `json:"networkType"`
|
|
NowKw float64 `json:"nowKw"`
|
|
OrientationAngle float64 `json:"orientationAngle"`
|
|
OwnerId string `json:"ownerId"`
|
|
OwnerName string `json:"ownerName"`
|
|
PaymentType string `json:"paymentType"`
|
|
PlantContact string `json:"plantContact"`
|
|
PlantContactPhone string `json:"plantContactPhone"`
|
|
PlantImg string `json:"plantImg"`
|
|
PowerPlantType string `json:"powerPlantType"`
|
|
Province string `json:"province"`
|
|
Remark string `json:"remark"`
|
|
ServiceProviderName string `json:"serviceProviderName"`
|
|
ServiceProviderPhone string `json:"serviceProviderPhone"`
|
|
Status int `json:"status"`
|
|
SubassemblyNumber int `json:"subassemblyNumber"`
|
|
SumKwh float64 `json:"sumKwh"`
|
|
TodayKwh float64 `json:"todayKwh"`
|
|
UpdateTime string `json:"updateTime"`
|
|
YearKwh float64 `json:"yearKwh"`
|
|
}
|