private Integer sendStatusData() {
int result = 0;
try {
for (int i = 0; i < cookCaseResult.size(); i++) {
if (cooResult.contains(cookCaseResult.get(i))) {
Log.i(TAG, "i:" + i + " cooResult.get(i): " + cookCaseResult.get(i));
result = result | (1 << i);
}
}
Log.i(TAG, "result: 10进制" + result);
Log.i(TAG, "result: 2进制: " + Integer.toBinaryString(result));
return result;
}catch (Exception e){
e.printStackTrace();
}
return result;
}