* Refactored NC_ERRORS
+ Added client configuration api * Refactored serverconfig
This commit is contained in:
@@ -6,10 +6,11 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Step.Model.ConfigModels
|
||||
{
|
||||
public class ServerConfigModel
|
||||
public class NcConfigModel
|
||||
{
|
||||
public string Language { get; set; }
|
||||
public int ServerPort { get; set; }
|
||||
public bool EnableDirectoryBrowsing { get; set; }
|
||||
public string NcVendor { get; set; }
|
||||
public bool showNcHMI { get; set; }
|
||||
public string NcIpAddress { get; set; }
|
||||
public ushort NcPort { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,10 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Step.Model.ConfigModels
|
||||
{
|
||||
public class NcConfigModel
|
||||
public class ServerConfigModel
|
||||
{
|
||||
public ushort NcVendor { get; set; }
|
||||
public string NcIpAddress { get; set; }
|
||||
public ushort NcPort { get; set; }
|
||||
public string Language { get; set; }
|
||||
public int ServerPort { get; set; }
|
||||
public bool EnableDirectoryBrowsing { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Step.Model.DTOModels
|
||||
{
|
||||
public class DTOClientConfigurationModel
|
||||
{
|
||||
public string NcVendor;
|
||||
public bool showHMI;
|
||||
}
|
||||
}
|
||||
@@ -57,9 +57,9 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ConfigModels\NcConfigModel.cs" />
|
||||
<Compile Include="ConfigModels\AreasConfigModel.cs" />
|
||||
<Compile Include="ConfigModels\ServerConfigModel.cs" />
|
||||
<Compile Include="ConfigModels\AreasConfigModel.cs" />
|
||||
<Compile Include="ConfigModels\NcConfigModel.cs" />
|
||||
<Compile Include="DatabaseModels\FunctionAccessModel.cs" />
|
||||
<Compile Include="ConfigModels\MessageModel.cs" />
|
||||
<Compile Include="DatabaseModels\RoleModel.cs">
|
||||
@@ -68,6 +68,7 @@
|
||||
</Compile>
|
||||
<Compile Include="DTOModels\DTOAlarmsModel.cs" />
|
||||
<Compile Include="DTOModels\DTOAxesModel.cs" />
|
||||
<Compile Include="DTOModels\DTOClientConfigurationModel.cs" />
|
||||
<Compile Include="DTOModels\DTOLanguageModel.cs">
|
||||
<Generator>DtsGenerator</Generator>
|
||||
<LastGenOutput>DTOLanguageModel.cs.d.ts</LastGenOutput>
|
||||
|
||||
Reference in New Issue
Block a user