* @Author: penglei 1624952103@qq.com\r
* @Date: 2024-08-23 10:50:37\r
* @LastEditors: penglei 1624952103@qq.com\r
- * @LastEditTime: 2025-08-18 18:37:28\r
+ * @LastEditTime: 2025-08-19 09:41:03\r
* @FilePath: /FD230/code/sdk/application/wearable/fd230/nativeapp/nativeui/producttest/include/testPresenter.h\r
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\r
*/\r
\r
\r
typedef struct {\r
- bool lcd; // LCD测试结果\r
- bool tp; // 触摸屏测试结果\r
- bool mag; // 磁力计测试结果\r
- bool brightness; // 亮度测试结果\r
- bool bat; // 亮度测试结果\r
- bool spk; // 喇叭测试结果\r
- bool mic; // 麦克风测试结果\r
- bool motor; // 马达测试结果\r
- bool hr; // 心率漏光测试结果\r
- bool gsensor; // 重力加速度传感器\r
- bool cat1; // 4g测试结果\r
- bool button; // 按键测试结果\r
- bool bt; // 蓝牙扫描测试结果\r
- bool aplipay; // 支付宝加密芯片测试结果\r
- bool gps; // gps测试结果\r
- bool lowpower; // 低功耗测试结果\r
+ uint8_t lcd; // LCD测试结果\r
+ uint8_t tp; // 触摸屏测试结果\r
+ uint8_t mag; // 磁力计测试结果\r
+ uint8_t brightness; // 亮度测试结果\r
+ uint8_t bat; // 亮度测试结果\r
+ uint8_t spk; // 喇叭测试结果\r
+ uint8_t mic; // 麦克风测试结果\r
+ uint8_t motor; // 马达测试结果\r
+ uint8_t hr; // 心率漏光测试结果\r
+ uint8_t gsensor; // 重力加速度传感器\r
+ uint8_t cat1; // 4g测试结果\r
+ uint8_t button; // 按键测试结果\r
+ uint8_t bt; // 蓝牙扫描测试结果\r
+ uint8_t aplipay; // 支付宝加密芯片测试结果\r
+ uint8_t gps; // gps测试结果\r
+ uint8_t lowpower; // 低功耗测试结果\r
} FactoryTestResult;\r
\r
-static FactoryTestResult g_factoryTestResult = {false};\r
+static FactoryTestResult g_factoryTestResult = {0};\r
\r
namespace OHOS\r
{\r