private static IpModel toModel(ControllerCenter.Model.IpModel obj)
 {
     return(new IpModel()
     {
         Id = obj.Id, IpName = obj.IpName
     });
 }
Exemplo n.º 2
0
 public IpModelAdd(ControllerCenter.Model.IpModel ipModel)
 {
     InitializeComponent();
     InitUI(ipModel);
 }
Exemplo n.º 3
0
 private void InitUI(ControllerCenter.Model.IpModel ipModel)
 {
     this._IpModelInfoViewModel = new ControllerCenter.MVVM.ViewModel.IpModel.IpModelInfoViewModel(this);
     this.DataContext           = this._IpModelAddViewModel;
 }