Skip to content
Snippets Groups Projects
Commit 21439c63 authored by Sebastien Leport's avatar Sebastien Leport
Browse files

status modification

parent cc2f05fa
No related branches found
No related tags found
No related merge requests found
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/SY900S_channel/src/SY900S_Channel.cpp,v 1.1.1.1 2006-08-02 07:46:44 stephle Exp $";
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/SY900S_channel/src/SY900S_Channel.cpp,v 1.2 2006-08-03 07:45:29 sebleport Exp $";
//+=============================================================================
//
// file : SY900S_Channel.cpp
......@@ -11,11 +11,14 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentatio
//
// project : TANGO Device Server
//
// $Author: stephle $
// $Author: sebleport $
//
// $Revision: 1.1.1.1 $
// $Revision: 1.2 $
//
// $Log: not supported by cvs2svn $
// Revision 1.1.1.1 2006/08/02 07:46:44 stephle
// initial import
//
//
// copyleft : Synchrotron SOLEIL
// L'Orme des Merisiers
......@@ -382,21 +385,21 @@ Tango::ConstDevString SY900S_Channel::dev_status()
if(state == 0)
{
set_state(Tango::OFF);
set_status("switch off");
// set_status("switch off");
}
if(state == 8)
{
set_state(Tango::ON);
set_status("switch on");
// set_status("switch on");
}
if(state == 16)
{
set_state(Tango::RUNNING);
set_status("hardware busy");
// set_status("hardware busy");
}
return argout;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment