RtjAocsFramework.TelecommandManagement
Class ModeChangeTransactionTelecommand
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.TelecommandManagement.Telecommand
|
+--RtjAocsFramework.TelecommandManagement.TransactionTelecommand
|
+--RtjAocsFramework.TelecommandManagement.ModeChangeTransactionTelecommand
- public class ModeChangeTransactionTelecommand
- extends TransactionTelecommand
Transaction telecommand to command a change in the operational mode of a
mode manager.
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Alessandro Pasetti (University of Konstanz)
- See Also:
- The Telecommand Framelet Document.
|
Method Summary |
short |
execute()
Change the mode of the target mode manager and check the mode change
was correctly performed. |
short |
unExecute()
Restore the mode of the target mode manager to its old value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModeChangeTransactionTelecommand
public ModeChangeTransactionTelecommand(int timeTag,
ModeManager m,
int newMode)
- Create the telecommand object by specifying the time tag, the target
mode manager and the new operational mode.
execute
public short execute()
- Change the mode of the target mode manager and check the mode change
was correctly performed. If the mode change was not successful, the
telecommand is unExecuted.
- Overrides:
execute in class TransactionTelecommand
- See Also:
Telecommand.execute()
unExecute
public short unExecute()
- Restore the mode of the target mode manager to its old value.
- Overrides:
unExecute in class TransactionTelecommand
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland