mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Removed old examples
- added instant register update if write was successful
This commit is contained in:
@@ -72,7 +72,7 @@ internal class ScanCommand : CommandLineExcecuteable {
|
||||
AnsiConsole.Write(found.Select(x => new {
|
||||
x.Cassette.Name,
|
||||
PLC = x.PLCInf.TypeCode.ToName(),
|
||||
IsRun = x.PLCInf.OperationMode.HasFlag(OPMode.Run),
|
||||
IsRun = x.PLCInf.OperationMode.HasFlag(OPMode.RunMode),
|
||||
IP = x.Cassette.IPAddress,
|
||||
x.Cassette.Port,
|
||||
DHCP = x.Cassette.UsesDHCP,
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<PublishAot>true</PublishAot>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -16,4 +17,18 @@
|
||||
<ProjectReference Include="..\MewtocolNet\MewtocolNet.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||||
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>True</SelfContained>
|
||||
<DebugType>None</DebugType>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
||||
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
<OutputPath>..\Builds\MewTerminal</OutputPath>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user