#import <Foundation/Foundation.h>
#import "MPosResults.h"
#import "MPosDefines.h"
#import "MPosDeviceInfo.h"

@interface UDPSetting : NSObject

+(NSArray<MPosDeviceInfo*>*) getNetworkInfos;

+(MPOS_RESULT) setNetworkInfo:(MPosDeviceInfo*)target
                    ipAddress:(NSString*)ipAddress
                   subnetMask:(NSString*)subnetMask
                      gateway:(NSString*)gateway
                      useDhcp:(NSNumber*)useDhcp
                   portNumber:(NSNumber*)portNumber
               inactivityTime:(NSNumber*)inActivityTime
                   systemName:(NSString*)systemName
                      timeout:(NSNumber*)timeout;

+(MPOS_RESULT) setNetworkInfoWithMacAddress:(NSString*)targetMacAddress
                                  ipAddress:(NSString*)ipAddress
                                 subnetMask:(NSString*)subnetMask
                                    gateway:(NSString*)gateway
                                    useDhcp:(NSNumber*)useDhcp
                                 portNumber:(NSNumber*)portNumber
                             inactivityTime:(NSNumber*)inActivityTime
                                 systemName:(NSString*)systemName
                                    timeout:(NSNumber*)timeout;

@end
