File was renamed from qiheonlinelibrary/src/main/java/com/dayu/qiheonlinelibrary/activity/ParameterActivity.java |
| | |
| | | * Date: 2023-11-06 11:47 |
| | | * Description: 参数设置界面 |
| | | */ |
| | | public class ParameterActivity extends BaseActivity { |
| | | public class ParameterActivityQHOline extends QHOlineBaseActivity { |
| | | ActivityParameterQhlBinding binding; |
| | | |
| | | @Override |
| | |
| | | private void initView() { |
| | | //设置域名卡 |
| | | binding.parameterDomain.setOnClickListener(v -> { |
| | | Intent intent = new Intent(ParameterActivity.this, DomainActivity.class); |
| | | Intent intent = new Intent(ParameterActivityQHOline.this, DomainActivityQHOline.class); |
| | | startActivity(intent); |
| | | }); |
| | | // 水泵功率设置 |
| | | binding.parameterPower.setOnClickListener(v -> { |
| | | Intent intent = new Intent(ParameterActivity.this, PowerActivity.class); |
| | | Intent intent = new Intent(ParameterActivityQHOline.this, PowerActivityQHOline.class); |
| | | startActivity(intent); |
| | | }); |
| | | //电量单价设置 |
| | | binding.parameterElectricPrice.setOnClickListener(v -> { |
| | | Intent intent = new Intent(ParameterActivity.this, ElectricPriceActivity.class); |
| | | Intent intent = new Intent(ParameterActivityQHOline.this, ElectricPriceActivityQHOline.class); |
| | | startActivity(intent); |
| | | }); |
| | | //卡标识设置 |
| | | binding.parameterCardIdentifying.setOnClickListener(v -> { |
| | | Intent intent = new Intent(ParameterActivity.this, IdentifyingActivity.class); |
| | | Intent intent = new Intent(ParameterActivityQHOline.this, IdentifyingActivityQHOline.class); |
| | | startActivity(intent); |
| | | }); |
| | | //密码卡设置密码 |
| | | binding.parameterPassWordCard.setOnClickListener(v -> { |
| | | Intent intent = new Intent(ParameterActivity.this, PasswordCardActivity.class); |
| | | Intent intent = new Intent(ParameterActivityQHOline.this, PasswordCardActivityQHOline.class); |
| | | startActivity(intent); |
| | | }); |
| | | //区域表号卡 |