public LogViewModel(UserInformation userInformation) { _pccsBll = new PCCSBll(userInformation); _logBll = new LogViewBll(userInformation); PccsModel = new PCCSModel(); logmodel = new LogModel(); this.selectChangeComboCommandPartNo = new DelegateCommand(this.SelectDataRowPart); LoadCmbDatas(); SetdropDownItems(); }
public QcpViewModel(UserInformation userInformation) { QCPMODEL = new QcpModel(); _pccsBll = new PCCSBll(userInformation); qcpBll = new QcpBll(userInformation); PccsModel = new PCCSModel(); this.selectChangeComboCommandPartNo = new DelegateCommand(this.SelectDataRowPart); this.qcpReportClickCommand = new DelegateCommand(this.qcpReport); LoadCmbDatas(); SetdropDownItems(); //QCPMODEL.PartNo = qcpBll.GetPartNo(QCPMODEL).ToString(); }