nucho
/
RTno_MotorControl
Diff: RTno/PortBase.h
- Revision:
- 1:7f0fc0d1f777
- Parent:
- 0:3c49891bc39d
--- a/RTno/PortBase.h Fri Jul 29 11:23:44 2011 +0000 +++ b/RTno/PortBase.h Mon Aug 01 14:46:08 2011 +0000 @@ -28,12 +28,20 @@ int isSequenceType() { switch(m_TypeCode) { + /* case 'b': case 'B': case 'o': case 'O': case 'c': case 'C': + */ + case 'b': + case 'o': + case 'c': + case 'l': + case 'f': + case 'd': return 0; default: return 1; @@ -42,7 +50,7 @@ int GetLength() { if(!isSequenceType()) { - return 1; + return 1; } else { return ((TimedDataSeq*)m_pData)->GetBuffer()->length(); }