Esempio n. 1
0
        public void Read(BinaryReader binaryReader)
        {
            ROCPlusHistoryRecords.Clear();
            IsNull = binaryReader.ReadBoolean();

            if (IsNull)
            {
                return;
            }
            else
            {
                var length = binaryReader.ReadInt32();

                for (var i = 0; length > i; i++)
                {
                    var rocPlusHistoryRecord = new ROCPlusHistoryRecord();
                    rocPlusHistoryRecord.Read(binaryReader);
                    ROCPlusHistoryRecords.Add(rocPlusHistoryRecord);
                }
            }
        }
Esempio n. 2
0
 public ROCPlusHistoryRecordArray AddROCPlusHistoryRecord(ROCPlusHistoryRecord rocPlusHistoryRecord)
 {
     ROCPlusHistoryRecords.Add(rocPlusHistoryRecord);
     return(this);
 }
Esempio n. 3
0
 public override string ToString()
 {
     return(string.Join("|", ROCPlusHistoryRecords.Select(parameter => parameter.ToString())));
 }