@@ -61,31 +61,33 @@ public void onClick(View view) {
61
61
} else if (holder .getLayoutPosition () == 9 ) {
62
62
BLEService2 .writeUserInfo (holder .itemView .getContext (), 1 , 180 , 85 , 10000 );
63
63
} else if (holder .getLayoutPosition () == 10 ) {
64
- BLEService2 .sedentaryReminder (holder .itemView .getContext ());
64
+ BLEService2 .settingSedentaryReminder (holder .itemView .getContext (), 1 );
65
65
} else if (holder .getLayoutPosition () == 11 ) {
66
- BLEService2 .allAlarmInfo (holder .itemView .getContext ());
66
+ BLEService2 .sedentaryReminder (holder .itemView .getContext ());
67
67
} else if (holder .getLayoutPosition () == 12 ) {
68
- BLEService2 .eventDelete (holder .itemView .getContext (), 9 );
68
+ BLEService2 .allAlarmInfo (holder .itemView .getContext ());
69
+ } else if (holder .getLayoutPosition () == 13 ) {
70
+ BLEService2 .eventDelete (holder .itemView .getContext (), 10 );
69
71
// BLEService2.eventAdd(holder.itemView.getContext(), 3, System.currentTimeMillis(), 0x81, "Hello你好你叫什么名字你住哪里你今年多大");
70
72
// BLEService2.eventAdd(holder.itemView.getContext(), 4, System.currentTimeMillis(), 0x82, "Hello你好你叫什么名字你住哪里你今年多大");
71
73
// BLEService2.eventAdd(holder.itemView.getContext(), 5, System.currentTimeMillis(), 0x01, "Hello你好你叫什么名字你住哪里你今年多大");
72
74
// BLEService2.eventAdd(holder.itemView.getContext(), 6, System.currentTimeMillis(), 0x02, "Hello你好你叫什么名字你住哪里你今年多大");
73
75
// BLEService2.eventAdd(holder.itemView.getContext(), 7, System.currentTimeMillis(), 0x81 | 0x82 | 0x84 | 0x88 | 0x90 | 0xA0 | 0xC0, "Hello你好你叫什么名字你住哪里你今年多大");
74
76
// BLEService2.eventAdd(holder.itemView.getContext(), 8, System.currentTimeMillis(), 0xA0 | 0xC0, "Hello你好你叫什么名字你住哪里你今年多大");
75
- BLEService2 .eventAdd (holder .itemView .getContext (), 9 , System .currentTimeMillis (), 0x81 | 0x82 , "Hello你好你叫什么名字你住哪里你今年多大" );
76
- } else if (holder .getLayoutPosition () == 13 ) {
77
- BLEService2 .alarmClockAdd (holder .itemView .getContext (), 76 , System .currentTimeMillis (), 0x00 , 0 );
77
+ BLEService2 .eventAdd (holder .itemView .getContext (), 10 , true , System .currentTimeMillis (), 0x81 | 0x84 , "Hello你好你叫什么名字你住哪里你今年多大" );
78
78
} else if (holder .getLayoutPosition () == 14 ) {
79
- BLEService2 .sedentaryByAlarmAdd (holder .itemView .getContext (), 51 , System .currentTimeMillis (), 0x00 );
79
+ BLEService2 .alarmClockAdd (holder .itemView .getContext (), 76 , true , System .currentTimeMillis (), 0x00 , true );
80
80
} else if (holder .getLayoutPosition () == 15 ) {
81
- BLEService2 .noDisturb (holder .itemView .getContext (), 1 , 0 , 22 , 0 , 6 );
81
+ BLEService2 .sedentaryByAlarmAdd (holder .itemView .getContext (), 51 , true , System . currentTimeMillis (), 0x00 );
82
82
} else if (holder .getLayoutPosition () == 16 ) {
83
- BLEService2 .readAlarm (holder .itemView .getContext (), 9 );
83
+ BLEService2 .noDisturb (holder .itemView .getContext (), 1 , 0 , 22 , 0 , 6 );
84
84
} else if (holder .getLayoutPosition () == 17 ) {
85
- BLEService2 .sportsRun (holder .itemView .getContext ());
85
+ BLEService2 .readAlarm (holder .itemView .getContext (), 9 );
86
86
} else if (holder .getLayoutPosition () == 18 ) {
87
- BLEService2 .sportsFastWalk (holder .itemView .getContext ());
87
+ BLEService2 .sportsRun (holder .itemView .getContext ());
88
88
} else if (holder .getLayoutPosition () == 19 ) {
89
+ BLEService2 .sportsFastWalk (holder .itemView .getContext ());
90
+ } else if (holder .getLayoutPosition () == 20 ) {
89
91
BLEService2 .sportsSwim (holder .itemView .getContext ());
90
92
}
91
93
}
0 commit comments