//
//  System.h
//
//  Created by mac on 2018/12/20.
//  Copyright © 2018年 zyl. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, ConnectMethod) {
    ConnectMethod_TCP,
    ConnectMethod_MQTT,
};

@interface System : NSObject
+ (System *)sharedSystem;
- (void)setConnectMethod:(ConnectMethod)method;
- (ConnectMethod)getConnectMethod;
- (void)setIp:(NSString *)ip;
- (NSString *)getIp;
- (void)setPort:(NSString *)port;
- (NSString *)getPort;
- (void)setMQTTIp:(NSString *)ip;
- (NSString *)getMQTTIp;
- (void)setMQTTPort:(NSString *)port;
- (NSString *)getMQTTPort;
- (void)setStopTime:(NSString *)time;
- (NSString *)getStopTime;
- (void)setSubscribeRFIDTopic:(BOOL)subscribe;
- (BOOL)getSubscribeRFIDTopic;
- (void)setHIDStatus:(BOOL)hidStatus;
- (BOOL)getHIDStatus;
@end
