//
//  RealDataProc.h
//  SmartVIGS
//
//  Created by itgen on 11. 3. 30..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

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

@protocol IRealDataDeleage;

@interface RealDataProc : MVRealDataProc
{
}

- (void)initData;
- (void)setRealDataDelegate:(id <IRealDataDeleage>)delegate;
- (void)setRealID:(NSString*)realID;
- (NSString*)getRealID;
- (void)requestRealData:(BOOL)isCheckLogin;
- (void)setFieldData:(NSString*)sBlockName fieldName:(NSString*)sFieldName index:(int)nIndex value:(NSString*)sValue;
- (NSString*)getFieldData:(NSString*)sBlockName fieldName:(NSString*)sFieldName index:(int)nIndex;
- (unsigned char)getFieldAttr:(NSString*)sBlockName fieldName:(NSString*)sFieldName index:(int)nIndex;
- (int) getDataCount:(NSString*)sBlockName;
- (NSArray*)getInputBlockNames;
- (NSArray*)getOutBlockNames;
- (BOOL)isAccountNoField:(NSString*)blockID fieldID:(NSString*)fieldID;
- (BOOL)isEncryptField:(NSString*)blockID fieldID:(NSString*)fieldID;
- (BOOL)isItemCodeField:(NSString*)blockID fieldID:(NSString*)fieldID;
- (NSString*)getFieldName:(NSString*)blockID fieldID:(NSString*)fieldID;
@end
