文件名从 WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/00-ViewModel/TreelistViewModel.cs 修改 |
| | |
| | | { |
| | | } |
| | | |
| | | public CurrentTreeViewModel(Vmo.PumpSeries rhs, long PumpTypeID) : base() |
| | | public CurrentTreeViewModel(Vmo.PumpSeriesVmo rhs, long PumpTypeID) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.CatalogID = rhs.CatalogID; |
| | |
| | | this.ImageIndex = ImageLib.Series; |
| | | } |
| | | |
| | | public CurrentTreeViewModel(Vmo.PumpType rhs) : base() |
| | | public CurrentTreeViewModel(Vmo.PumpTypeVmo rhs) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.ImageIndex = ImageLib.Type; |
| | | } |
| | | |
| | | public CurrentTreeViewModel(Vmo.PumpGroup rhs) : base() |
| | | public CurrentTreeViewModel(Vmo.PumpGroupVmo rhs) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.ImageIndex = ImageLib.Group; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpSeries rhs) |
| | | public void Reset(Vmo.PumpSeriesVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.CatalogID = rhs.CatalogID; |
| | |
| | | this.Model = rhs; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpGroup rhs) |
| | | public void Reset(Vmo.PumpGroupVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.Model = rhs; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpType rhs) |
| | | public void Reset(Vmo.PumpTypeVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |