|
|
@@ -194,12 +194,12 @@ namespace DataVAPI.Tool.IOT |
|
|
|
if (_B_Month > 0) |
|
|
|
{ |
|
|
|
MonthColor = new ALYColor { r = 18, g = 186, b = 96, a = 1 }; |
|
|
|
B_MonthStr = $"增长 {_B_Year}%"; |
|
|
|
B_MonthStr = $"增长 {_B_Month}%"; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
MonthColor = new ALYColor { r = 255, g = 0, b = 0, a = 1 }; |
|
|
|
B_MonthStr = $"下降 {_B_Year}%"; |
|
|
|
B_MonthStr = $"下降 {_B_Month}%"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@@ -216,12 +216,12 @@ namespace DataVAPI.Tool.IOT |
|
|
|
if (_B_Day > 0) |
|
|
|
{ |
|
|
|
DayColor = new ALYColor { r = 18, g = 186, b = 96, a = 1 }; |
|
|
|
B_DayStr = $"增长 {_B_Year}%"; |
|
|
|
B_DayStr = $"增长 {_B_Day}%"; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
DayColor = new ALYColor { r = 255, g = 0, b = 0, a = 1 }; |
|
|
|
B_DayStr = $"下降 {_B_Year}%"; |
|
|
|
B_DayStr = $"下降 {_B_Day}%"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|