public override void OnParamterChanged(object parameter) { this.EquRepairsInfo = parameter as EquRepairsInfoModel; this.EquipmentModel = EquipmentInfoList.Where(x => x.Id == Guid.Parse(EquRepairsInfo.EquipmentInfo_Id)).FirstOrDefault(); this.EquSparePartsInfo = EquSparePartsInfoList.Where(x => x.Id == Guid.Parse(EquRepairsInfo.SparePartsInfo_Id)).FirstOrDefault(); }