00001 #ifndef _POWERSUPPLY_IDL_ 00002 #define _POWERSUPPLY_IDL_ 00003 00004 /******************************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * 00007 * (c) European Southern Observatory, 2002 00008 * Copyright by ESO (in the framework of the ALMA collaboration) 00009 * and Cosylab 2002, All rights reserved 00010 * 00011 * This library is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU Lesser General Public 00013 * License as published by the Free Software Foundation; either 00014 * version 2.1 of the License, or (at your option) any later version. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this library; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 * 00025 * 00026 * "@(#) $Id: acsexmplPowerSupply.idl,v 1.82 2004/01/27 21:13:23 dfugate Exp $" 00027 * 00028 * who when what 00029 * -------- -------- ---------------------------------------------- 00030 */ 00031 00032 #include <baci.idl> 00033 00034 #pragma prefix "alma" 00035 00040 module PS 00041 { 00045 interface PowerSupply : ACS::CharacteristicComponent 00046 { 00058 void on(in ACS::CBvoid cb, in ACS::CBDescIn desc); 00059 00071 void off(in ACS::CBvoid cb, in ACS::CBDescIn desc); 00072 00084 void reset(in ACS::CBvoid cb, in ACS::CBDescIn desc); 00085 00088 readonly attribute ACS::RWdouble current; 00089 00092 readonly attribute ACS::ROdouble readback; 00093 00096 readonly attribute ACS::ROpattern status; 00097 }; 00098 }; 00099 00100 #endif