Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
gqgmc
Commits
066a2e70
Commit
066a2e70
authored
Feb 01, 2017
by
Kevin Lyda
💬
Browse files
Fix config deserialisation.
parent
806acd9d
Pipeline
#1240
passed with stage
in 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
devices/geiger/gqgmc.go
View file @
066a2e70
...
...
@@ -63,59 +63,59 @@ type GQGMCCounter struct {
// DevConfig is the gcgmc config block.
type
DevConfig
struct
{
PowerOnOff
int8
`struct:"int8"`
AlarmOnOff
int8
`struct:"int8"`
SpeakerOnOff
int8
`struct:"int8"`
GraphicModeOnOff
int8
`struct:"int8"`
BackLightTimeoutSeconds
int8
`struct:"int8"`
IdleTitleDisplayMode
int8
`struct:"int8"`
AlarmCPMValue
int16
`struct:"int16,big"`
CalibrationCPM0
int16
`struct:"int16,big"`
CalibrationSvUcByte3p0
byte
`struct:"byte"`
CalibrationSvUcByte2p0
byte
`struct:"byte"`
CalibrationSvUcByte1p0
byte
`struct:"byte"`
CalibrationSvUcByte0p0
byte
`struct:"byte"`
CalibrationCPM1
int16
`struct:"int16,big"`
CalibrationSvUcByte3p1
byte
`struct:"byte"`
CalibrationSvUcByte2p1
byte
`struct:"byte"`
CalibrationSvUcByte1p1
byte
`struct:"byte"`
CalibrationSvUcByte0p1
byte
`struct:"byte"`
CalibrationCPM2
int16
`struct:"int16,big"`
CalibrationSvUcByte3p2
byte
`struct:"byte"`
CalibrationSvUcByte2p2
byte
`struct:"byte"`
CalibrationSvUcByte1p2
byte
`struct:"byte"`
CalibrationSvUcByte0p2
byte
`struct:"byte"`
IdleDisplayMode
byte
`struct:"byte"`
AlarmValueuSvByte3
byte
`struct:"byte"`
AlarmValueuSvByte2
byte
`struct:"byte"`
AlarmValueuSvByte1
byte
`struct:"byte"`
AlarmValueuSvByte0
byte
`struct:"byte"`
AlarmType
byte
`struct:"byte"`
SaveDataType
byte
`struct:"byte"`
SwivelDisplay
byte
`struct:"byte"`
ZoomByte3
byte
`struct:"byte"`
ZoomByte2
byte
`struct:"byte"`
ZoomByte1
byte
`struct:"byte"`
ZoomByte0
byte
`struct:"byte"`
SPIDataSaveAddress2
byte
`struct:"byte"`
SPIDataSaveAddress1
byte
`struct:"byte"`
SPIDataSaveAddress0
byte
`struct:"byte"`
SPIDataReadAddress2
byte
`struct:"byte"`
SPIDataReadAddress1
byte
`struct:"byte"`
SPIDataReadAddress0
byte
`struct:"byte"`
PowerSavingMode
int8
`struct:"int8"`
SensitivityMode
int8
`struct:"int8"`
CounterDelay
int16
`struct:"int16,big"`
VoltageOffset
int8
`struct:"int8"`
MaxCPM
int16
`struct:"uint16,big"`
SensitivityAutoModeThreshold
int8
`struct:"int8"`
SaveDateTimeStamp6
byte
`struct:"byte"`
SaveDateTimeStamp5
byte
`struct:"byte"`
SaveDateTimeStamp4
byte
`struct:"byte"`
SaveDateTimeStamp3
byte
`struct:"byte"`
SaveDateTimeStamp2
byte
`struct:"byte"`
SaveDateTimeStamp1
byte
`struct:"byte"`
MaximumBytes
byte
`struct:"byte"`
PowerOnOff
int8
`struct:"int8"`
AlarmOnOff
int8
`struct:"int8"`
SpeakerOnOff
int8
`struct:"int8"`
GraphicModeOnOff
int8
`struct:"int8"`
BackLightTimeoutSeconds
int8
`struct:"int8"`
IdleTitleDisplayMode
int8
`struct:"int8"`
AlarmCPMValue
int16
`struct:"int16,big"`
CalibrationCPM0
int16
`struct:"int16,big"`
CalibrationSvUcByte3p0
byte
`struct:"byte"`
CalibrationSvUcByte2p0
byte
`struct:"byte"`
CalibrationSvUcByte1p0
byte
`struct:"byte"`
CalibrationSvUcByte0p0
byte
`struct:"byte"`
CalibrationCPM1
int16
`struct:"int16,big"`
CalibrationSvUcByte3p1
byte
`struct:"byte"`
CalibrationSvUcByte2p1
byte
`struct:"byte"`
CalibrationSvUcByte1p1
byte
`struct:"byte"`
CalibrationSvUcByte0p1
byte
`struct:"byte"`
CalibrationCPM2
int16
`struct:"int16,big"`
CalibrationSvUcByte3p2
byte
`struct:"byte"`
CalibrationSvUcByte2p2
byte
`struct:"byte"`
CalibrationSvUcByte1p2
byte
`struct:"byte"`
CalibrationSvUcByte0p2
byte
`struct:"byte"`
IdleDisplayMode
byte
`struct:"byte"`
AlarmValueuSvByte3
byte
`struct:"byte"`
AlarmValueuSvByte2
byte
`struct:"byte"`
AlarmValueuSvByte1
byte
`struct:"byte"`
AlarmValueuSvByte0
byte
`struct:"byte"`
AlarmType
byte
`struct:"byte"`
SaveDataType
byte
`struct:"byte"`
SwivelDisplay
byte
`struct:"byte"`
ZoomByte3
byte
`struct:"byte"`
ZoomByte2
byte
`struct:"byte"`
ZoomByte1
byte
`struct:"byte"`
ZoomByte0
byte
`struct:"byte"`
SPIDataSaveAddress2
byte
`struct:"byte"`
SPIDataSaveAddress1
byte
`struct:"byte"`
SPIDataSaveAddress0
byte
`struct:"byte"`
SPIDataReadAddress2
byte
`struct:"byte"`
SPIDataReadAddress1
byte
`struct:"byte"`
SPIDataReadAddress0
byte
`struct:"byte"`
PowerSavingMode
int8
`struct:"int8"`
SensitivityMode
int8
`struct:"int8"`
CounterDelay
int16
`struct:"int16,big"`
VoltageOffset
int8
`struct:"int8"`
MaxCPM
u
int16
`struct:"uint16,big"`
SensitivityAutoModeThreshold
int8
`struct:"int8"`
SaveDateTimeStamp6
byte
`struct:"byte"`
SaveDateTimeStamp5
byte
`struct:"byte"`
SaveDateTimeStamp4
byte
`struct:"byte"`
SaveDateTimeStamp3
byte
`struct:"byte"`
SaveDateTimeStamp2
byte
`struct:"byte"`
SaveDateTimeStamp1
byte
`struct:"byte"`
MaximumBytes
byte
`struct:"byte"`
}
// NewGQGMC creates a new GQGMC Counter instance
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment