| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Yw.Dto; |
| | | using Yw.Dto; |
| | | |
| | | namespace HStation.WinFrmUI.Auth |
| | | { |
| | |
| | | this.Type = rhs.Type; |
| | | this.Permission = rhs.Permission; |
| | | this.IsHide = rhs.IsHide; |
| | | if(rhs.Weight == Yw.Vmo.eAuthWeight.Normal) |
| | | if (rhs.Weight == Yw.Vmo.eAuthWeight.Normal) |
| | | { |
| | | this.Weight = Yw.Auth.eAuthWeight.Normal; |
| | | } |
| | | else if(rhs.Weight == Yw.Vmo.eAuthWeight.Admin) |
| | | else if (rhs.Weight == Yw.Vmo.eAuthWeight.Admin) |
| | | { |
| | | this.Weight = Yw.Auth.eAuthWeight.Admin; |
| | | } |