Example #1
0
        /// <summary>
        /// This method returns a S88Types array.
        /// </summary>
        public S88Operation[] GetS88OperationArray()
        {
            int length = GetInt32Range(-1, m_context.MaxArrayLength);

            if (length < 0)
            {
                return null;
            }

            S88Operation[] value = new S88Operation[length];

            for (int ii = 0; ii < value.Length; ii++)
            {
                value[ii] = GetS88Operation();
            }

            return value;
        }
Example #2
0
        /// <summary>
        /// This method returns S88Types.
        /// </summary>
        public S88Operation GetS88Operation()
        {
            S88Operation operation = new S88Operation();

            operation.OperationName = GetString();
            operation.StartTime = GetDateTime();
            operation.EndTime = GetDateTime();
            operation.Phases = GetS88PhaseArray();

            return operation;
        }