private static RowColumnObject FillAttribute(RowColumnObject attribute) { return(new RowColumnObject { Id = attribute.Id, Type = attribute.Type, Name = attribute.Name, IsClass = attribute.IsClass, Precision = attribute.Precision, }); }
private static MatrixRowColumn GetMatrixRowColumn( long testObjectId, RowColumnObject attribute, GroupOfDataObjectsCover[] objectsGroups) { var first = FindById(testObjectId, objectsGroups); return(new MatrixRowColumn { Id = attribute.Id, Name = attribute.Name, Value = attribute.Value, LOW = first.LOW, HIGH = first.HIGH }); }
private static bool GetValue( string value, RowColumnObject attribute) { bool convertresult = double.TryParse(value, out var converted); if (!convertresult) { return(true); } attribute.Value = converted; return(false); }