Solution builds successfully
This commit is contained in:
@@ -12,23 +12,29 @@
|
|||||||
{
|
{
|
||||||
public static void Main()
|
public static void Main()
|
||||||
{
|
{
|
||||||
var connection = new OmniIrdaConnection("COM36");
|
var a = 816242311982;
|
||||||
connection.StateChenged += Console.WriteLine;
|
var b = (int)a;
|
||||||
connection.Open();
|
|
||||||
|
|
||||||
if (connection.FactorySeal().Sealed)
|
|
||||||
{
|
|
||||||
var _sealed = connection.FactorySeal(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
var response = connection.Set(new BuildInfo
|
|
||||||
{
|
|
||||||
Value = "816232411982"
|
|
||||||
});
|
|
||||||
|
|
||||||
connection.Close();
|
|
||||||
|
|
||||||
|
Console.WriteLine(a);
|
||||||
|
Console.WriteLine(b);
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
|
//var connection = new OmniIrdaConnection("COM36");
|
||||||
|
//connection.StateChenged += Console.WriteLine;
|
||||||
|
//connection.Open();
|
||||||
|
|
||||||
|
//if (connection.FactorySeal().Sealed)
|
||||||
|
//{
|
||||||
|
// var _sealed = connection.FactorySeal(false);
|
||||||
|
//}
|
||||||
|
|
||||||
|
//var response = connection.Set(new BuildInfo
|
||||||
|
//{
|
||||||
|
// Value = "816232411982"
|
||||||
|
//});
|
||||||
|
|
||||||
|
//connection.Close();
|
||||||
|
|
||||||
|
//Console.ReadKey();
|
||||||
|
|
||||||
//response = connection.ClearDisplay();
|
//response = connection.ClearDisplay();
|
||||||
//response = connection.Set(new LeakAlarm
|
//response = connection.Set(new LeakAlarm
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
<Name>HttpExtensions</Name>
|
<Name>HttpExtensions</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\InspectionUI.Abstraction\InspectionUI.Abstraction.csproj">
|
<ProjectReference Include="..\InspectionUI.Abstraction\InspectionUI.Abstraction.csproj">
|
||||||
<Project>{C6BFAC88-5647-4131-90B1-4D6265E08348}</Project>
|
<Project>{c6bfac88-5647-4131-90b1-4d6265e08348}</Project>
|
||||||
<Name>InspectionUI.Abstraction</Name>
|
<Name>InspectionUI.Abstraction</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\InspectionUI.RemoteControl\InspectionUI.RemoteControl.csproj">
|
<ProjectReference Include="..\InspectionUI.RemoteControl\InspectionUI.RemoteControl.csproj">
|
||||||
|
|||||||
@@ -69,7 +69,10 @@
|
|||||||
?? new double[3];
|
?? new double[3];
|
||||||
|
|
||||||
internal TestedPoint GetTestedPoint()
|
internal TestedPoint GetTestedPoint()
|
||||||
=> new TestedPoint
|
{
|
||||||
|
var tpCount = this.TestPoints.Count + 1;
|
||||||
|
|
||||||
|
return new TestedPoint
|
||||||
{
|
{
|
||||||
RunId = this.Id,
|
RunId = this.Id,
|
||||||
Pcb = this.Pcb,
|
Pcb = this.Pcb,
|
||||||
@@ -79,9 +82,10 @@
|
|||||||
Id = this.CurrentTP.Id,
|
Id = this.CurrentTP.Id,
|
||||||
M3S = this.CurrentTP.M3S,
|
M3S = this.CurrentTP.M3S,
|
||||||
M3SRef = this.CurrentTP.M3SRef,
|
M3SRef = this.CurrentTP.M3SRef,
|
||||||
Nr = this.CurrentTP.Nr,
|
Nr = tpCount - this.CurrentTP.Nr,
|
||||||
Rotations = this.CurrentTP.Rotations
|
Rotations = this.CurrentTP.Rotations
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
internal TestedRun GetTestedRun()
|
internal TestedRun GetTestedRun()
|
||||||
=> new TestedRun
|
=> new TestedRun
|
||||||
|
|||||||
@@ -49,10 +49,6 @@
|
|||||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\NLog.5.2.8\lib\net35\NLog.dll</HintPath>
|
<HintPath>..\..\packages\NLog.5.2.8\lib\net35\NLog.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SqlExtensions, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>..\..\packages\SqlExtensions\SqlExtensions.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
@@ -136,10 +132,6 @@
|
|||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ExchangeHub\ExchangeHub.csproj">
|
|
||||||
<Project>{6033FF0C-CF32-4BC5-8EFE-4774CCDC663D}</Project>
|
|
||||||
<Name>ExchangeHub</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="..\HttpExtensions\HttpExtensions.csproj">
|
<ProjectReference Include="..\HttpExtensions\HttpExtensions.csproj">
|
||||||
<Project>{DC78FF93-86FE-4099-8ACC-41B6B0533B69}</Project>
|
<Project>{DC78FF93-86FE-4099-8ACC-41B6B0533B69}</Project>
|
||||||
<Name>HttpExtensions</Name>
|
<Name>HttpExtensions</Name>
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
namespace LaaProduction.Data.Inspection
|
||||||
|
{
|
||||||
|
public class InspectionDbContext
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pruefgang
|
||||||
|
* |_ PruefgangNr
|
||||||
|
* |_ PruefstationNr
|
||||||
|
* |_ Pruefstation
|
||||||
|
* |_ Nr
|
||||||
|
* |_ Typ
|
||||||
|
* |_ Gesperrt
|
||||||
|
* |_ Bemerkung
|
||||||
|
* |_ PrueferNr
|
||||||
|
* |_ Pruefer
|
||||||
|
* |_ Nr
|
||||||
|
* |_ Name
|
||||||
|
* |_ Vorname
|
||||||
|
* |_ IstPruefer
|
||||||
|
* |_ Pruefzeit
|
||||||
|
* |_ PruefgangLang
|
||||||
|
* |_ Datum
|
||||||
|
* |_ Typ
|
||||||
|
* |_ Nennweite
|
||||||
|
* |_ Nenntemperatur
|
||||||
|
* |_ Lufttemperatur
|
||||||
|
* |_ LuftDruck
|
||||||
|
* |_ RelativeFeuchte
|
||||||
|
* |_ Vorlauftemperatur
|
||||||
|
* |_ Einbaulage_alt
|
||||||
|
* |_ Anzahl
|
||||||
|
* |_ Bemerkung
|
||||||
|
* |_ DBasePruefgangNr
|
||||||
|
* |_ KalibrierID
|
||||||
|
* |_ Metrolog
|
||||||
|
* |_ FPP
|
||||||
|
* |_ Korrigiert
|
||||||
|
* |_ Typzusatz
|
||||||
|
* |_ Baulaenge
|
||||||
|
* |_ Pruefpunkte[1..10]
|
||||||
|
*/
|
||||||
+1
@@ -40,6 +40,7 @@
|
|||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Compile Include="InspectionDbContext.cs" />
|
||||||
<Compile Include="Pruefer.cs" />
|
<Compile Include="Pruefer.cs" />
|
||||||
<Compile Include="Prueffehler.cs" />
|
<Compile Include="Prueffehler.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
|||||||
@@ -2,28 +2,30 @@
|
|||||||
{
|
{
|
||||||
public class PruefgangPP
|
public class PruefgangPP
|
||||||
{
|
{
|
||||||
|
public int Nr { get; set; }
|
||||||
|
|
||||||
public int PruefgangNr { get; set; }
|
public int PruefgangNr { get; set; }
|
||||||
|
|
||||||
public int PruefpunktNr { get; set; }
|
public int PruefpunktNr { get; set; }
|
||||||
|
|
||||||
public double PP1_Zeit { get; set; }
|
public double Zeit { get; set; }
|
||||||
|
|
||||||
public double PP1_Soll { get; set; }
|
public double Soll { get; set; }
|
||||||
|
|
||||||
public double PP1_Ist { get; set; }
|
public double Ist { get; set; }
|
||||||
|
|
||||||
public int PP1_RefZSerienNr { get; set; }
|
public int RefZSerienNr { get; set; }
|
||||||
|
|
||||||
public double PP1_RefFehl { get; set; }
|
public double RefFehl { get; set; }
|
||||||
|
|
||||||
public double PP1_Ist_V { get; set; }
|
public double Ist_V { get; set; }
|
||||||
|
|
||||||
public byte PP1_Waage { get; set; }
|
public byte Waage { get; set; }
|
||||||
|
|
||||||
public char PP1_Info { get; set; }
|
public char Info { get; set; }
|
||||||
|
|
||||||
public double PP1_T_Start { get; set; }
|
public double T_Start { get; set; }
|
||||||
|
|
||||||
public double PP1_T_Ende { get; set; }
|
public double T_Ende { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,12 @@
|
|||||||
<input id="regsn" runat="server" class="form-control form-control-sm rounded-0 border-0 bg-light" readonly />
|
<input id="regsn" runat="server" class="form-control form-control-sm rounded-0 border-0 bg-light" readonly />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="bg-light">Barcode Nr.</th>
|
||||||
|
<td class="text-end p-0" colspan="2">
|
||||||
|
<input id="tagno" runat="server" onserverchange="LoadOrderData" class="form-control form-control-sm rounded-0 border-0" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="bg-light">Deckel Nr.</th>
|
<th class="bg-light">Deckel Nr.</th>
|
||||||
<td class="text-end p-0" colspan="2">
|
<td class="text-end p-0" colspan="2">
|
||||||
@@ -35,6 +41,12 @@
|
|||||||
<input id="partno" runat="server" class="form-control form-control-sm rounded-0 border-0 bg-light" readonly />
|
<input id="partno" runat="server" class="form-control form-control-sm rounded-0 border-0 bg-light" readonly />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="bg-light">Box-Titel</th>
|
||||||
|
<td class="text-end p-0" colspan="2">
|
||||||
|
<input id="title" runat="server" class="form-control form-control-sm rounded-0 border-0 bg-light" readonly />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="bg-light">Bezeichnung L1</th>
|
<th class="bg-light">Bezeichnung L1</th>
|
||||||
<td class="text-end p-0" colspan="2">
|
<td class="text-end p-0" colspan="2">
|
||||||
|
|||||||
@@ -46,7 +46,32 @@
|
|||||||
|
|
||||||
protected string SERIALNO { get; set; }
|
protected string SERIALNO { get; set; }
|
||||||
|
|
||||||
protected string TITLE { get; set; }
|
/// <summary>
|
||||||
|
/// boxlabel
|
||||||
|
/// </summary>
|
||||||
|
protected string TITLE
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.title.Value;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
this.title.Value = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected string TAGNO
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.tagno.Value;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
this.tagno.Value = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// testlabel, boxlabel
|
/// testlabel, boxlabel
|
||||||
@@ -325,6 +350,23 @@
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (custsn != this.TAGNO)
|
||||||
|
{
|
||||||
|
this.ViewState[Appsettings.ERROR_MSG] = "Eingegebene Deckel und Messeinsatz passen nicht zueinander.";
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.ORDERNO = default(string);
|
||||||
|
this.POSNO = default(string);
|
||||||
|
this.CUSTSN = default(string);
|
||||||
|
this.REGSN = default(string);
|
||||||
|
this.PARTNO = default(string);
|
||||||
|
this.DESCRIPTIONL1 = default(string);
|
||||||
|
this.DESCRIPTIONL2 = default(string);
|
||||||
|
this.TITLE = default(string);
|
||||||
|
this.QUANTITY = default(string);
|
||||||
|
this.BOXNO = default(string);
|
||||||
|
|
||||||
using (var connection = new SqlConnection(Appsettings.SQLServer))
|
using (var connection = new SqlConnection(Appsettings.SQLServer))
|
||||||
{
|
{
|
||||||
@@ -422,6 +464,15 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.QMINGPM = default(string);
|
||||||
|
this.QMINACC = default(string);
|
||||||
|
this.QMIDGPM = default(string);
|
||||||
|
this.QMIDACC = default(string);
|
||||||
|
this.QMAXGPM = default(string);
|
||||||
|
this.QMAXACC = default(string);
|
||||||
|
this.TESTDATE = default(string);
|
||||||
|
this.DESCRIPTION = default(string);
|
||||||
|
|
||||||
using (var connection = new SqlConnection(Appsettings.SQLServer))
|
using (var connection = new SqlConnection(Appsettings.SQLServer))
|
||||||
{
|
{
|
||||||
connection.FireInfoMessageEventOnUserErrors = true;
|
connection.FireInfoMessageEventOnUserErrors = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user