Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte b6 = MyApplication.ret[5] & 255;
- byte b7 = MyApplication.ret[18] & 255;
- byte b8 = MyApplication.ret[8];
- int i = (MyApplication.ret[b] >> 5) & 1;
- byte b9 = MyApplication.ret[b] & 1;
- int i2 = (MyApplication.ret[b] >> 3) & 1;
- Log.e("isDecimal", "isDecimal=" + i2);
- int i3 = ((MyApplication.ret[17] >> b) & 1) + (((MyApplication.ret[17] >> 5) & 1) * 2);
- Log.e("decimal13", "decimal13=" + i3);
- if (b9 == 0) {
- next.put("power_on", Integer.valueOf(C0696R.C0697drawable.power_on_off_gray));
- } else {
- next.put("power_on", Integer.valueOf(C0696R.C0697drawable.power_on_off));
- }
- String str2 = BuildConfig.FLAVOR;
- String str3 = BuildConfig.FLAVOR;
- if (b6 % 2 == 0) {
- if (i2 == 0) {
- str2 = (b6 / 2) + ".0+-C";
- } else if (i3 == 0) {
- str2 = (b6 / 2) + ".1+-C";
- } else if (i3 == 1) {
- str2 = (b6 / 2) + ".2+-C";
- } else if (i3 == 2) {
- str2 = (b6 / 2) + ".3+-C";
- } else if (i3 == 3) {
- str2 = (b6 / 2) + ".4+-C";
- }
- } else if (i2 == 0) {
- str2 = (b6 / 2) + ".5+-C";
- } else if (i3 == 0) {
- str2 = (b6 / 2) + ".6+-C";
- } else if (i3 == 1) {
- str2 = (b6 / 2) + ".7+-C";
- } else if (i3 == 2) {
- str2 = (b6 / 2) + ".8+-C";
- } else if (i3 == 3) {
- str2 = (b6 / 2) + ".9+-C";
- }
- if (b7 % 2 == 0) {
- if (i2 == 0) {
- str3 = (b7 / 2) + ".0+-C";
- } else if (i3 == 0) {
- str3 = (b7 / 2) + ".1+-C";
- } else if (i3 == 1) {
- str3 = (b7 / 2) + ".2+-C";
- } else if (i3 == 2) {
- str3 = (b7 / 2) + ".3+-C";
- } else if (i3 == 3) {
- str3 = (b7 / 2) + ".4+-C";
- }
- } else if (i2 == 0) {
- str3 = (b7 / 2) + ".5+-C";
- } else if (i3 == 0) {
- str3 = (b7 / 2) + ".6+-C";
- } else if (i3 == 1) {
- str3 = (b7 / 2) + ".7+-C";
- } else if (i3 == 2) {
- str3 = (b7 / 2) + ".8+-C";
- } else if (i3 == 3) {
- str3 = (b7 / 2) + ".9+-C";
- }
- if (b8 == 0) {
- next.put("room_temp", str2);
- }
- if (b8 == 1 && i == 1) {
- next.put("room_temp", str3);
- }
- if (b8 == 2) {
- if (i == 1) {
- if (b6 == 0) {
- next.put("room_temp", "--+-C");
- } else {
- next.put("room_temp", str2);
- }
- } else if (b7 == 0) {
- next.put("room_temp", "--+-C");
- } else {
- next.put("room_temp", str3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment