public void UpdateViewer() { UCCommuniPortConfigUI ui = (UCCommuniPortConfigUI)_v.UC; CommuniPortConfigParameter p = (CommuniPortConfigParameter)this.Model; ui.CommuniPortConfig = p.CommuniPortConfig; }
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; }