Convert NullBin from int
This commit is contained in:
parent
28eb68f57a
commit
411ad512e5
@ -102,6 +102,8 @@ def write_devices(devices: Sequence[Device], el_map: ElementTree.Element) -> Non
|
||||
val = f'{val:d}'
|
||||
elif field == 'CreateDate':
|
||||
val = val.strftime('%Y%m%d%H%M%S%f')[:-3]
|
||||
elif field == 'NullBin' and device.BinType == 'Decimal':
|
||||
val = f'{val:d}'
|
||||
|
||||
el_device.set(field, val)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user