| | |
| | | #define IsRetain ([[UIScreen mainScreen] scale] >= 2.0) |
| | | #define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height |
| | | #define SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width |
| | | #define kScreenBounds [UIScreen mainScreen].bounds |
| | | |
| | | |
| | | #define ScreenMaxLength (MAX(SCREEN_WIDTH, SCREEN_HEIGHT)) |
| | | #define ScreenMinLength (MIN(SCREEN_WIDTH, SCREEN_HEIGHT)) |
| | |
| | | #define DEVICE_CONTROL_COMMAND_WATERTIME 9 // 控制每次水循环时长 |
| | | #define DEVICE_CONTROL_COMMAND_VENTILATIONTIME 10 // 控制每次换气时长 |
| | | |
| | | #define BLE_DEVICE_UUID @"0003CDD0-0000-1000-8000-00805F9B0131" |
| | | #define LISTON_DEVICE_UUID @"0003CDD1-0000-1000-8000-00805F9B0131" // 监听 |
| | | #define WRITE_DEVICE_UUID @"0003CDD2-0000-1000-8000-00805F9B0131" // 发消息 |
| | | |
| | | #define FUSHE_MIN_VALUE 0 |
| | | #define FUSHE_SAFE_VALUE 130 // 安全 |
| | | #define FUSHE_GOOD_VALUE 260 // 良好 |
| | | #define FUSHE_CHA_VALUE 390 // 较差 |
| | | #define FUSHE_DANGER_VALUE 520 // 危险 |
| | | #define FUSHE_MAX_VALUE 650 // 警告 |
| | | |