diff --git a/bin/const/ServiceConstant.dart b/bin/const/ServiceConstant.dart index c8eb15d..60fc33e 100644 --- a/bin/const/ServiceConstant.dart +++ b/bin/const/ServiceConstant.dart @@ -1,8 +1,8 @@ class ServiceConstant { //基础地址 // static const String baseHost = "vsbs.he-info.cn"; - // static const String baseHost = "vsbst-api.he-info.cn"; - static const String baseHost = "vsbs-test.he-info.cn"; + static const String baseHost = "vsbst-api.he-info.cn"; + // static const String baseHost = "vsbs-test.he-info.cn"; static const String apibaseHost = "songxia.he-info.com"; //服务地址 static String service_address = "https://$apibaseHost"; diff --git a/bin/service/AreaService.dart b/bin/service/AreaService.dart index 8b56da2..e2e73fc 100644 --- a/bin/service/AreaService.dart +++ b/bin/service/AreaService.dart @@ -42,7 +42,7 @@ class AreaService { int dataLength = 300; // 目标有效数据长度 int initialDataLength = 180; // 初始需要的数据长度(3分钟) - int noDataTimeout = 20 * 1000; // 20秒无数据超时 + int noDataTimeout = 60 * 1000; // 20秒无数据超时 int bedOffTimeout = 20 * 1000; // 20秒离床超时 int totalTimeout = 20 * 60 * 1000; // 20分钟总超时 int totalHeartPercent = 80; // 心率有效占比