ReSharper: -CLR types introduced on GTB
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Service.MeterProcessState.Controllers
|
||||
public class TempFlangeController : ApiController
|
||||
{
|
||||
[Route("GetLut"),HttpGet]
|
||||
public async Task<List<CordonelTempLut>> GetLut(int PcbId)
|
||||
public async Task<List<CordonelTempLut>> GetLut(Int32 PcbId)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -47,7 +47,7 @@ namespace Service.MeterProcessState.Controllers
|
||||
}
|
||||
|
||||
[Route("AddLut"), HttpPost]
|
||||
public async Task<bool> AddLut(int PcbId, double RefTempC, double AvgTof)
|
||||
public async Task<Boolean> AddLut(Int32 PcbId, Double RefTempC, Double AvgTof)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -654,15 +654,15 @@ namespace Service.MeterProcessState.Controllers
|
||||
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
||||
public class OrderDetailsData
|
||||
{
|
||||
public int AuftragNr { get; set; }
|
||||
public int PositionNr { get; set; }
|
||||
public int FertigungsauftragNr { get; set; }
|
||||
public int SerienNr { get; set; }
|
||||
public int Frequenz { get; set; }
|
||||
public Int32 AuftragNr { get; set; }
|
||||
public Int32 PositionNr { get; set; }
|
||||
public Int32 FertigungsauftragNr { get; set; }
|
||||
public Int32 SerienNr { get; set; }
|
||||
public Int32 Frequenz { get; set; }
|
||||
public Int64 Adresse { get; set; }
|
||||
public int? CordonelAssignedPicking_PcbId { get; set; }
|
||||
public Int32? CordonelAssignedPicking_PcbId { get; set; }
|
||||
public DateTimeOffset? CordonelAssignedPicking_Date { get; set; }
|
||||
public int? MapPcbIdToSerialNumber_SerialNumber { get; set; }
|
||||
public Int32? MapPcbIdToSerialNumber_SerialNumber { get; set; }
|
||||
public DateTimeOffset? MapPcbIdToSerialNumber_DateUtc { get; set; }
|
||||
}
|
||||
|
||||
@@ -675,20 +675,20 @@ namespace Service.MeterProcessState.Controllers
|
||||
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
||||
public class Dataset
|
||||
{
|
||||
public int[] borderDash;
|
||||
public Int32[] borderDash;
|
||||
|
||||
public string label { get; set; }
|
||||
public string borderColor { get; set; }
|
||||
public string backgroundColor { get; set; }
|
||||
public bool fill { get; set; }
|
||||
public List<double?> data { get; set; }
|
||||
public string yAxisID { get; set; }
|
||||
public bool spanGaps { get; set; }
|
||||
public String label { get; set; }
|
||||
public String borderColor { get; set; }
|
||||
public String backgroundColor { get; set; }
|
||||
public Boolean fill { get; set; }
|
||||
public List<Double?> data { get; set; }
|
||||
public String yAxisID { get; set; }
|
||||
public Boolean spanGaps { get; set; }
|
||||
}
|
||||
|
||||
public class Root
|
||||
{
|
||||
public List<float> labels { get; set; }
|
||||
public List<Single> labels { get; set; }
|
||||
public List<Dataset> datasets { get; set; }
|
||||
|
||||
}
|
||||
@@ -696,28 +696,28 @@ namespace Service.MeterProcessState.Controllers
|
||||
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
||||
public class GridLines
|
||||
{
|
||||
public bool drawOnChartArea { get; set; }
|
||||
public Boolean drawOnChartArea { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class MyArray
|
||||
{
|
||||
public string type { get; set; }
|
||||
public bool display { get; set; }
|
||||
public string position { get; set; }
|
||||
public string id { get; set; }
|
||||
public String type { get; set; }
|
||||
public Boolean display { get; set; }
|
||||
public String position { get; set; }
|
||||
public String id { get; set; }
|
||||
public GridLines gridLines { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private string getSingleMeterColor(int Path = 0, int? Repnullbale = 0)
|
||||
private String getSingleMeterColor(Int32 Path = 0, Int32? Repnullbale = 0)
|
||||
{
|
||||
int Rep = Repnullbale.HasValue ? Repnullbale.Value : 0;
|
||||
Int32 Rep = Repnullbale.HasValue ? Repnullbale.Value : 0;
|
||||
|
||||
var index = ((Path * 10) + Rep);
|
||||
return new string[] {
|
||||
return new String[] {
|
||||
//Display offset 0
|
||||
"#BFD200",
|
||||
"#007F5F",
|
||||
@@ -766,12 +766,12 @@ namespace Service.MeterProcessState.Controllers
|
||||
}
|
||||
|
||||
|
||||
private string getMeterColor(int Meter, int metercount, int Rep)
|
||||
private String getMeterColor(Int32 Meter, Int32 metercount, Int32 Rep)
|
||||
{
|
||||
var maxRep = 400 / metercount;
|
||||
var index = ((Meter - 1) * maxRep) + Rep;
|
||||
|
||||
return new string[] {
|
||||
return new String[] {
|
||||
"#B0171F",
|
||||
"#FFAEB9",
|
||||
"#8B8386",
|
||||
|
||||
Reference in New Issue
Block a user