Exemplo n.º 1
0
        public void UpdateViewer()
        {
            UCCommuniPortConfigUI      ui = (UCCommuniPortConfigUI)_v.UC;
            CommuniPortConfigParameter p  = (CommuniPortConfigParameter)this.Model;

            ui.CommuniPortConfig = p.CommuniPortConfig;
        }
Exemplo n.º 2
0
        public void UpdateModel()
        {
            //throw new NotImplementedException();
            //this.CommuniPortConfigParameter .CommuniPortConfig = this.CommuniPortConfigUI .
            UCCommuniPortConfigUI      ui = (UCCommuniPortConfigUI)_v.UC;
            CommuniPortConfigParameter p  = (CommuniPortConfigParameter)this.Model;

            p.CommuniPortConfig = ui.CommuniPortConfig;
        }