Skip to content

Fixed the bug where the UPS using battery power was not displayed. #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WinNUT_V2/WinNUT-Client/WinNUT.vb
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ Public Class WinNUT
UPS_InputV = .Input_Voltage
UPS_OutputV = .Output_Voltage
UPS_Load = .Load
UPS_Status = "OL"
UPS_Status = .UPS_Status
UPS_OutPower = .Output_Power

If .UPS_Status.HasFlag(UPS_States.OL) Then
Expand Down
1 change: 1 addition & 0 deletions WinNUT_V2/WinNUT-Client_Common/Common_Enums.vb
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ Public Enum UPS_States
OVER = 1 << 10
TRIM = 1 << 11
BOOST = 1 << 12
ALARM = 1 << 13
End Enum

Public Enum PowerMethod
Expand Down