add profi net
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
</site>
|
||||
<site name="MeterProcessState" id="2">
|
||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||
<virtualDirectory path="/" physicalPath="C:\Users\SZLATEV\source\repos\laa_production\Common\Service\MeterProcessState" />
|
||||
<virtualDirectory path="/" physicalPath="C:\Users\drabesch_ro\Repo\lab\la_operations\laa_production\Common\Service\MeterProcessState" />
|
||||
</application>
|
||||
<bindings>
|
||||
<binding protocol="http" bindingInformation="*:56011:localhost" />
|
||||
|
||||
@@ -197,6 +197,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Exchange", "Exchange", "{10
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignalR", "SignalR\SignalR.csproj", "{ABF3EC64-1257-4CA2-AD62-8A27A5F1EDCC}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProfiNet", "ProfiNet", "{EA7A56A2-2CA7-470D-A488-F0A239764C4B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Client", "Hardware\PLC\PorfiNet\ClassLibrary1\Client.csproj", "{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
Utils\DateTimeServerShared\DateTimeServerShared.projitems*{4806d89a-fbfb-41bc-aaa7-2242444bf55a}*SharedItemsImports = 4
|
||||
@@ -4583,6 +4587,70 @@ Global
|
||||
{ABF3EC64-1257-4CA2-AD62-8A27A5F1EDCC}.XP32bit|x64.Build.0 = Release|Any CPU
|
||||
{ABF3EC64-1257-4CA2-AD62-8A27A5F1EDCC}.XP32bit|x86.ActiveCfg = Release|Any CPU
|
||||
{ABF3EC64-1257-4CA2-AD62-8A27A5F1EDCC}.XP32bit|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}._MANUAL_CONTROL|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.COM|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.GenesisDisplayTool_V01|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.PerformTest|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.ReleaseTest|x86.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|x64.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|x64.Build.0 = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|x86.ActiveCfg = Release|Any CPU
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE}.XP32bit|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -4672,6 +4740,8 @@ Global
|
||||
{A04A3FE3-1443-45B2-9917-E90168567101} = {8BDA6853-0E0E-427F-AB49-546600A28944}
|
||||
{10E6BF23-549D-4303-8DD1-2EBB3028307F} = {68323534-4337-4E3A-89BC-11D8BB55343A}
|
||||
{ABF3EC64-1257-4CA2-AD62-8A27A5F1EDCC} = {10E6BF23-549D-4303-8DD1-2EBB3028307F}
|
||||
{EA7A56A2-2CA7-470D-A488-F0A239764C4B} = {EB78D6A9-A2ED-4B27-BB99-F6F66D06D66F}
|
||||
{F2A9BF82-4DFB-4A5F-8749-1ACA1EEC7AEE} = {EA7A56A2-2CA7-470D-A488-F0A239764C4B}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4BCB7B69-696C-436A-86F7-C91EA5588164}
|
||||
|
||||
@@ -584,736 +584,6 @@ namespace CordonelAssemblyLine.Model
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var genesisStatus = new GenesisStatus();
|
||||
|
||||
// this calculates all life time values
|
||||
@@ -1347,8 +617,15 @@ namespace CordonelAssemblyLine.Model
|
||||
lblS08Color = _progressError;
|
||||
ret = false;
|
||||
}
|
||||
|
||||
|
||||
if (_orderDetails.FrequencyIndicator == 0)
|
||||
{
|
||||
if ((342000000 + (genesisStatus.ExceededLifeTime_s * 77.7)) <= genesisStatus.DrainedBatteryLoad_uAs)
|
||||
{
|
||||
lblS08Text = $"UNT Limit überschritten";
|
||||
lblS08Color = _progressError;
|
||||
ret = false;
|
||||
}
|
||||
}
|
||||
meter.WriteLog(sbMSG.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ClassLibrary1
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>f2a9bf82-4dfb-4a5f-8749-1aca1eec7aee</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ClassLibrary1</RootNamespace>
|
||||
<AssemblyName>ClassLibrary1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System"/>
|
||||
|
||||
<Reference Include="System.Core"/>
|
||||
<Reference Include="System.Xml.Linq"/>
|
||||
<Reference Include="System.Data.DataSetExtensions"/>
|
||||
|
||||
|
||||
<Reference Include="Microsoft.CSharp"/>
|
||||
|
||||
<Reference Include="System.Data"/>
|
||||
|
||||
<Reference Include="System.Net.Http"/>
|
||||
|
||||
<Reference Include="System.Xml"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Class1.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("ClassLibrary1")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ClassLibrary1")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("f2a9bf82-4dfb-4a5f-8749-1aca1eec7aee")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1 +1 @@
|
||||
89102b0142e574de38a9f47d370f3334e5e6c268
|
||||
c43c40a030005a8f189e6179faf40a6d42bfef5c
|
||||
|
||||
+1
-1
@@ -156,7 +156,7 @@ namespace ProductionUiCordonel.ProductionProcesses.Actions
|
||||
|
||||
if (genesisStatus.RemainingLifeTimeYears < 20)
|
||||
{
|
||||
if (genesisStatus.DrainedBatteryLoadPercent > 8)
|
||||
if (genesisStatus.DrainedBatteryLoadPercent > 9)
|
||||
{
|
||||
currentProcessState = ProductionProcessState.Error;
|
||||
UserControl.lblText.Dispatcher.Invoke(DispatcherPriority.Send,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1 +1 @@
|
||||
338bdd8d71c148c9df0972f903098eb23eacf0c9
|
||||
65d75c3322f8a137c69963cfdc0cb6f1ffacf62a
|
||||
|
||||
@@ -868,9 +868,11 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
var dt = new DateTime(2000, 01, 01).AddSeconds(dateSec);
|
||||
//var dateByte = ByteArrayStyle.ByteStyler.Parse(,false);
|
||||
sb.AppendLine($"{dt};{rawBat.Item2}");
|
||||
}
|
||||
}
|
||||
|
||||
sb.ToString();
|
||||
File.AppendAllLines(logFileName+ "BAT.CSV", new[] { sb.ToString() });
|
||||
|
||||
|
||||
}).ContinueWith(delegate
|
||||
{
|
||||
//add a blank line to separate next operation
|
||||
|
||||
@@ -449,10 +449,14 @@
|
||||
<DependentUpon>FrmTempMeter.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Infrastructure\Appsettings.cs" />
|
||||
<Compile Include="Infrastructure\CordonelTempLut.cs" />
|
||||
<Compile Include="Infrastructure\IIdentityForm.cs" />
|
||||
<Compile Include="Infrastructure\LDAPLoginModel.cs" />
|
||||
<Compile Include="Infrastructure\LDAPRegisterModel.cs" />
|
||||
<Compile Include="Infrastructure\LDAPUser.cs" />
|
||||
<Compile Include="Infrastructure\ParseExtensions.cs" />
|
||||
<Compile Include="Infrastructure\RefTempRange.cs" />
|
||||
<Compile Include="Infrastructure\Software.cs" />
|
||||
<Compile Include="Infrastructure\SoftwareUser.cs" />
|
||||
<Compile Include="Infrastructure\SoftwareVersion.cs" />
|
||||
<Compile Include="Infrastructure\SoftwareFunctions.cs" />
|
||||
<Compile Include="Infrastructure\TemperatureSource.cs" />
|
||||
|
||||
@@ -10,12 +10,14 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Xylem.Common.CommonCore.Configuration;
|
||||
using Xylem.Common.CommonCore.Consts;
|
||||
using Xylem.Common.Hardware.Interfaces.Ports.PortCore;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisStatus;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.Registers;
|
||||
using Xylem.Common.Hardware.WaterMeter.WaterMeterCore;
|
||||
@@ -1943,10 +1945,34 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
private void button6_Click(Object sender, EventArgs e)
|
||||
{
|
||||
//Seal Display test
|
||||
for (var c = 0; c < 10; c++)
|
||||
_currentGenesis.WriteRegister("SYSTEM_ExitReason", 21, true, false);
|
||||
var exitResult = RegisterConverter.ConvertTo<Int16>(_currentGenesis.ReadRegister("SYSTEM_ExitReason"));
|
||||
|
||||
MessageBox.Show(exitResult.ToString());
|
||||
|
||||
var _meterResetPsu = new MeterResetPsu(_currentGenesis)
|
||||
{
|
||||
button2_Click_1(this, null);
|
||||
StoreConfigEnable = true
|
||||
};
|
||||
var rebootSucceeded = _meterResetPsu.MeterResetPsuExecute();
|
||||
|
||||
Thread.Sleep(16000);
|
||||
if (!_currentGenesis.Login())
|
||||
|
||||
{
|
||||
_currentGenesis.WriteLog("relogin first attempt Failed");
|
||||
Thread.Sleep(5000);
|
||||
if (!_currentGenesis.Login())
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
_currentGenesis.WriteRegister("SYSTEM_ExitReason", 21, true, false);
|
||||
exitResult = RegisterConverter.ConvertTo<Int16>(_currentGenesis.ReadRegister("SYSTEM_ExitReason"));
|
||||
|
||||
MessageBox.Show(exitResult.ToString());
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2029,6 +2055,9 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
sbMSG.AppendLine($"Remaining life time in years {genesisStatus.RemainingLifeTimeYears:F2}");
|
||||
sbMSG.AppendLine($"Totally drained battery load in % {genesisStatus.DrainedBatteryLoadPercent:F2}");
|
||||
|
||||
|
||||
|
||||
|
||||
MessageBox.Show(sbMSG.ToString(), $"Battery for {_currentGenesis.PcbId} has remaining life " +
|
||||
$"time of {genesisStatus.RemainingLifeTimeYears:F2} years");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user