typo
This commit is contained in:
parent
674a612b21
commit
1a23d84cf4
@ -20,14 +20,14 @@ type MetaSensorStatus struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func NewMetaSensorStatus(types int) *MetaProbeStatus {
|
||||
func NewMetaSensorStatus(types int) *MetaSensorStatus {
|
||||
|
||||
str := metaSensorStatusMap[types]
|
||||
|
||||
if len(str) <= 0 {
|
||||
return nil
|
||||
}
|
||||
return &MetaProbeStatus{
|
||||
return &MetaSensorStatus{
|
||||
Id: json.Number(strconv.Itoa(types)),
|
||||
Name: str,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user