Exemplo n.º 1
0
        /// <summary>
        /// Implemenation for for required GoOffline Action: runs the corresponding command on the related IPort instance and returns its result
        /// </summary>
        protected override string PerformGoOfflineAction()
        {
            IBasicAction iba = (IBasicAction)port.CreateGoOfflineAction();
            string       rc  = iba.Run();

            PerformMainLoopService();
            return(rc);
        }
Exemplo n.º 2
0
 /// <summary>Provides the implementation of the Standard GoOffline Action.  Runs a pass through GoOffline action on the contained Port object.</summary>
 protected override string PerformGoOfflineAction()
 {
     return(InnerRunRelayAction(port.CreateGoOfflineAction(), "GoOffline"));;
 }