Browse Source

设备心跳状态监听

鸿鹄中学一拖二
pry 3 months ago
parent
commit
7237939c63
1 changed files with 0 additions and 21 deletions
  1. +0
    -21
      app/src/main/java/com/bonait/bnframework/modules/home/fragment/DoubleFryingpanFragment.java

+ 0
- 21
app/src/main/java/com/bonait/bnframework/modules/home/fragment/DoubleFryingpanFragment.java View File

@@ -139,27 +139,6 @@ public class DoubleFryingpanFragment extends BaseFragment {
Init();
DeviceSetInit();

Task.Run(()->{
while (true){
if(TTrig.get("CESHI").Start(tt)){
tt=true;
Log.i("aaa", "下降沿触发");
}
Task.Delay(1000);
}

});

Task.Run(()->{
while (true){
Task.Delay(3000);
tt=false;
Log.i("aaa", "写入false");
}

});


// DoubleFryingpanControl.getInstance().completeNotify= new ICompleteNotify() {
// @Override
// public void onComplete(int num) {


Loading…
Cancel
Save