Skip to content

Commit

Permalink
🐛 3.0.120,Aurora版本号,修复明显的Bug和部分代码问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Hny0305Lin committed May 14, 2022
1 parent a60b486 commit fb3f409
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,14 @@ private void tp() {
bundle.putInt("bijiaoIII",bijiaoIII);
bundle.putInt("useI",useI);
bundle.putInt("useII",useII);
bundle.putInt("usrIII",useIII);
bundle.putInt("useIII",useIII);
bundle.putInt("booloff",booloff);
bundle.putInt("boolon",boolon);
bundle.putInt("num", Integer.parseInt(num));
bundle.putInt("IorO", Integer.parseInt(IorO));
i.putExtra("bundle", bundle);
startActivity(i);
}

public void TempLiandongClick(View view) {
btnsensorI = true;
sensorI = 1;
Expand All @@ -181,6 +180,7 @@ public void TempLiandongClick(View view) {
sensorIII = 0;
btnsensorIV = false;
sensorIV = 0;
Toast.makeText(ExceedActivity.this,"触发温度按钮",Toast.LENGTH_SHORT).show();
}

public void HumiLiandongClick(View view) {
Expand All @@ -192,6 +192,7 @@ public void HumiLiandongClick(View view) {
sensorIII = 0;
btnsensorIV = false;
sensorIV = 0;
Toast.makeText(ExceedActivity.this,"触发湿度按钮",Toast.LENGTH_SHORT).show();
}

public void LightLiandongClick(View view) {
Expand All @@ -203,6 +204,7 @@ public void LightLiandongClick(View view) {
sensorIII = 1;
btnsensorIV = false;
sensorIV = 0;
Toast.makeText(ExceedActivity.this,"触发光照按钮",Toast.LENGTH_SHORT).show();
}

public void InfranedLiandongClick(View view) {
Expand All @@ -214,6 +216,7 @@ public void InfranedLiandongClick(View view) {
sensorIII = 0;
btnsensorIV = true;
sensorIV = 1;
Toast.makeText(ExceedActivity.this,"触发人体按钮",Toast.LENGTH_SHORT).show();
}

public void XiaoyuLiandongClick(View view) {
Expand All @@ -223,6 +226,7 @@ public void XiaoyuLiandongClick(View view) {
bijiaoII = 0;
btnbijiaoIII = false;
bijiaoIII = 0;
Toast.makeText(ExceedActivity.this,"触发小于",Toast.LENGTH_SHORT).show();
}

public void DengyuLiandongClick(View view) {
Expand All @@ -232,15 +236,17 @@ public void DengyuLiandongClick(View view) {
bijiaoII = 1;
btnbijiaoIII = false;
bijiaoIII = 0;
Toast.makeText(ExceedActivity.this,"触发等于",Toast.LENGTH_SHORT).show();
}

public void DayuLiandongClick(View view) {
btnbijiaoI = false;
bijiaoI = 0;
btnbijiaoII = false;
bijiaoII = 1;
bijiaoII = 0;
btnbijiaoIII = true;
bijiaoIII = 0;
bijiaoIII = 1;
Toast.makeText(ExceedActivity.this,"触发大于",Toast.LENGTH_SHORT).show();
}

public void LampLiandongCheck(View view) {
Expand Down

0 comments on commit fb3f409

Please sign in to comment.