修改blood接口,适配新的icWorkService.
添加oxygen 数据发送。只是未有显示。
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":39,"versionName":"202008242019","enabled":true,"outputFile":"ICL02Blood_V39_202008242019_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V39_202008242019_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":40,"versionName":"202009072003","enabled":true,"outputFile":"ICL02Blood_V40_202009072003_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V40_202009072003_release.apk","properties":{}}]
\ No newline at end of file
* Demonstrates some basic types that you can use as parameters
* and return values in AIDL.
*/
- void updateBloodCheckTemp(int high,int low,int heart);
- void updateBloodCheckResult(int high,int low,int heart);
+ void updateBloodCheckTemp(int high,int low,int heart,int oxygen);
+ void updateBloodCheckResult(int high,int low,int heart,int oxygen);
void updateBloodCheckTips(int top,int bottom);
+
}
};
private IBloodAidlInterface.Stub bloodInterface = new IBloodAidlInterface.Stub() {
- @Override
- public void updateBloodCheckResult(int high, int low, int heart) throws RemoteException {
- updateBoolValue(high, low, heart);
- }
@Override
- public void updateBloodCheckTips(int top, int bottom) throws RemoteException {
- updateTipsInfo(mTipsSpares.get(top), mTipsSpares.get(bottom));
- }
+ public void updateBloodCheckTemp(int high, int low, int heart, int oxygen) throws RemoteException {
- @Override
- public void updateBloodCheckTemp(int high, int low, int heart) throws RemoteException {
mObsBloodTempValue.postValue(new String[]{
String.valueOf(high),
String.valueOf(low),
String.valueOf(heart)});
}
+
+ @Override
+ public void updateBloodCheckResult(int high, int low, int heart, int oxygen) throws RemoteException {
+ updateBoolValue(high, low, heart);
+ }
+
+ @Override
+ public void updateBloodCheckTips(int top, int bottom) throws RemoteException {
+ updateTipsInfo(mTipsSpares.get(top), mTipsSpares.get(bottom));
+ }
};
-#Mon Aug 24 20:19:54 CST 2020\r
-VERSION_CODE=39\r
+#Mon Sep 07 20:03:58 CST 2020\r
+VERSION_CODE=40\r