| | |
| | | { |
| | | } |
| | | |
| | | public CurrentTreeViewModel(Vmo.PumpSeriesVmo rhs, long PumpTypeID) : base() |
| | | public CurrentTreeViewModel(Vmo.AssetsPumpSeriesVmo rhs, long PumpTypeID) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.CatalogID = rhs.CatalogID; |
| | |
| | | this.ImageIndex = ImageLib.Series; |
| | | } |
| | | |
| | | public CurrentTreeViewModel(Vmo.PumpTypeVmo rhs) : base() |
| | | public CurrentTreeViewModel(Vmo.AssetsPumpTypeVmo rhs) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.ImageIndex = ImageLib.Type; |
| | | } |
| | | |
| | | public CurrentTreeViewModel(Vmo.PumpGroupVmo rhs) : base() |
| | | public CurrentTreeViewModel(Vmo.AssetsPumpGroupVmo rhs) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.ImageIndex = ImageLib.Group; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpSeriesVmo rhs) |
| | | public void Reset(Vmo.AssetsPumpSeriesVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.CatalogID = rhs.CatalogID; |
| | |
| | | this.Model = rhs; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpGroupVmo rhs) |
| | | public void Reset(Vmo.AssetsPumpGroupVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.Model = rhs; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpTypeVmo rhs) |
| | | public void Reset(Vmo.AssetsPumpTypeVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |