Пример #1
0
 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();
 }
Пример #2
0
 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();
 }