fixed refreshing data
This commit is contained in:
@@ -9,6 +9,27 @@ from tools.cfg_util.imgs import TkImages, LIGHT, FAULT_LIGHT
|
||||
import PySimpleGUI as sg
|
||||
import ipaddress
|
||||
|
||||
DATA_HEADER_MAP = {
|
||||
"ip": "IP",
|
||||
"model": "Model",
|
||||
"hostname": "Hostname",
|
||||
"hashrate": "Hashrate",
|
||||
"temperature_avg": "Temp",
|
||||
"wattage": "Wattage",
|
||||
"ideal_chips": "Ideal",
|
||||
"left_chips": "Left Board",
|
||||
"center_chips": "Center Board",
|
||||
"right_chips": "Right Board",
|
||||
"total_chips": "Total",
|
||||
"nominal": "Nominal",
|
||||
"pool_split": "Split",
|
||||
"pool_1_url": "Pool 1",
|
||||
"pool_1_user": "Pool 1 User",
|
||||
"pool_2_url": "Pool 2",
|
||||
"pool_2_user": "Pool 2 User",
|
||||
"percent_ideal": "Chip %",
|
||||
}
|
||||
|
||||
|
||||
def update_miner_count(count):
|
||||
for button in MINER_COUNT_BUTTONS:
|
||||
|
||||
Reference in New Issue
Block a user