need to specify the id of the data_type for main_plc
This commit is contained in:
@@ -250,7 +250,7 @@ def main():
|
||||
print("Unable to read tags... Restarting.")
|
||||
main()
|
||||
|
||||
status = Status('run_status', 'Pump.Run_Status', 0, 'STRING', 0, 3600, mapFn=maps['statusMap'], ip_address=main_plc['address'], device_type=device_types[main_plc['device_type']])
|
||||
status = Status('run_status', 'Pump.Run_Status', 0, 'STRING', 0, 3600, mapFn=maps['statusMap'], ip_address=main_plc['address'], device_type=device_types[main_plc['device_type']['id']])
|
||||
read_tapers = False
|
||||
already_gauged_off = False
|
||||
already_entered_well_test = False
|
||||
|
||||
Reference in New Issue
Block a user