Adjusted measument data type
This commit is contained in:
parent
2c50e3fe78
commit
88561888d4
1 changed files with 3 additions and 3 deletions
|
@ -54,9 +54,9 @@ if os.path.exists(args.dev):
|
||||||
"node": args.node
|
"node": args.node
|
||||||
},
|
},
|
||||||
"fields": {
|
"fields": {
|
||||||
"radiation_cps": splitdata[1],
|
"geiger_cps": int(splitdata[1]),
|
||||||
"radiation_cpm": splitdata[3],
|
"geiger_cpm": int(splitdata[3]),
|
||||||
"radiation_dose": splitdata[5]
|
"geiger_dose": float(splitdata[5])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue