public BackgroundDataServer(Dictionary <string, RealData> backupCodeDic) { _CodesList = new HashSet <Contract>(); _DelListCode = new List <Contract>(); _CommObj = new BackgroundReportTableCommObj(this); _CodeDic = backupCodeDic; _Mutex = new Mutex(); _Locker = new object(); }
public BackgroundDataServer(ObservableCollection <DisplayRealData> realList, Dictionary <string, RealData> backupCodeDic, List <Contract> delCodeList, ObservableCollection <Contract> codeArray, ObservableCollection <Contract> oldCodeArray) { //m_displayRealDataList = new ObservableCollection<RealData>(); _CodeDic = new Dictionary <string, RealData>(); _CodesList = new HashSet <Contract>(); //m_otherRealData = new QHOtherRealData(); _DelListCode = new List <Contract>(); _CommObj = new BackgroundReportTableCommObj(this); m_codeArray = new ObservableCollection <Contract>(); m_oldCodeArray = new ObservableCollection <Contract>(); //m_displayRealDataList = realList; _CodeDic = backupCodeDic; m_codeArray = codeArray; m_oldCodeArray = oldCodeArray; _Mutex = new Mutex(); _Locker = new object(); }