Example #1
0
        /// <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();
        }
Example #2
0
 /**
  * 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();
 }