<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Models
{
	public class Characteristic
	{
		public string PartNumber { get; set; }
		public IList<Measurement> Measurements { get; set; } = new List<Measurement>();

		/// <summary>
		/// K2001
		/// </summary>
		[Display(Name = "K2001", Description = "Characteristic number")]
		public string Number { get; set; }

		/// <summary>
		/// K2002
		/// </summary>
		[Display(Name = "K2002", Description = "Characteristic description")]
		public string Description { get; set; }

		[Display(Name = "K2003", Description = "Characteristic Abbreviation")]
		public string Abbreviation { get; set; }

		[Display(Name = "K2004", Description = "Characteristic Type")]
		public int Type { get; set; }

		[Display(Name = "K2005", Description = "Characteristic Class")]
		public int Class { get; set; }

		[Display(Name = "K2006", Description = "Control Item")]
		public int ControlItem { get; set; }

		[Display(Name = "K2007", Description = "Control Type")]
		public int ControlType { get; set; }

		[Display(Name = "K2008", Description = "Group Type")]
		public int GroupType { get; set; }

		[Display(Name = "K2009", Description = "Measured Quantity")]
		public int MeasuredQuantity { get; set; }

		[Display(Name = "K2011", Description = "Saved Distribution")]
		public int SavedDistribution { get; set; }

		[Display(Name = "K2013", Description = "Natural Class Width")]
		public float NaturalClassWidth { get; set; }

		[Display(Name = "K2015", Description = "Tool Wear Type (Trend)")]
		public int ToolWearType { get; set; }

		[Display(Name = "K2016", Description = "100 % Measurement")]
		public int CompleteMeasurement { get; set; }

		[Display(Name = "K2017", Description = "Alarm Detection Type")]
		public int AlarmDetectionType { get; set; }

		[Display(Name = "K2018", Description = "Acceptance Limit Extended")]
		public int AcceptanceLimitExtended { get; set; }

		[Display(Name = "K2019", Description = "Ordinal Classes Catalogue")]
		public int OrdinalClassesCatalogue { get; set; }

		[Display(Name = "K2021", Description = "Logical Operation Formula")]
		public string LogicalOperationFormula { get; set; }

		[Display(Name = "K2022", Description = "Decimal Places")]
		public int DecimalPlaces { get; set; }

		[Display(Name = "K2023", Description = "Transformation Type")]
		public int TransformationType { get; set; }

		[Display(Name = "K2024", Description = "Transformation Parameter A")]
		public float TransformationParameterA { get; set; }

		[Display(Name = "K2025", Description = "Transformation Parameter B")]
		public float TransformationParameterB { get; set; }

		[Display(Name = "K2026", Description = "Transformation Parameter C")]
		public float TransformationParameterC { get; set; }

		[Display(Name = "K2027", Description = "Transformation Parameter D")]
		public float TransformationParameterD { get; set; }

		[Display(Name = "K2028", Description = "Natural Distribution")]
		public int NaturalDistribution { get; set; }

		[Display(Name = "K2030", Description = "Group Number / ELS-Number")]
		public int GroupNumber { get; set; }

		[Display(Name = "K2031", Description = "Group Element Number / ELS Number for error type of a ELS")]
		public int GroupElementNumber { get; set; }

		[Display(Name = "K2035", Description = "Calibration Date")]
		public DateTime CalibrationDate { get; set; }

		[Display(Name = "K2041", Description = "Recording Type")]
		public int RecordingType { get; set; }

		[Display(Name = "K2042", Description = "Recording Device Number")]
		public int RecordingDeviceNumber { get; set; }

		[Display(Name = "K2043", Description = "Recording Device Name")]
		public string RecordingDeviceName { get; set; }

		[Display(Name = "K2044", Description = "Recording Device Index")]
		public int RecordingDeviceIndex { get; set; }

		[Display(Name = "K2045", Description = "Recording Channel")]
		public int RecordingChannel { get; set; }

		[Display(Name = "K2046", Description = "Recording Sub-channel")]
		public int RecordingSubchannel { get; set; }

		[Display(Name = "K2047", Description = "Software Requirement Index")]
		public int SoftwareRequirementIndex { get; set; }

		[Display(Name = "K2048", Description = "Takeover Channel")]
		public int TakeoverChannel { get; set; }

		[Display(Name = "K2049", Description = "Channel Initialization-Index")]
		public int ChannelInitializationIndex { get; set; }

		[Display(Name = "K2051", Description = "Interface")]
		public int Interface { get; set; }

		[Display(Name = "K2052", Description = "Baud Rate")]
		public int BaudRate { get; set; }

		[Display(Name = "K2053", Description = "IRQ Number")]
		public int IrqNumber { get; set; }

		[Display(Name = "K2054", Description = "Parity")]
		public int Parity { get; set; }

		[Display(Name = "K2055", Description = "Data Bits")]
		public int DataBits { get; set; }

		[Display(Name = "K2056", Description = "Stop Bits")]
		public int StopBits { get; set; }

		[Display(Name = "K2060", Description = "Events Catalogue(action code)")]
		public int EventsCatalogue { get; set; }

		[Display(Name = "K2061", Description = "Process Parameter Catalogue")]
		public int ProcessParameterCatalogue { get; set; }

		[Display(Name = "K2062", Description = "Cavity Catalogue")]
		public int CavityCatalogue { get; set; }

		[Display(Name = "K2063", Description = "Machine catalogue")]
		public int MachineCatalogue { get; set; }

		[Display(Name = "K2064", Description = "Gage Catalogue")]
		public int GageCatalogue { get; set; }

		[Display(Name = "K2065", Description = "Operator Catalogue")]
		public int OperatorCatalogue { get; set; }

		[Display(Name = "K2066", Description = "Sub-catalogue K0061")]
		public int SubcatalogueK0061 { get; set; }

		[Display(Name = "K2067", Description = "Sub-catalogue K0062")]
		public int SubcatalogueK0062 { get; set; }

		[Display(Name = "K2068", Description = "Sub-catalogue K0063")]
		public int SubcatalogueK0063 { get; set; }

		[Display(Name = "K2071", Description = "Accumulating Constant")]
		public float AccumulatingConstant { get; set; }

		[Display(Name = "K2072", Description = "Multiplication Factor")]
		public float MultiplicationFactor { get; set; }

		[Display(Name = "K2073", Description = "Dimension Of The Calibration Master")]
		public float DimensionOfTheCalibrationMaster { get; set; }

		[Display(Name = "K2074", Description = "Actual Offset For Calibration Measurements")]
		public float ActualOffsetForCalibrationMeasurements { get; set; }

		[Display(Name = "K2075", Description = "Amplification Factor For Calibration Measurements")]
		public float AmplificationFactorForCalibrationMeasurements { get; set; }

		//This is dup in specification
		[Display(Name = "K2076", Description = "Calibration Date")]
		public DateTime CalibrationDate1 { get; set; }

		[Display(Name = "K2080", Description = "Characteristic Satus(activated, deactivated)")]
		public int CharacteristicSatus { get; set; }<commit_msg>Update Characteristic.cs<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Models
{
	public class Characteristic
	{
		public string PartNumber { get; set; }
		public IList<Measurement> Measurements { get; set; } = new List<Measurement>();

		/// <summary>
		/// K2001
		/// </summary>
		[Display(Name = "K2001", Description = "Characteristic number")]
		public string Number { get; set; }

		/// <summary>
		/// K2002
		/// </summary>
		[Display(Name = "K2002", Description = "Characteristic description")]
		public string Description { get; set; }

		[Display(Name = "K2003", Description = "Characteristic Abbreviation")]
		public string Abbreviation { get; set; }

		[Display(Name = "K2004", Description = "Characteristic Type")]
		public int Type { get; set; }

		[Display(Name = "K2005", Description = "Characteristic Class")]
		public int Class { get; set; }

		[Display(Name = "K2006", Description = "Control Item")]
		public int ControlItem { get; set; }

		[Display(Name = "K2007", Description = "Control Type")]
		public int ControlType { get; set; }

		[Display(Name = "K2008", Description = "Group Type")]
		public int GroupType { get; set; }

		[Display(Name = "K2009", Description = "Measured Quantity")]
		public int MeasuredQuantity { get; set; }

		[Display(Name = "K2011", Description = "Saved Distribution")]
		public int SavedDistribution { get; set; }

		[Display(Name = "K2013", Description = "Natural Class Width")]
		public float NaturalClassWidth { get; set; }

		[Display(Name = "K2015", Description = "Tool Wear Type (Trend)")]
		public int ToolWearType { get; set; }

		[Display(Name = "K2016", Description = "100 % Measurement")]
		public int CompleteMeasurement { get; set; }

		[Display(Name = "K2017", Description = "Alarm Detection Type")]
		public int AlarmDetectionType { get; set; }

		[Display(Name = "K2018", Description = "Acceptance Limit Extended")]
		public int AcceptanceLimitExtended { get; set; }

		[Display(Name = "K2019", Description = "Ordinal Classes Catalogue")]
		public int OrdinalClassesCatalogue { get; set; }

		[Display(Name = "K2021", Description = "Logical Operation Formula")]
		public string LogicalOperationFormula { get; set; }

		[Display(Name = "K2022", Description = "Decimal Places")]
		public int DecimalPlaces { get; set; }

		[Display(Name = "K2023", Description = "Transformation Type")]
		public int TransformationType { get; set; }

		[Display(Name = "K2024", Description = "Transformation Parameter A")]
		public float TransformationParameterA { get; set; }

		[Display(Name = "K2025", Description = "Transformation Parameter B")]
		public float TransformationParameterB { get; set; }

		[Display(Name = "K2026", Description = "Transformation Parameter C")]
		public float TransformationParameterC { get; set; }

		[Display(Name = "K2027", Description = "Transformation Parameter D")]
		public float TransformationParameterD { get; set; }

		[Display(Name = "K2028", Description = "Natural Distribution")]
		public int NaturalDistribution { get; set; }

		[Display(Name = "K2030", Description = "Group Number / ELS-Number")]
		public int GroupNumber { get; set; }

		[Display(Name = "K2031", Description = "Group Element Number / ELS Number for error type of a ELS")]
		public int GroupElementNumber { get; set; }

		[Display(Name = "K2035", Description = "Calibration Date")]
		public DateTime CalibrationDate { get; set; }

		[Display(Name = "K2041", Description = "Recording Type")]
		public int RecordingType { get; set; }

		[Display(Name = "K2042", Description = "Recording Device Number")]
		public int RecordingDeviceNumber { get; set; }

		[Display(Name = "K2043", Description = "Recording Device Name")]
		public string RecordingDeviceName { get; set; }

		[Display(Name = "K2044", Description = "Recording Device Index")]
		public int RecordingDeviceIndex { get; set; }

		[Display(Name = "K2045", Description = "Recording Channel")]
		public int RecordingChannel { get; set; }

		[Display(Name = "K2046", Description = "Recording Sub-channel")]
		public int RecordingSubchannel { get; set; }

		[Display(Name = "K2047", Description = "Software Requirement Index")]
		public int SoftwareRequirementIndex { get; set; }

		[Display(Name = "K2048", Description = "Takeover Channel")]
		public int TakeoverChannel { get; set; }

		[Display(Name = "K2049", Description = "Channel Initialization-Index")]
		public int ChannelInitializationIndex { get; set; }

		[Display(Name = "K2051", Description = "Interface")]
		public int Interface { get; set; }

		[Display(Name = "K2052", Description = "Baud Rate")]
		public int BaudRate { get; set; }

		[Display(Name = "K2053", Description = "IRQ Number")]
		public int IrqNumber { get; set; }

		[Display(Name = "K2054", Description = "Parity")]
		public int Parity { get; set; }

		[Display(Name = "K2055", Description = "Data Bits")]
		public int DataBits { get; set; }

		[Display(Name = "K2056", Description = "Stop Bits")]
		public int StopBits { get; set; }

		[Display(Name = "K2060", Description = "Events Catalogue(action code)")]
		public int EventsCatalogue { get; set; }

		[Display(Name = "K2061", Description = "Process Parameter Catalogue")]
		public int ProcessParameterCatalogue { get; set; }

		[Display(Name = "K2062", Description = "Cavity Catalogue")]
		public int CavityCatalogue { get; set; }

		[Display(Name = "K2063", Description = "Machine catalogue")]
		public int MachineCatalogue { get; set; }

		[Display(Name = "K2064", Description = "Gage Catalogue")]
		public int GageCatalogue { get; set; }

		[Display(Name = "K2065", Description = "Operator Catalogue")]
		public int OperatorCatalogue { get; set; }

		[Display(Name = "K2066", Description = "Sub-catalogue K0061")]
		public int SubcatalogueK0061 { get; set; }

		[Display(Name = "K2067", Description = "Sub-catalogue K0062")]
		public int SubcatalogueK0062 { get; set; }

		[Display(Name = "K2068", Description = "Sub-catalogue K0063")]
		public int SubcatalogueK0063 { get; set; }

		[Display(Name = "K2071", Description = "Accumulating Constant")]
		public float AccumulatingConstant { get; set; }

		[Display(Name = "K2072", Description = "Multiplication Factor")]
		public float MultiplicationFactor { get; set; }

		[Display(Name = "K2073", Description = "Dimension Of The Calibration Master")]
		public float DimensionOfTheCalibrationMaster { get; set; }

		[Display(Name = "K2074", Description = "Actual Offset For Calibration Measurements")]
		public float ActualOffsetForCalibrationMeasurements { get; set; }

		[Display(Name = "K2075", Description = "Amplification Factor For Calibration Measurements")]
		public float AmplificationFactorForCalibrationMeasurements { get; set; }

		//This is dup in specification
		[Display(Name = "K2076", Description = "Calibration Date")]
		public DateTime CalibrationDate1 { get; set; }

		[Display(Name = "K2080", Description = "Characteristic Status(activated, deactivated)")]
		public int CharacteristicStatus { get; set; }
{'fraction_non_alphanumeric': 0.13421818439917665, 'fraction_numerical': 0.03804386400738165, 'mean_word_length': 4.670020120724346, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '204086', 'n_tokens_mistral': 4859, 'n_tokens_neox': 4130, 'n_words': 1299}