MET08DDUPSFS6420 - v2.43.4 - MethodBaseName

This commit is contained in:
2022-08-08 16:27:52 -07:00
parent b5244f1166
commit f8ca86e5a0
50 changed files with 1334 additions and 354 deletions

View File

@ -0,0 +1,38 @@
using System.Text.Json.Serialization;
namespace Adaptation.FileHandlers.OpenInsightMetrologyViewer;
public class BarcodeRecord : IBarcodeRecord
{
protected string _Barcode;
protected string _Date;
protected BarcodeDevice _Device;
protected string _Id;
protected string _ServerId;
public string Barcode => _Barcode;
public string Date => _Date;
public BarcodeDevice Device => _Device;
public string Id => _Id;
public string ServerId => _ServerId;
public BarcodeRecord()
{
_Barcode = string.Empty;
_Date = string.Empty;
_Device = new BarcodeDevice();
_Id = string.Empty;
_ServerId = string.Empty;
}
[JsonConstructor]
public BarcodeRecord(string barcode, string date, BarcodeDevice device, string id, string serverId)
{
_Barcode = barcode;
_Date = date;
_Device = device;
_Id = id;
_ServerId = serverId;
}
}