reformatted
This commit is contained in:
parent
8c1401f553
commit
4477ab941f
|
@ -8,6 +8,9 @@ local options = {
|
|||
unit = 'FE',
|
||||
}
|
||||
|
||||
-- initialize client library
|
||||
dofile('inputClient.lua')
|
||||
|
||||
-- generate print responsee message
|
||||
function generate_message(width, component, buffer)
|
||||
-- read bigger values
|
||||
|
@ -40,8 +43,7 @@ function generate_message(width, component, buffer)
|
|||
message_aligned(buffer, 'Case Temp:', format_temp(options, ct_raw), width)
|
||||
end
|
||||
|
||||
-- initialize client library
|
||||
dofile('inputClient.lua')
|
||||
-- run main program
|
||||
run_client(options, {
|
||||
print = generate_message
|
||||
})
|
|
@ -7,6 +7,9 @@ local options = {
|
|||
timeout = 15
|
||||
}
|
||||
|
||||
-- initialize client library
|
||||
dofile('inputClient.lua')
|
||||
|
||||
-- generate print responsee message
|
||||
function generate_message(width, component, buffer)
|
||||
-- read fission values
|
||||
|
@ -39,8 +42,7 @@ function generate_message(width, component, buffer)
|
|||
message_aligned(buffer, 'Burnrate..:', format_liquid(options, r_raw, true), width)
|
||||
end
|
||||
|
||||
-- initialize client library
|
||||
dofile('inputClient.lua')
|
||||
-- run main program
|
||||
run_client(options, {
|
||||
print = generate_message
|
||||
})
|
Loading…
Reference in New Issue
Block a user