Files
DP44/Common/DTS.Common/.svn/pristine/18/181eba9d952d6e5679626282ab0761b0c31c33ba.svn-base

42 lines
1.3 KiB
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
using DTS.Common.Classes.Sensors;
using DTS.Common.Enums.Sensors;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DTS.Common.Interface.Sensors
{
public interface ISensorCalDbRecord
{
[Key]
int? CalibrationId { get; set; }
string SerialNumber { get; set; }
[Column(TypeName = "datetime")]
DateTime CalibrationDate { get; set; }
[Required]
[StringLength(50)]
string Username { get; set; }
bool LocalOnly { get; set; }
bool NonLinear { get; set; }
[Required]
[StringLength(255)]
ICalibrationRecords Records { get; set; }
[Column(TypeName = "datetime")]
DateTime ModifyDate { get; set; }
bool IsProportional { get; set; }
bool RemoveOffset { get; set; }
[Required]
[StringLength(255)]
ZeroMethods ZeroMethods { get; set; }
[Required]
[StringLength(2048)]
string[] CertificationDocuments { get; set; }
InitialOffsets InitialOffsets { get; set; }
bool LinearAdded { get; }
SensitivityInspectionType SensitivityInspection { get; set; }
[StringLength(2048)]
string CalibrationNote { get; set; }
int UsageCount { get; set; }
}
}