コード例 #1
0
ファイル: Node.cs プロジェクト: boskomijin/SGApp
        /// <summary>
        /// Presenter instances to communcation with server
        /// </summary>
        private void InstantiatePresenters()
        {
            //node presenters
            nodePresenter = new NodePresenter();
            nodeTypePresenter = new NodeTypePresenter();
            nodeActiveLoadPresenter = new NodeActiveLoadPresenter();
            nodeReactiveLoadPresenter = new NodeReactiveLoadPresenter();
            nodeVoltagePresenter = new NodeVoltagePresenter();

            //branch presenters
            branchPresenter = new BranchPresenter();
            branchResistancePresenter = new BranchResistancePresenter();
            branchReactancePresenter = new BranchReactancePresenter();

            //address presenters
            addressPresenter = new AddressPresenter();
            statePresenter = new StatePresenter();
            countryPresenter = new CountryPresenter();
        }
コード例 #2
0
ファイル: User.cs プロジェクト: boskomijin/SGApp
 /**
  * Presenter instances to communcation with server
  */
 private void InstantiatePresenters()
 {
     userPresenter = new UserPresenter();
     userSystemInformationPresenter = new UserSystemInformationPresenter();
     userPersonalDetailsPresenter = new UserPersonalDetailsPresenter();
     userContactDetailsPresenter = new UserContactDetailsPresenter();
     userTypePresenter = new UserTypePresenter();
     addressPresenter = new AddressPresenter();
     statePresenter = new StatePresenter();
     countryPresenter = new CountryPresenter();
 }