| | |
| | | public TankViewModel(Vmo.AssetsTankMainVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | this.SortCode = rhs.SortCode; |
| | | this.MinLevel = rhs.MinLevel; |
| | | this.MaxLevel = rhs.MaxLevel; |
| | | this.DN = rhs.DN; |
| | | this.MinVol = rhs.MinVol; |
| | | this.OverFlow = rhs.OverFlow; |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | public void Reset(Vmo.AssetsTankMainVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | this.MinLevel = rhs.MinLevel; |
| | | this.MaxLevel = rhs.MaxLevel; |
| | | this.DN = rhs.DN; |
| | | this.MinVol = rhs.MinVol; |
| | | this.OverFlow = rhs.OverFlow; |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | /// <summary> |