levata opzione derivare poweron da semafori (errato...)
This commit is contained in:
@@ -73,6 +73,14 @@ namespace IOB_WIN
|
||||
/// </summary>
|
||||
public tipoAdapter tipoScelto = tipoAdapter.DEMO;
|
||||
/// <summary>
|
||||
/// Vendor macchina
|
||||
/// </summary>
|
||||
public string curVendor = "";
|
||||
/// <summary>
|
||||
/// Modello macchina
|
||||
/// </summary>
|
||||
public string curModel = "";
|
||||
/// <summary>
|
||||
/// Codice IOB della macchina cui connettersi (x scegliere corretto file di conf...)
|
||||
/// </summary>
|
||||
protected string CurrIOB { get; set; }
|
||||
@@ -188,6 +196,8 @@ namespace IOB_WIN
|
||||
{
|
||||
// definisco e avvio tipo adapter generico
|
||||
tipoScelto = tipoAdapter.ND;
|
||||
curVendor = "ACME";
|
||||
curModel = "NONE";
|
||||
IOBConf = new IobConfiguration();
|
||||
loadIobType();
|
||||
displayTaskAndLog("Waiting for config file selection");
|
||||
@@ -415,6 +425,9 @@ namespace IOB_WIN
|
||||
|
||||
IniFile fIni = new IniFile(iniConfFile);
|
||||
|
||||
// leggo vendor e modello...
|
||||
curVendor = fIni.ReadString("MACHINE", "VENDOR", "ACME");
|
||||
curModel = fIni.ReadString("MACHINE", "MODEL", "NONE");
|
||||
// verifico tipo adapter
|
||||
tipoScelto = (tipoAdapter)Enum.Parse(typeof(tipoAdapter), fIni.ReadString("IOB", "CNCTYPE", "DEMO"));
|
||||
// carivo vettore parametri opzionai
|
||||
@@ -439,6 +452,8 @@ namespace IOB_WIN
|
||||
// inizializzio conf IOB
|
||||
IOBConf = new IobConfiguration
|
||||
{
|
||||
vendor = curVendor,
|
||||
model = curModel,
|
||||
tipoIob = tipoScelto,
|
||||
optPar = optParRead,
|
||||
versIOB = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(),
|
||||
|
||||
Reference in New Issue
Block a user