Completato fixApp x gestione ConfIOB:
- aggiunta tags su richiesta
This commit is contained in:
@@ -1,12 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConfMan.IOB.Core
|
||||
namespace ConfMan.IOB.Core
|
||||
{
|
||||
internal class HostData
|
||||
public class HostInfo
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Init classe default
|
||||
/// </summary>
|
||||
public HostInfo()
|
||||
{ }
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Indirizzo Ip dell'HOST
|
||||
/// </summary>
|
||||
public string HostAddr { get; set; } = "127.0.0.1";
|
||||
|
||||
/// <summary>
|
||||
/// Nome Host
|
||||
/// </summary>
|
||||
public string HostName { get; set; } = "localhost";
|
||||
|
||||
/// <summary>
|
||||
/// Sistema Operativo
|
||||
/// </summary>
|
||||
public string OS { get; set; } = "WIN";
|
||||
|
||||
#endregion Public Properties
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,7 +59,7 @@ namespace ConfMan.IOB.Core
|
||||
// recupero NUOVI dati TAGS
|
||||
newConfObj.GeneralCom = (ComType)Enum.Parse(typeof(ComType), fIni.ReadString("TAGS", "ComType", "ND"));
|
||||
newConfObj.Customer = fIni.ReadString("TAGS", "Customer", "ND");
|
||||
newConfObj.HostData.OS = fIni.ReadString("TAGS", "OS", "WIN");
|
||||
newConfObj.HostData.OS = fIni.ReadString("TAGS", "HostOS", "WIN");
|
||||
newConfObj.HostData.HostName = fIni.ReadString("TAGS", "HostName", "localhost");
|
||||
newConfObj.HostData.HostAddr = fIni.ReadString("TAGS", "HostAddr", "127.0.0.1");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user