//
//  KLTLocalSettingManager.h
//  KaiLiTe
//
//  Created by yuwell on 2024/7/25.
//  Copyright © 2024 boosal. All rights reserved.
//  全局的UserDefault数据的管理、方便从缓存读取

#import <Foundation/Foundation.h>
#import "KLTCommonDefine.h"

NS_ASSUME_NONNULL_BEGIN

@interface KLTLocalSettingManager : NSObject

+ (KLTLocalSettingManager *)shareInstance;

// 默认使用mg/dL单位
@property (nonatomic, assign) BOOL unitMGSetting;

// 血糖上下限数组（分单位保存）
@property (nonatomic, copy) NSArray<NSString *> *mmolGluLimits;
@property (nonatomic, copy) NSArray<NSString *> *mgGluLimits;

// 提醒设置页的告警类型设置(默认KLTRemindAlertKindMediaTypeNOSoundVibration无声音+无震动)、免打扰设置（默认NO）
@property (nonatomic, assign) KLTRemindAlertKindMediaType alertKindValue;

// 传感器设备二维码信息
@property (nonatomic, copy) NSString *deviceInfoSensor;
// 是否数字开头
@property (nonatomic, assign) BOOL hasNumberPrefix;

// 是否能连其他发射器 NO:标识当前已绑定发射器 YES：当前未绑定发射器
//“Whether another transmitter can be connected”
//NO – a transmitter is already bound.
//YES – no transmitter is currently bound.

@property (nonatomic, assign) BOOL canConnectOtherDevice;

@end

NS_ASSUME_NONNULL_END
