pdf fixes
This commit is contained in:
parent
ad870290e9
commit
30ea75468f
BIN
BTD Calibration Certificate EXAMPLE.pdf
Normal file
BIN
BTD Calibration Certificate EXAMPLE.pdf
Normal file
Binary file not shown.
@ -4,7 +4,6 @@ using QuestPDF.Helpers;
|
||||
using QuestPDF.Infrastructure;
|
||||
|
||||
|
||||
|
||||
namespace BenchtopPDF
|
||||
{
|
||||
internal class Program
|
||||
@ -20,7 +19,6 @@ namespace BenchtopPDF
|
||||
|
||||
var document = new SheetDocument(model);
|
||||
document.GeneratePdfAndShow();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -10,43 +10,34 @@ namespace BenchtopPDF
|
||||
{
|
||||
public int Value { get; set; }
|
||||
|
||||
[JsonProperty("In Range")]
|
||||
public bool InRange { get; set; }
|
||||
[JsonProperty("In Range")] public bool InRange { get; set; }
|
||||
public int Delta { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class MasterValue
|
||||
{
|
||||
[JsonProperty("Low Limit")]
|
||||
public int LowLimit { get; set; }
|
||||
[JsonProperty("Low Limit")] public int LowLimit { get; set; }
|
||||
|
||||
[JsonProperty("Master Value")]
|
||||
public int Value { get; set; }
|
||||
[JsonProperty("Master Value")] public int Value { get; set; }
|
||||
|
||||
[JsonProperty("High Limit")]
|
||||
public int HighLimit { get; set; }
|
||||
[JsonProperty("High Limit")] public int HighLimit { get; set; }
|
||||
}
|
||||
|
||||
public class Sheet
|
||||
{
|
||||
public string Instrument { get; set; }
|
||||
|
||||
[JsonProperty("Customer Name")]
|
||||
public string CustomerName { get; set; }
|
||||
[JsonProperty("Customer Name")] public string CustomerName { get; set; }
|
||||
|
||||
[JsonProperty("Customer Address")]
|
||||
public string CustomerAddress { get; set; }
|
||||
[JsonProperty("Customer Address")] public string CustomerAddress { get; set; }
|
||||
|
||||
[JsonProperty("Control Number")]
|
||||
public string ControlNumber { get; set; }
|
||||
[JsonProperty("Control Number")] public string ControlNumber { get; set; }
|
||||
|
||||
[JsonProperty("Serial Number")]
|
||||
public string SerialNumber { get; set; }
|
||||
[JsonProperty("Serial Number")] public string SerialNumber { get; set; }
|
||||
public double Accuracy { get; set; }
|
||||
|
||||
[JsonProperty("Barometric Pressure")]
|
||||
public double BarometricPressure { get; set; }
|
||||
[JsonProperty("Barometric Pressure")] public double BarometricPressure { get; set; }
|
||||
public double Temperature { get; set; }
|
||||
public int Humidity { get; set; }
|
||||
public List<Transducer> Transducers { get; set; }
|
||||
@ -56,38 +47,24 @@ namespace BenchtopPDF
|
||||
{
|
||||
public double Accuracy { get; set; }
|
||||
|
||||
[JsonProperty("Part Number")]
|
||||
public string PartNumber { get; set; }
|
||||
[JsonProperty("Part Number")] public string PartNumber { get; set; }
|
||||
|
||||
public int Value { get; set; }
|
||||
|
||||
public string Unit { get; set; }
|
||||
|
||||
[JsonProperty("Limit ABS")]
|
||||
public int LimitABS { get; set; }
|
||||
[JsonProperty("Limit ABS")] public int LimitABS { get; set; }
|
||||
|
||||
[JsonProperty("Transducer Name")]
|
||||
public string TransducerName { get; set; }
|
||||
[JsonProperty("Transducer Name")] public string TransducerName { get; set; }
|
||||
|
||||
[JsonProperty("Transducer Type")]
|
||||
public string TransducerType { get; set; }
|
||||
[JsonProperty("Transducer Type")] public string TransducerType { get; set; }
|
||||
|
||||
[JsonProperty("Gauge Reading")]
|
||||
public List<GaugeReading> GaugeReading { get; set; }
|
||||
[JsonProperty("Gauge Reading")] public List<GaugeReading> GaugeReading { get; set; }
|
||||
|
||||
[JsonProperty("Master Value")]
|
||||
public List<MasterValue> MasterValue { get; set; }
|
||||
[JsonProperty("Master Value")] public List<MasterValue> MasterValue { get; set; }
|
||||
|
||||
[JsonProperty("Verify Date")]
|
||||
public string VerifyDate { get; set; }
|
||||
|
||||
[JsonProperty("Verify Time")]
|
||||
public string VerifyTime { get; set; }
|
||||
[JsonProperty("Verify Date")] public string VerifyDate { get; set; }
|
||||
|
||||
[JsonProperty("Verify Time")] public string VerifyTime { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user