Bladeren bron

加热关闭9

第二版
fyf 1 jaar geleden
bovenliggende
commit
0ae173c7c4
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +3
    -3
      app/src/main/java/com/example/bpa/view/from/zdqx_activity.java

+ 3
- 3
app/src/main/java/com/example/bpa/view/from/zdqx_activity.java Bestand weergeven

@@ -219,7 +219,7 @@ public class zdqx_activity extends AppCompatActivity implements View.OnClickList
*/
@Override
public void onClick(View v) {
double ps = Double.parseDouble(edit_pstime.getText().toString());
// double ps = Double.parseDouble(edit_pstime.getText().toString());
double js = Double.parseDouble(edit_jstime.getText().toString());
double qxj = Double.parseDouble(edit_jqxjtime.getText().toString());
switch (v.getId()) {
@@ -228,7 +228,7 @@ public class zdqx_activity extends AppCompatActivity implements View.OnClickList
break;
case R.id.bt_save://保存

if (qxj >= js || qxj >= ps) {
if (qxj >= js /*|| qxj >= ps*/) {
T.show(zdqx_activity.this, "加清洗剂时间不能大于进水时间!");
return;
}
@@ -278,7 +278,7 @@ public class zdqx_activity extends AppCompatActivity implements View.OnClickList
break;
case R.id.bt_start://开始清洗

if (qxj >= js || qxj >= ps) {
if (qxj >= js /*|| qxj >= ps*/) {
T.show(zdqx_activity.this, "加清洗剂时间不能大于进水时间!");
return;
}


Laden…
Annuleren
Opslaan