示例#1
0
 public void setResult(ResultModel resultModel)
 {
     this.itemCode_               = resultModel.ItemCode_;
     this.price_                  = resultModel.Price_;
     this.unitPrice_              = resultModel.UnitPrice_;
     this.referenceDateResult_    = new ReferenceDateResultViewModel(resultModel);
     this.historyResultViewModel_ = new HistoryResultViewModel();
 }
 public void setResult(ResultModel resultModel)
 {
     this.itemCode_ = resultModel.ItemCode_;
     this.price_ = resultModel.Price_;
     this.unitPrice_ = resultModel.UnitPrice_;
     this.referenceDateResult_ = new ReferenceDateResultViewModel(resultModel);
     this.historyResultViewModel_ = new HistoryResultViewModel();
 }