rtreset.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- Python -*-
00003 # -*- coding: utf-8 -*-
00004 
00005 '''rtshell
00006 
00007 Copyright (C) 2009-2014
00008     Geoffrey Biggs
00009     RT-Synthesis Research Group
00010     Intelligent Systems Research Institute,
00011     National Institute of Advanced Industrial Science and Technology (AIST),
00012     Japan
00013     All rights reserved.
00014 Licensed under the Eclipse Public License -v 1.0 (EPL)
00015 http://www.opensource.org/licenses/eclipse-1.0.txt
00016 
00017 Implementation of the command to move a component from the error state to the
00018 inactive state.
00019 
00020 '''
00021 
00022 
00023 import state_control_base
00024 
00025 
00026 def reset_action(object, ec_index):
00027     object.reset_in_ec(ec_index)
00028 
00029 
00030 def main(argv=None, tree=None):
00031     return state_control_base.base_main('Reset a component.', reset_action,
00032             argv)
00033 
00034 
00035 # vim: tw=79
00036 


rtshell
Author(s): Geoffrey Biggs
autogenerated on Fri Aug 28 2015 12:55:12