multichan becomes AsyncQueue and AsyncProtocol
r1960 | dcl | 2007-05-14 08:26:24 +1000 (Mon, 14 May 2007) | 2 lines
This commit is contained in:
@@ -14,7 +14,8 @@
|
|||||||
#include <fortify.h>
|
#include <fortify.h>
|
||||||
#include <sics.h>
|
#include <sics.h>
|
||||||
#include <motor.h>
|
#include <motor.h>
|
||||||
#include <multichan.h>
|
#include <asyncprotocol.h>
|
||||||
|
#include <asyncqueue.h>
|
||||||
#include <tcl.h>
|
#include <tcl.h>
|
||||||
#include <site.h>
|
#include <site.h>
|
||||||
#include <SCinter.h>
|
#include <SCinter.h>
|
||||||
@@ -59,16 +60,19 @@ static pSite /*@null@*/ siteANSTO = NULL;
|
|||||||
/*----------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------*/
|
||||||
static void AddCommands(SicsInterp *pInter)
|
static void AddCommands(SicsInterp *pInter)
|
||||||
{
|
{
|
||||||
(void) AddCommand(pInter,"MakeTCPSelector",VelSelTcpFactory,NULL,NULL);
|
DMC2280InitProtocol(pInter);
|
||||||
(void) AddCommand(pInter,"portnum",portNumCmd,NULL,NULL);
|
SafetyPLCInitProtocol(pInter);
|
||||||
// (void) AddCommand(pInter,"MakePLC",MakePLC,NULL,NULL);
|
NHQ200InitProtocol(pInter);
|
||||||
|
AddCommand(pInter,"MakeTCPSelector",VelSelTcpFactory,NULL,NULL);
|
||||||
|
AddCommand(pInter,"portnum",portNumCmd,NULL,NULL);
|
||||||
AddCommand(pInter,"MakeHMControl_ANSTO",MakeHMControl_ANSTO,NULL,NULL);
|
AddCommand(pInter,"MakeHMControl_ANSTO",MakeHMControl_ANSTO,NULL,NULL);
|
||||||
AddCommand(pInter,"MakeMultiChan",MultiChanFactory,NULL,NULL);
|
AddCommand(pInter,"MakeAsyncProtocol",AsyncProtocolFactory,NULL,NULL);
|
||||||
|
AddCommand(pInter,"MakeAsyncQueue",AsyncQueueFactory,NULL,NULL);
|
||||||
|
AddCommand(pInter,"MakeMultiChan",AsyncQueueFactory,NULL,NULL);
|
||||||
AddCommand(pInter,"MakeSafetyPLC",SafetyPLCFactory,NULL,NULL);
|
AddCommand(pInter,"MakeSafetyPLC",SafetyPLCFactory,NULL,NULL);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------*/
|
||||||
static void RemoveCommands(SicsInterp *pSics){
|
static void RemoveCommands(SicsInterp *pSics){
|
||||||
// RemoveCommand(pInter,"MakePLC");
|
|
||||||
}
|
}
|
||||||
/*-------------------------------------------------------------------*/
|
/*-------------------------------------------------------------------*/
|
||||||
/*@null@*/ static pMotor CreateMotorAnsto(SConnection *pCon, int argc, char *argv[])
|
/*@null@*/ static pMotor CreateMotorAnsto(SConnection *pCon, int argc, char *argv[])
|
||||||
|
|||||||
Reference in New Issue
Block a user