upd gui
This commit is contained in:
@ -439,6 +439,8 @@ if __name__ == "__main__":
|
||||
window['-DateTime-'].update(data['datetime'].strftime('%d-%m-%Y %H:%M:%S:%f')[:-3])
|
||||
window['-TTerm1-'].update('T терм 1: '+shorten(data['Temp_Ext_1'])+' C')
|
||||
window['-TTerm2-'].update('T терм 2: '+shorten(data['Temp_Ext_2'])+' C')
|
||||
window['-I1_PANEL-'].update('I1: '+shorten(data['I1'])+' мА')
|
||||
window['-I2_PANEL-'].update('I2: '+shorten(data['I2'])+' мА')
|
||||
window['-3V3-'].update('3V3: '+shorten(data['MON_3V3'])+' В')
|
||||
window['-5V1-'].update('5V1: '+shorten(data['MON_5V1'])+' В')
|
||||
window['-5V2-'].update('5V2: '+shorten(data['MON_5V2'])+' В')
|
||||
@ -466,4 +468,3 @@ if __name__ == "__main__":
|
||||
|
||||
dev.close_connection(prt)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user