duheng
2025-04-21 3ec9dc154c79b015a249509e84b2768bc52ec6e3
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
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace PBS.WinFrmUI.WE
{
    internal class UtensilSelectViewModel
    {
        internal UtensilSelectViewModel(Vmo.WE.UtensilVmo rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.ParentID = rhs.GroupID;
        }
        internal UtensilSelectViewModel(Vmo.WE.UtensilGroupVmo rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
         }
        public string Name { get; set; }
 
        public long ID { get; set; }
 
        public long ParentID { get; set; }
    }
}