Exemplo n.º 1
0
        private void Parse(Messages.CSVCMsg_SendTable dataTable)
        {
            this.Name = dataTable.net_table_name;

            foreach (var prop in dataTable.props)
            {
                SendTableProperty property = new SendTableProperty()
                {
                    DataTableName    = prop.dt_name,
                    HighValue        = prop.high_value,
                    LowValue         = prop.low_value,
                    Name             = prop.var_name,
                    NumberOfBits     = prop.num_bits,
                    NumberOfElements = prop.num_elements,
                    Priority         = prop.priority,
                    RawFlags         = prop.flags,
                    RawType          = prop.type
                };

                properties.Add(property);
            }
        }
Exemplo n.º 2
0
 public SendTable(Messages.CSVCMsg_SendTable dataTable)
 {
     Parse(dataTable);
 }