duheng
2024-07-22 03c789a610429c27bb0db8132c4b71f6c618c05b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace HStation.WinFrmUI
{
    public class CurrentPartMainViewModel : PumpPartMainDto
    {
        public CurrentPartMainViewModel()
        {
        }
 
        public CurrentPartMainViewModel(PumpPartMainDto rhs) : base()
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.NO = rhs.NO;
            this.Code = rhs.Code;
            this.SeriesID = rhs.SeriesID;
        }
 
        public void Reset(UpdatePumpPartMainDto rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.NO = rhs.NO;
            this.Code = rhs.Code;
            this.SeriesID = rhs.SeriesID;
        }
    }
}