Skip to content

Commit

Permalink
Merge pull request #819 from hahattan/issue-816-revert
Browse files Browse the repository at this point in the history
revert: maximum and minimum data type
  • Loading branch information
cloudxxx8 authored Mar 15, 2023
2 parents 9e8f4f0 + 7b95a4f commit 274c66a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dtos/resourceproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ type ResourceProperties struct {
ValueType string `json:"valueType" yaml:"valueType" validate:"required,edgex-dto-value-type"`
ReadWrite string `json:"readWrite" yaml:"readWrite" validate:"required,oneof='R' 'W' 'RW' 'WR'"`
Units string `json:"units,omitempty" yaml:"units"`
Minimum float64 `json:"minimum,omitempty" yaml:"minimum"`
Maximum float64 `json:"maximum,omitempty" yaml:"maximum"`
Minimum string `json:"minimum,omitempty" yaml:"minimum"`
Maximum string `json:"maximum,omitempty" yaml:"maximum"`
DefaultValue string `json:"defaultValue,omitempty" yaml:"defaultValue"`
Mask uint64 `json:"mask,omitempty" yaml:"mask"`
Shift int64 `json:"shift,omitempty" yaml:"shift"`
Expand Down
4 changes: 2 additions & 2 deletions models/resourceproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type ResourceProperties struct {
ValueType string
ReadWrite string
Units string
Minimum float64
Maximum float64
Minimum string
Maximum string
DefaultValue string
Mask uint64
Shift int64
Expand Down

0 comments on commit 274c66a

Please sign in to comment.