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:
Douglas Clowes
2007-05-14 08:26:24 +10:00
parent bc3224a9c4
commit a181e68d36

View File

@@ -14,7 +14,8 @@
#include <fortify.h>
#include <sics.h>
#include <motor.h>
#include <multichan.h>
#include <asyncprotocol.h>
#include <asyncqueue.h>
#include <tcl.h>
#include <site.h>
#include <SCinter.h>
@@ -59,16 +60,19 @@ static pSite /*@null@*/ siteANSTO = NULL;
/*----------------------------------------------------------------------*/
static void AddCommands(SicsInterp *pInter)
{
(void) AddCommand(pInter,"MakeTCPSelector",VelSelTcpFactory,NULL,NULL);
(void) AddCommand(pInter,"portnum",portNumCmd,NULL,NULL);
// (void) AddCommand(pInter,"MakePLC",MakePLC,NULL,NULL);
DMC2280InitProtocol(pInter);
SafetyPLCInitProtocol(pInter);
NHQ200InitProtocol(pInter);
AddCommand(pInter,"MakeTCPSelector",VelSelTcpFactory,NULL,NULL);
AddCommand(pInter,"portnum",portNumCmd,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);
}
/*---------------------------------------------------------------------*/
static void RemoveCommands(SicsInterp *pSics){
// RemoveCommand(pInter,"MakePLC");
}
/*-------------------------------------------------------------------*/
/*@null@*/ static pMotor CreateMotorAnsto(SConnection *pCon, int argc, char *argv[])