|
|
@@ -2253,9 +2253,9 @@ int DealGetResistData(const httplib::Request& req, const string token, char** js
|
|
|
{
|
|
|
if (pInfo->out_name.find("¶¨°â·´") != -1)
|
|
|
{
|
|
|
- if (pConvertLimit->dw_alarm_low_limit > show_val)
|
|
|
+ if (pConvertLimit->dw_alarm_low_limit < show_val)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "color", "Red");
|
|
|
- else if (pConvertLimit->dw_warn_low_limit > show_val)
|
|
|
+ else if (pConvertLimit->dw_warn_low_limit < show_val)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "color", "Orange");
|
|
|
}
|
|
|
else
|
|
|
@@ -2288,9 +2288,9 @@ int DealGetResistData(const httplib::Request& req, const string token, char** js
|
|
|
{
|
|
|
if (pInfo->out_name.find("·´°â¶¨") != -1)
|
|
|
{
|
|
|
- if (pConvertLimit->dw_alarm_low_limit > show_val)
|
|
|
+ if (pConvertLimit->dw_alarm_low_limit < show_val)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "color", "Red");
|
|
|
- else if (pConvertLimit->dw_warn_low_limit > show_val)
|
|
|
+ else if (pConvertLimit->dw_warn_low_limit < show_val)
|
|
|
yyjson_mut_obj_add_str(doc, obj, "color", "Orange");
|
|
|
}
|
|
|
else
|