Exemplo n.º 1
0
        public sensor(DataRow row)
        {
            // pull sensor description data from data row
            this.id = (int)row["ID"];
            this.description = row.hasColumn("fdDescription") ? (string)row["fdDescription"] : null;

            // pull current condition data for sensor from row
            this.currentConditions = new sensorData(row);
        }