Esempio n. 1
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + 1;                                   // _controlType
            marshalSize = marshalSize + 1;                                   // _communicationsChannelType
            marshalSize = marshalSize + _sourceEntityID.getMarshalledSize(); // _sourceEntityID
            marshalSize = marshalSize + 1;                                   // _sourceCommunicationsDeviceID
            marshalSize = marshalSize + 1;                                   // _sourceLineID
            marshalSize = marshalSize + 1;                                   // _transmitPriority
            marshalSize = marshalSize + 1;                                   // _transmitLineState
            marshalSize = marshalSize + 1;                                   // _command
            marshalSize = marshalSize + _masterEntityID.getMarshalledSize(); // _masterEntityID
            marshalSize = marshalSize + 2;                                   // _masterCommunicationsDeviceID
            marshalSize = marshalSize + 4;                                   // _intercomParametersLength
            for (int idx = 0; idx < _intercomParameters.Count; idx++)
            {
                IntercomCommunicationsParameters listElement = (IntercomCommunicationsParameters)_intercomParameters[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }