增加遥控器读取

This commit is contained in:
2025-10-10 23:10:21 +08:00
parent e7436bb288
commit ebc440d6d4
92 changed files with 111151 additions and 11136 deletions

View File

@@ -67,3 +67,17 @@ QString BitMaps::DialBut(bool B1,bool B2,bool Dir){
QString BitMaps::DiBut(bool B1){
return ChoiceBit2(B1,":/Icos/Icos/LED1_Grey.png",":/Icos/Icos/LED1_Green.png");
}
/**
* @brief BitMaps::DiBut 普通按钮的显示
* @param B1 按钮是否激活
* @return 如果被按下则返回,没有返回为空字符串
*/
QString BitMaps::SwitchBut(bool Start,bool Stop){
if(Start && !Stop)
return ":/Icos/Icos/LED1_Green.png";
else if(!Start && Stop)
return ":/Icos/Icos/LED1_Rad.png";
else
return ":/Icos/Icos/LED1_Grey.png";
}