SPLIT PROGETTO!!!
- proj di base con le 2 form da ereditare - progetto globale che contiene TUTTI gli adapter (pronto a venire spezzettato - gettate le basi x "portare fuori" i vari componenti oppure fare compilazione condizonale
This commit is contained in:
+42
-20
@@ -38,26 +38,6 @@ namespace IOB_UT_NEXT
|
||||
/// </summary>
|
||||
prod
|
||||
}
|
||||
/// <summary>
|
||||
/// Tipo di IOB (SW)
|
||||
/// </summary>
|
||||
public enum IobSwType
|
||||
{
|
||||
/// <summary>
|
||||
/// Non definito
|
||||
/// </summary>
|
||||
ND,
|
||||
|
||||
/// <summary>
|
||||
/// IOB rPI
|
||||
/// </summary>
|
||||
rPi,
|
||||
|
||||
/// <summary>
|
||||
/// IOB Windows
|
||||
/// </summary>
|
||||
WIN
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco MODI CNC
|
||||
@@ -209,6 +189,27 @@ namespace IOB_UT_NEXT
|
||||
VLF
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tipo di IOB (SW)
|
||||
/// </summary>
|
||||
public enum IobSwType
|
||||
{
|
||||
/// <summary>
|
||||
/// Non definito
|
||||
/// </summary>
|
||||
ND,
|
||||
|
||||
/// <summary>
|
||||
/// IOB rPI
|
||||
/// </summary>
|
||||
rPi,
|
||||
|
||||
/// <summary>
|
||||
/// IOB Windows
|
||||
/// </summary>
|
||||
WIN
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Modalità gestione setup macchina
|
||||
/// </summary>
|
||||
@@ -234,6 +235,27 @@ namespace IOB_UT_NEXT
|
||||
HoldingRegister = 4
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Modalità avvio APP IOB-WIN
|
||||
/// </summary>
|
||||
public enum StartMode
|
||||
{
|
||||
/// <summary>
|
||||
/// modalità standard (standalone, multi IOB)
|
||||
/// </summary>
|
||||
STD = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Modalità managed (da IOB-MAN)
|
||||
/// </summary>
|
||||
MAN = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Modalità update (per aggiornare IOB-WIN) senza IOB
|
||||
/// </summary>
|
||||
UPD = 2
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// StFlag32: set di 32 bit (4 word) contente semaforo di variabili
|
||||
/// </summary>
|
||||
|
||||
@@ -168,6 +168,7 @@
|
||||
<Compile Include="DataExport.cs" />
|
||||
<Compile Include="Eurom63.cs" />
|
||||
<Compile Include="IobConfiguration.cs" />
|
||||
<Compile Include="iobRefreshedEventArgs.cs" />
|
||||
<Compile Include="IobWinStatus.cs" />
|
||||
<Compile Include="Iob\BaseObj.cs" />
|
||||
<Compile Include="MeasureUtils.cs" />
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
namespace IOB_UT_NEXT
|
||||
{
|
||||
/// <summary>
|
||||
/// Evento per incapsulare dati x refresh pagina
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace IOB_WIN_NEXT
|
||||
namespace IOB_WIN_FORM
|
||||
{
|
||||
partial class AdapterForm
|
||||
{
|
||||
@@ -1,6 +1,4 @@
|
||||
using IOB_UT_NEXT;
|
||||
using IOB_WIN_NEXT.Iob;
|
||||
using IOB_WIN_NEXT.IobSoap;
|
||||
using MapoSDK;
|
||||
using Newtonsoft.Json;
|
||||
using NLog;
|
||||
@@ -14,7 +12,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace IOB_WIN_NEXT
|
||||
namespace IOB_WIN_FORM
|
||||
{
|
||||
public partial class AdapterForm : Form
|
||||
{
|
||||
@@ -196,6 +194,30 @@ namespace IOB_WIN_NEXT
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Button restart encapsulato x gestione da classi derivate
|
||||
/// </summary>
|
||||
public Button btnRestart
|
||||
{
|
||||
get => restart;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Button start encapsulato x gestione da classi derivate
|
||||
/// </summary>
|
||||
public Button btnStart
|
||||
{
|
||||
get => start;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Button stop encapsulato x gestione da classi derivate
|
||||
/// </summary>
|
||||
public Button btnStop
|
||||
{
|
||||
get => stop;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Visualizzazione stato di comunicazione attiva con PLC
|
||||
/// </summary>
|
||||
@@ -454,6 +476,18 @@ namespace IOB_WIN_NEXT
|
||||
/// </summary>
|
||||
public bool isVerboseLog { get; set; } = utils.CRB("verbose");
|
||||
|
||||
public string lblCncText
|
||||
{
|
||||
get => lblCNC.Text;
|
||||
set => lblCNC.Text = value;
|
||||
}
|
||||
|
||||
public string lblSrvUrlText
|
||||
{
|
||||
get => lblSrvUrl.Text;
|
||||
set => lblSrvUrl.Text = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Logwatcher (in modalità "accodamento in testa" ultimi messaggi...)
|
||||
/// </summary>
|
||||
@@ -1088,6 +1122,17 @@ namespace IOB_WIN_NEXT
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// GEstione evento refresh
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void IobObj_eh_refreshed(object sender, iobRefreshedEventArgs e)
|
||||
{
|
||||
// aggiorno!
|
||||
updateFormDisplay(e.DisplayDataObject);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua logging DEBUG corretto impostanto anche la variabile IOB prima di scrivere...
|
||||
/// </summary>
|
||||
@@ -1150,6 +1195,34 @@ namespace IOB_WIN_NEXT
|
||||
updateFormDisplay(currDispData);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// carica IOB richiesto
|
||||
/// </summary>
|
||||
protected virtual void loadIobType()
|
||||
{
|
||||
if (IOBConf != null)
|
||||
{
|
||||
switch (tipoScelto)
|
||||
{
|
||||
case tipoAdapter.ND:
|
||||
default:
|
||||
iobObj = new Iob.Simula(this, IOBConf);
|
||||
start.Enabled = false;
|
||||
break;
|
||||
}
|
||||
lblCNC.Text = $"CNC: {IOBConf.tipoIob} [{IOBConf.cncIpAddr}:{IOBConf.cncPort}]";
|
||||
lblSrvUrl.Text = $"SRV: {IOBConf.serverData.MPIP} | URL: {IOBConf.serverData.MPURL}{IOBConf.serverData.CMDBASE}";
|
||||
|
||||
// aggancio evento refresh
|
||||
iobObj.eh_refreshed += IobObj_eh_refreshed;
|
||||
|
||||
// carico i default values su interfaccia
|
||||
setDefaults();
|
||||
|
||||
displayTaskAndLog($"Caricata conf per adapter {tipoScelto}");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Init form (grafica) con helper x testi e varie
|
||||
/// </summary>
|
||||
@@ -1171,6 +1244,21 @@ namespace IOB_WIN_NEXT
|
||||
ttForceSend.SetToolTip(this.chkForceDequeue, "Forza invio eventi allo stop");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// impostazione valori defaults
|
||||
/// </summary>
|
||||
protected void setDefaults()
|
||||
{
|
||||
stop.Enabled = false;
|
||||
|
||||
alQueueLen = 0;
|
||||
flQueueLen = 0;
|
||||
msQueueLen = 0;
|
||||
rtrQueueLen = 0;
|
||||
ulQueueLen = 0;
|
||||
nLine2show = utils.CRI("numRowConsole");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// MOstra info su coda complessiva
|
||||
/// </summary>
|
||||
@@ -1391,7 +1479,7 @@ namespace IOB_WIN_NEXT
|
||||
updateFormDisplay(currDispData);
|
||||
}
|
||||
}
|
||||
catch(Exception exc)
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Errore in chiusura:{Environment.NewLine}{exc}");
|
||||
}
|
||||
@@ -1520,17 +1608,6 @@ namespace IOB_WIN_NEXT
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// GEstione evento refresh
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void IobObj_eh_refreshed(object sender, Iob.iobRefreshedEventArgs e)
|
||||
{
|
||||
// aggiorno!
|
||||
updateFormDisplay(e.DisplayDataObject);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Carica file ini della configurazione richiesta
|
||||
/// </summary>
|
||||
@@ -1631,364 +1708,6 @@ namespace IOB_WIN_NEXT
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// carica IOB richiesto
|
||||
/// </summary>
|
||||
private void loadIobType()
|
||||
{
|
||||
if (IOBConf != null)
|
||||
{
|
||||
switch (tipoScelto)
|
||||
{
|
||||
case tipoAdapter.SIMULA:
|
||||
iobObj = new Iob.Simula(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.BECKHOFF:
|
||||
case tipoAdapter.BECKHOFF_CPA:
|
||||
iobObj = new IobBeckhoff.BeckhoffCpa(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FILE_GEN:
|
||||
iobObj = new IobFile.FileGen(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FILE_EUROM63:
|
||||
iobObj = new IobFile.FileEurom63(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FILE_SOITAAB:
|
||||
iobObj = new IobFile.IobFileSoitaab(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FANUC:
|
||||
iobObj = new Iob.Fanuc(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FTP:
|
||||
iobObj = new IobNet.Ftp(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.KAWASAKI:
|
||||
iobObj = new Iob.Kawasaki(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.IcoelDb:
|
||||
iobObj = new IobSql.IcoelDb(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.IcoelSoap:
|
||||
iobObj = new IobNet.IcoelSoap(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MITSUBISHI:
|
||||
iobObj = new Mitsubishi(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP:
|
||||
iobObj = new IobModbusTCP.ModbusTCP(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_CEDAX:
|
||||
iobObj = new IobModbusTCP.ModbusTCPCedax(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_CENTERFRIGO:
|
||||
iobObj = new IobModbusTCP.ModbusTCPCenterfrigo(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_FIMAT:
|
||||
iobObj = new IobModbusTCP.ModbusTCPFimat(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_HAM:
|
||||
iobObj = new IobModbusTCP.ModbusTCPHam(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_HELPI:
|
||||
iobObj = new IobModbusTCP.ModbusTCPHelpi(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_IMAS_AEROMEC:
|
||||
iobObj = new IobModbusTCP.ModbusTCPImaxAeromec(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_RIMOR:
|
||||
iobObj = new IobModbusTCP.ModbusTCPRimor(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_SAIM:
|
||||
iobObj = new IobModbusTCP.ModbusTCPSaim(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_ZETAPACK:
|
||||
iobObj = new IobModbusTCP.ModbusTCPZetapack(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MTConnect:
|
||||
iobObj = new Iob.MTConn(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OMRON:
|
||||
iobObj = new Iob.Omron(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUa:
|
||||
iobObj = new IobOpc.OpcUa(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaCMS:
|
||||
case tipoAdapter.OpcUaSCM:
|
||||
iobObj = new IobOpc.OpcUaCMS(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwon:
|
||||
iobObj = new IobOpc.OpcUaEwon(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonAdige:
|
||||
iobObj = new IobOpc.OpcUaEwonAdige(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonBLM:
|
||||
iobObj = new IobOpc.OpcUaEwonBLM(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonMonti:
|
||||
iobObj = new IobOpc.OpcUaEwonMonti(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonMecolpress:
|
||||
iobObj = new IobOpc.OpcUaEwonMecolpress(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaKwp:
|
||||
iobObj = new IobOpc.OpcUaKpw(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaKwpRama:
|
||||
iobObj = new IobOpc.OpcUaKpwRama(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaImasAeromec:
|
||||
iobObj = new IobOpc.OpcUaImas(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaMBH:
|
||||
iobObj = new IobOpc.OpcUaMBH(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaMBHCimolai:
|
||||
iobObj = new IobOpc.OpcUaMBHCimolai(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaOmron:
|
||||
iobObj = new IobOpc.OpcUaOmron(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaOmronIcoel:
|
||||
iobObj = new IobOpc.OpcUaOmronIcoel(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaSiemens:
|
||||
iobObj = new IobOpc.OpcUaSiemens(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaSiemensOMP:
|
||||
iobObj = new IobOpc.OpcUaSiemensOMP(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaSiemensRama:
|
||||
iobObj = new IobOpc.OpcUaSiemensRama(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaUlma:
|
||||
iobObj = new IobOpc.OpcUaUlma(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.PingWatchdog:
|
||||
iobObj = new IobNet.Ping(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OSAI_OPEN:
|
||||
case tipoAdapter.OSAI_CNDEX:
|
||||
case tipoAdapter.OSAI_VB6:
|
||||
// versione EgwProxy.OsaiCncLib
|
||||
iobObj = new Iob.OSAI(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.REST:
|
||||
iobObj = new IobRest.Base(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.REST_CITIZEN:
|
||||
iobObj = new IobRest.Citizen(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS:
|
||||
iobObj = new IobSiemens.Siemens(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_APROCHIM:
|
||||
iobObj = new IobSiemens.SiemensAprochim(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_AT2001:
|
||||
iobObj = new IobSiemens.SiemensAt2001(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_COMECA:
|
||||
iobObj = new IobSiemens.SiemensComeca(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_COMUR:
|
||||
iobObj = new IobSiemens.SiemensComur(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_COSMAP:
|
||||
iobObj = new IobSiemens.SiemensCosmap(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_FAPE:
|
||||
iobObj = new IobSiemens.SiemensFape(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_FAPE_2:
|
||||
iobObj = new IobSiemens.SiemensFapeV2(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_INGENIA:
|
||||
iobObj = new IobSiemens.SiemensIngenia(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_LASCO:
|
||||
iobObj = new IobSiemens.SiemensLasco(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_NWSE:
|
||||
iobObj = new IobSiemens.SiemensNWSE(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_PRESSOIL_CEI:
|
||||
iobObj = new IobSiemens.SiemensPressoilCei(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_ROBOTSERVICE:
|
||||
iobObj = new IobSiemens.SiemensRobotService(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_SAET:
|
||||
iobObj = new IobSiemens.SiemensSaet(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_SIMEC:
|
||||
iobObj = new IobSiemens.SiemensSimec(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_TORRI:
|
||||
iobObj = new IobSiemens.SiemensTorri(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SOAP_GOMBA:
|
||||
iobObj = new IobSoap.Gomba(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SQLSERVER_LANTEK:
|
||||
iobObj = new IobSql.SqlServLantek(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SQLSERVER_PAMA:
|
||||
iobObj = new IobSql.SqlServPama(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.WPS:
|
||||
iobObj = new IobNet.WebPageScrap(this, IOBConf);
|
||||
start.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.ND:
|
||||
default:
|
||||
iobObj = new Iob.Simula(this, IOBConf);
|
||||
start.Enabled = false;
|
||||
break;
|
||||
}
|
||||
lblCNC.Text = $"CNC: {IOBConf.tipoIob} [{IOBConf.cncIpAddr}:{IOBConf.cncPort}]";
|
||||
lblSrvUrl.Text = $"SRV: {IOBConf.serverData.MPIP} | URL: {IOBConf.serverData.MPURL}{IOBConf.serverData.CMDBASE}";
|
||||
|
||||
// aggancio evento refresh
|
||||
iobObj.eh_refreshed += IobObj_eh_refreshed;
|
||||
|
||||
// carico i default values su interfaccia
|
||||
setDefaults();
|
||||
|
||||
displayTaskAndLog($"Caricata conf per adapter {tipoScelto}");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se il log di un dato errore sia permesso
|
||||
/// </summary>
|
||||
@@ -2163,21 +1882,6 @@ namespace IOB_WIN_NEXT
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// impostazione valori defaults
|
||||
/// </summary>
|
||||
private void setDefaults()
|
||||
{
|
||||
stop.Enabled = false;
|
||||
|
||||
alQueueLen = 0;
|
||||
flQueueLen = 0;
|
||||
msQueueLen = 0;
|
||||
rtrQueueLen = 0;
|
||||
ulQueueLen = 0;
|
||||
nLine2show = utils.CRI("numRowConsole");
|
||||
}
|
||||
|
||||
private void splitContainer1_Panel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace IOB_WIN_FORM
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper gestione UITHread e deleghe
|
||||
/// https://www.codeproject.com/Articles/37642/Avoiding-InvokeRequired
|
||||
/// </summary>
|
||||
internal static class ControlExtensions
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
public static void UIThread(this Control control, Action code)
|
||||
{
|
||||
if (control.InvokeRequired)
|
||||
{
|
||||
control.BeginInvoke(code);
|
||||
return;
|
||||
}
|
||||
code.Invoke();
|
||||
}
|
||||
|
||||
public static void UIThreadInvoke(this Control control, Action code)
|
||||
{
|
||||
if (control.InvokeRequired)
|
||||
{
|
||||
control.Invoke(code);
|
||||
return;
|
||||
}
|
||||
code.Invoke();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
<?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>{9BA331BB-9BF1-40E0-AC03-74B43D73A097}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>IOB_WIN_FORM</RootNamespace>
|
||||
<AssemblyName>IOB-WIN-FORM</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</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="AutoUpdater.NET, Version=1.8.4.0, Culture=neutral, PublicKeyToken=501435c91b35f4bc, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Autoupdater.NET.Official.1.8.4\lib\net45\AutoUpdater.NET.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MapoSDK, Version=6.14.2411.518, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MapoSDK.6.14.2411.518\lib\MapoSDK.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MathNet.Numerics, Version=4.15.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MathNet.Numerics.4.15.0\lib\net461\MathNet.Numerics.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.WebView2.Core, Version=1.0.1823.32, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Web.WebView2.1.0.1823.32\lib\net45\Microsoft.Web.WebView2.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.WebView2.WinForms, Version=1.0.1823.32, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Web.WebView2.1.0.1823.32\lib\net45\Microsoft.Web.WebView2.WinForms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Web.WebView2.Wpf, Version=1.0.1823.32, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Web.WebView2.1.0.1823.32\lib\net45\Microsoft.Web.WebView2.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.2.3\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\VersGen\VersGen.cs">
|
||||
<Link>VersGen.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AdapterForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AdapterForm.Designer.cs">
|
||||
<DependentUpon>AdapterForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ControlExtensions.cs" />
|
||||
<Compile Include="Iob\BaseObj.cs" />
|
||||
<Compile Include="Iob\Generic.cs" />
|
||||
<Compile Include="Iob\Simula.cs" />
|
||||
<Compile Include="MainForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="AdapterForm.resx">
|
||||
<DependentUpon>AdapterForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MainForm.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\IOB-UT-NEXT\IOB-UT-NEXT.csproj">
|
||||
<Project>{90512e12-29fc-460d-94cc-648c2a072dbd}</Project>
|
||||
<Name>IOB-UT-NEXT</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets" Condition="Exists('..\packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -8,7 +8,7 @@ using System.Net.NetworkInformation;
|
||||
using System.Threading;
|
||||
using static IOB_UT_NEXT.BaseAlarmConf;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
namespace IOB_WIN_FORM.Iob
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe di base per IOB
|
||||
@@ -86,7 +86,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <param name="args"></param>
|
||||
protected void lgError(string message, params object[] args)
|
||||
public void lgError(string message, params object[] args)
|
||||
{
|
||||
bool doVeto = checkLogVeto(2, ref message);
|
||||
// se non ho veto --> loggo
|
||||
@@ -1,10 +1,6 @@
|
||||
using EgwProxy.Ftp;
|
||||
using EgwProxy.MultiCncLib.App.Native;
|
||||
using IOB_UT_NEXT;
|
||||
using IOB_UT_NEXT;
|
||||
using MapoSDK;
|
||||
using MathNet.Numerics.Statistics;
|
||||
using MTConnect;
|
||||
using MTConnect.Clients;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NLog;
|
||||
@@ -26,7 +22,7 @@ using static IOB_UT_NEXT.CustomObj;
|
||||
using static IOB_UT_NEXT.DataModel.Fimat;
|
||||
using static MapoSDK.WharehouseData;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
namespace IOB_WIN_FORM.Iob
|
||||
{
|
||||
public class Generic : BaseObj
|
||||
{
|
||||
@@ -42,7 +38,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// inizializzo l'oggetto sulla form SULLA BASE DEL FILE DI CONFIGURAZIONE letto
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public Generic(AdapterForm caller, IobConfiguration IOBConf)
|
||||
{
|
||||
if (IOBConf != null)
|
||||
@@ -2725,23 +2721,6 @@ namespace IOB_WIN_NEXT.Iob
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// retituisce data-ora dell'ODL corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private DateTime currOdlStart()
|
||||
{
|
||||
DateTime inizioOdl = DateTime.Now;
|
||||
string rawDataInizio = callUrl(urlInizioOdlIob, false);
|
||||
DateTime.TryParse(rawDataInizio, out inizioOdl);
|
||||
return inizioOdl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Periodo Veto prima di eseguire processAutoOdl
|
||||
/// </summary>
|
||||
private DateTime VetoProcessAutoOdl = DateTime.Now;
|
||||
|
||||
/// <summary>
|
||||
/// Verifica e processing x gestione ODL automatica
|
||||
/// </summary>
|
||||
@@ -4370,12 +4349,6 @@ namespace IOB_WIN_NEXT.Iob
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Internal Properties
|
||||
|
||||
internal bool disDynDataRangeCheck { get; set; } = false;
|
||||
|
||||
#endregion Internal Properties
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected bool _connOk = false;
|
||||
@@ -4746,6 +4719,8 @@ namespace IOB_WIN_NEXT.Iob
|
||||
|
||||
protected Dictionary<string, string> DictNumArt { get; set; } = new Dictionary<string, string>();
|
||||
|
||||
protected bool disDynDataRangeCheck { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Folder in cui è presente il tool import excel + file json di conf
|
||||
/// </summary>
|
||||
@@ -5717,6 +5692,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
protected virtual bool iobSendFTP(string folderDir)
|
||||
{
|
||||
bool answ = false;
|
||||
#if false
|
||||
//leggo CONF
|
||||
string ftpServ = getOptPar("FTP_SERVER");
|
||||
string ftpUser = getOptPar("FTP_USER");
|
||||
@@ -5785,6 +5761,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
lgInfo($"FTP: Archived dir content {localPath} --> {archPath}");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return answ;
|
||||
}
|
||||
|
||||
@@ -7730,6 +7707,11 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
private int vetoPeriodMin = 15;
|
||||
|
||||
/// <summary>
|
||||
/// Periodo Veto prima di eseguire processAutoOdl
|
||||
/// </summary>
|
||||
private DateTime VetoProcessAutoOdl = DateTime.Now;
|
||||
|
||||
/// <summary>
|
||||
/// Dizionario dei valori bloccati x evitare log basato su veto temporale
|
||||
/// </summary>
|
||||
@@ -8029,6 +8011,18 @@ namespace IOB_WIN_NEXT.Iob
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// retituisce data-ora dell'ODL corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private DateTime currOdlStart()
|
||||
{
|
||||
DateTime inizioOdl = DateTime.Now;
|
||||
string rawDataInizio = callUrl(urlInizioOdlIob, false);
|
||||
DateTime.TryParse(rawDataInizio, out inizioOdl);
|
||||
return inizioOdl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Mostra i dati grezzi letti in esadecimale <paramref name="currDispData">Parametri da
|
||||
/// aggiornare x display in form</paramref>
|
||||
File diff suppressed because it is too large
Load Diff
Generated
+325
@@ -0,0 +1,325 @@
|
||||
namespace IOB_WIN_FORM
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.lblApp = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.lblVers = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.MainProgrBar = new System.Windows.Forms.ToolStripProgressBar();
|
||||
this.lblComStats = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.tslRunTime = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mCheckUpdates = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mShowMainLog = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeChildToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeALLAdaptersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.restartALLAdaptersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.uploadIOBConfToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.downloadIOBConfToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.sendIOBAssignmentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.getIOBAssignmentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.arrangeWindowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.minimizeALLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MainTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.lblApp,
|
||||
this.lblVers,
|
||||
this.MainProgrBar,
|
||||
this.lblComStats,
|
||||
this.toolStripStatusLabel3,
|
||||
this.lblStatus,
|
||||
this.toolStripStatusLabel1,
|
||||
this.tslRunTime});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 507);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
|
||||
this.statusStrip1.Size = new System.Drawing.Size(713, 23);
|
||||
this.statusStrip1.TabIndex = 1;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// lblApp
|
||||
//
|
||||
this.lblApp.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.lblApp.Name = "lblApp";
|
||||
this.lblApp.Size = new System.Drawing.Size(22, 18);
|
||||
this.lblApp.Text = "---";
|
||||
//
|
||||
// lblVers
|
||||
//
|
||||
this.lblVers.Name = "lblVers";
|
||||
this.lblVers.Size = new System.Drawing.Size(16, 18);
|
||||
this.lblVers.Text = "...";
|
||||
//
|
||||
// MainProgrBar
|
||||
//
|
||||
this.MainProgrBar.Name = "MainProgrBar";
|
||||
this.MainProgrBar.Size = new System.Drawing.Size(75, 17);
|
||||
this.MainProgrBar.Step = 1;
|
||||
this.MainProgrBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
|
||||
//
|
||||
// lblComStats
|
||||
//
|
||||
this.lblComStats.Name = "lblComStats";
|
||||
this.lblComStats.Size = new System.Drawing.Size(32, 18);
|
||||
this.lblComStats.Text = "Stats";
|
||||
//
|
||||
// toolStripStatusLabel3
|
||||
//
|
||||
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
|
||||
this.toolStripStatusLabel3.Size = new System.Drawing.Size(10, 18);
|
||||
this.toolStripStatusLabel3.Text = "|";
|
||||
//
|
||||
// lblStatus
|
||||
//
|
||||
this.lblStatus.Name = "lblStatus";
|
||||
this.lblStatus.Size = new System.Drawing.Size(22, 18);
|
||||
this.lblStatus.Text = "---";
|
||||
//
|
||||
// toolStripStatusLabel1
|
||||
//
|
||||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(10, 18);
|
||||
this.toolStripStatusLabel1.Text = "|";
|
||||
//
|
||||
// tslRunTime
|
||||
//
|
||||
this.tslRunTime.Name = "tslRunTime";
|
||||
this.tslRunTime.Size = new System.Drawing.Size(16, 18);
|
||||
this.tslRunTime.Text = "...";
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.closeChildToolStripMenuItem,
|
||||
this.windowToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(713, 24);
|
||||
this.menuStrip1.TabIndex = 2;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.mCheckUpdates,
|
||||
this.mShowMainLog});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileToolStripMenuItem.Text = "&File";
|
||||
//
|
||||
// mCheckUpdates
|
||||
//
|
||||
this.mCheckUpdates.Name = "mCheckUpdates";
|
||||
this.mCheckUpdates.Size = new System.Drawing.Size(186, 22);
|
||||
this.mCheckUpdates.Text = "Check for &Updates";
|
||||
this.mCheckUpdates.Click += new System.EventHandler(this.mCheckUpdates_Click);
|
||||
//
|
||||
// mShowMainLog
|
||||
//
|
||||
this.mShowMainLog.Name = "mShowMainLog";
|
||||
this.mShowMainLog.Size = new System.Drawing.Size(186, 22);
|
||||
this.mShowMainLog.Text = "Open &LogFile (MAIN)";
|
||||
this.mShowMainLog.Click += new System.EventHandler(this.MShowMainLog_Click);
|
||||
//
|
||||
// closeChildToolStripMenuItem
|
||||
//
|
||||
this.closeChildToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.closeALLAdaptersToolStripMenuItem,
|
||||
this.restartALLAdaptersToolStripMenuItem,
|
||||
this.uploadIOBConfToolStripMenuItem,
|
||||
this.downloadIOBConfToolStripMenuItem,
|
||||
this.sendIOBAssignmentsToolStripMenuItem,
|
||||
this.getIOBAssignmentsToolStripMenuItem});
|
||||
this.closeChildToolStripMenuItem.Name = "closeChildToolStripMenuItem";
|
||||
this.closeChildToolStripMenuItem.Size = new System.Drawing.Size(121, 20);
|
||||
this.closeChildToolStripMenuItem.Text = "A&dapters Functions";
|
||||
//
|
||||
// closeALLAdaptersToolStripMenuItem
|
||||
//
|
||||
this.closeALLAdaptersToolStripMenuItem.Name = "closeALLAdaptersToolStripMenuItem";
|
||||
this.closeALLAdaptersToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.closeALLAdaptersToolStripMenuItem.Text = "&Close ALL Adapters";
|
||||
this.closeALLAdaptersToolStripMenuItem.Click += new System.EventHandler(this.closeALLAdaptersToolStripMenuItem_Click);
|
||||
//
|
||||
// restartALLAdaptersToolStripMenuItem
|
||||
//
|
||||
this.restartALLAdaptersToolStripMenuItem.Name = "restartALLAdaptersToolStripMenuItem";
|
||||
this.restartALLAdaptersToolStripMenuItem.ShortcutKeyDisplayString = "ALT-R";
|
||||
this.restartALLAdaptersToolStripMenuItem.ShowShortcutKeys = false;
|
||||
this.restartALLAdaptersToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.restartALLAdaptersToolStripMenuItem.Text = "&Restart ALL Adapters";
|
||||
this.restartALLAdaptersToolStripMenuItem.Click += new System.EventHandler(this.restartALLAdaptersToolStripMenuItem_Click);
|
||||
//
|
||||
// uploadIOBConfToolStripMenuItem
|
||||
//
|
||||
this.uploadIOBConfToolStripMenuItem.Name = "uploadIOBConfToolStripMenuItem";
|
||||
this.uploadIOBConfToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.uploadIOBConfToolStripMenuItem.Text = "Upload IOB Conf files";
|
||||
this.uploadIOBConfToolStripMenuItem.Click += new System.EventHandler(this.uploadIOBConfToolStripMenuItem_Click);
|
||||
//
|
||||
// downloadIOBConfToolStripMenuItem
|
||||
//
|
||||
this.downloadIOBConfToolStripMenuItem.Name = "downloadIOBConfToolStripMenuItem";
|
||||
this.downloadIOBConfToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.downloadIOBConfToolStripMenuItem.Text = "Download IOB Conf files";
|
||||
this.downloadIOBConfToolStripMenuItem.Click += new System.EventHandler(this.downloadIOBConfToolStripMenuItem_Click);
|
||||
//
|
||||
// sendIOBAssignmentsToolStripMenuItem
|
||||
//
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Enabled = false;
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Name = "sendIOBAssignmentsToolStripMenuItem";
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Text = "Send IOB Assignments";
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Click += new System.EventHandler(this.sendIOBAssignmentsToolStripMenuItem_Click);
|
||||
//
|
||||
// getIOBAssignmentsToolStripMenuItem
|
||||
//
|
||||
this.getIOBAssignmentsToolStripMenuItem.Enabled = false;
|
||||
this.getIOBAssignmentsToolStripMenuItem.Name = "getIOBAssignmentsToolStripMenuItem";
|
||||
this.getIOBAssignmentsToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.getIOBAssignmentsToolStripMenuItem.Text = "Get IOB Assignments";
|
||||
this.getIOBAssignmentsToolStripMenuItem.Click += new System.EventHandler(this.getIOBAssignmentsToolStripMenuItem_Click);
|
||||
//
|
||||
// windowToolStripMenuItem
|
||||
//
|
||||
this.windowToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.arrangeWindowsToolStripMenuItem,
|
||||
this.minimizeALLToolStripMenuItem});
|
||||
this.windowToolStripMenuItem.Name = "windowToolStripMenuItem";
|
||||
this.windowToolStripMenuItem.Size = new System.Drawing.Size(63, 20);
|
||||
this.windowToolStripMenuItem.Text = "&Window";
|
||||
//
|
||||
// arrangeWindowsToolStripMenuItem
|
||||
//
|
||||
this.arrangeWindowsToolStripMenuItem.Name = "arrangeWindowsToolStripMenuItem";
|
||||
this.arrangeWindowsToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.arrangeWindowsToolStripMenuItem.Text = "Re-arran&ge Windows";
|
||||
this.arrangeWindowsToolStripMenuItem.Click += new System.EventHandler(this.arrangeWindowsToolStripMenuItem_Click);
|
||||
//
|
||||
// minimizeALLToolStripMenuItem
|
||||
//
|
||||
this.minimizeALLToolStripMenuItem.Name = "minimizeALLToolStripMenuItem";
|
||||
this.minimizeALLToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.minimizeALLToolStripMenuItem.Text = "&Minimize ALL";
|
||||
this.minimizeALLToolStripMenuItem.Click += new System.EventHandler(this.minimizeALLToolStripMenuItem_Click);
|
||||
//
|
||||
// MainTimer
|
||||
//
|
||||
this.MainTimer.Enabled = true;
|
||||
this.MainTimer.Interval = 20;
|
||||
this.MainTimer.Tick += new System.EventHandler(this.MainTimer_Tick);
|
||||
//
|
||||
// notifyIcon1
|
||||
//
|
||||
this.notifyIcon1.ContextMenuStrip = this.trayMenu;
|
||||
this.notifyIcon1.Text = "IOB-WIN-NEXT";
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
||||
//
|
||||
// trayMenu
|
||||
//
|
||||
this.trayMenu.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.trayMenu.Name = "trayMenu";
|
||||
this.trayMenu.Size = new System.Drawing.Size(61, 4);
|
||||
this.trayMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.trayMenu_ItemClicked);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(713, 530);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.IsMdiContainer = true;
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Name = "MainForm";
|
||||
this.Text = "IOB WIN 2025";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
||||
this.Resize += new System.EventHandler(this.MainForm_Resize);
|
||||
this.statusStrip1.ResumeLayout(false);
|
||||
this.statusStrip1.PerformLayout();
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mCheckUpdates;
|
||||
private System.Windows.Forms.ToolStripMenuItem windowToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblApp;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblVers;
|
||||
private System.Windows.Forms.ToolStripProgressBar MainProgrBar;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblComStats;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblStatus;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||
private System.Windows.Forms.Timer MainTimer;
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||||
private System.Windows.Forms.ContextMenuStrip trayMenu;
|
||||
private System.Windows.Forms.ToolStripStatusLabel tslRunTime;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
|
||||
private System.Windows.Forms.ToolStripMenuItem closeChildToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem uploadIOBConfToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem downloadIOBConfToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem sendIOBAssignmentsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem getIOBAssignmentsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem restartALLAdaptersToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem arrangeWindowsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem minimizeALLToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem closeALLAdaptersToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mShowMainLog;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace IOB_WIN_NEXT
|
||||
namespace IOB_WIN_FORM
|
||||
{
|
||||
public partial class MainForm : Form
|
||||
{
|
||||
@@ -451,7 +451,6 @@ namespace IOB_WIN_NEXT
|
||||
protected string urlUploadFileCloud
|
||||
{
|
||||
get => $"{baseUrl}IOB/uploadFile/";
|
||||
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
@@ -0,0 +1,33 @@
|
||||
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("IOB-WIN-FORM")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
//[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("IOB-WIN-FORM")]
|
||||
//[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("9ba331bb-9bf1-40e0-ac03-74b43d73a097")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
//[assembly: AssemblyVersion("1.0.0.0")]
|
||||
//[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.3" newVersion="6.0.0.3" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Autoupdater.NET.Official" version="1.8.4" targetFramework="net462" />
|
||||
<package id="MapoSDK" version="6.14.2411.518" targetFramework="net462" />
|
||||
<package id="MathNet.Numerics" version="4.15.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Web.WebView2" version="1.0.1823.32" targetFramework="net462" />
|
||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net462" />
|
||||
<package id="NLog" version="5.2.3" targetFramework="net462" />
|
||||
</packages>
|
||||
+20
-2
@@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-UT-NEXT", "IOB-UT-NEXT\IOB-UT-NEXT.csproj", "{90512E12-29FC-460D-94CC-648C2A072DBD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-WIN-FORM", "IOB-WIN-FORM\IOB-WIN-FORM.csproj", "{9BA331BB-9BF1-40E0-AC03-74B43D73A097}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-WIN-NEXT", "IOB-WIN-NEXT\IOB-WIN-NEXT.csproj", "{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}"
|
||||
EndProject
|
||||
Global
|
||||
@@ -58,6 +60,22 @@ Global
|
||||
{90512E12-29FC-460D-94CC-648C2A072DBD}.SIEMENS|Any CPU.Build.0 = Release|Any CPU
|
||||
{90512E12-29FC-460D-94CC-648C2A072DBD}.SIEMENS|x86.ActiveCfg = Debug|x86
|
||||
{90512E12-29FC-460D-94CC-648C2A072DBD}.SIEMENS|x86.Build.0 = Debug|x86
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Release|x86.Build.0 = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|Any CPU.Build.0 = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|x86.ActiveCfg = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|x86.Build.0 = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.SIEMENS|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.SIEMENS|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.SIEMENS|x86.ActiveCfg = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.SIEMENS|x86.Build.0 = Debug|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.Debug|x86.ActiveCfg = Debug|x86
|
||||
@@ -70,8 +88,8 @@ Global
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.Remote_DEBUG|Any CPU.Build.0 = Remote_DEBUG|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.Remote_DEBUG|x86.ActiveCfg = Remote_DEBUG|x86
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.Remote_DEBUG|x86.Build.0 = Remote_DEBUG|x86
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.SIEMENS|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.SIEMENS|Any CPU.Build.0 = Release|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.SIEMENS|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.SIEMENS|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.SIEMENS|x86.ActiveCfg = Debug|x86
|
||||
{B2ABB009-C046-4F9C-956C-52DCAA9FE5A9}.SIEMENS|x86.Build.0 = Debug|x86
|
||||
EndGlobalSection
|
||||
|
||||
@@ -0,0 +1,379 @@
|
||||
using IOB_UT_NEXT;
|
||||
using IOB_WIN_NEXT.Iob;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace IOB_WIN_NEXT
|
||||
{
|
||||
public class AdapterFormNext: IOB_WIN_FORM.AdapterForm
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Avvio MainForm
|
||||
/// </summary>
|
||||
/// <param name="codIOB"></param>
|
||||
public AdapterFormNext(string codIOB): base(codIOB)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// carica IOB richiesto
|
||||
/// </summary>
|
||||
protected override void loadIobType()
|
||||
{
|
||||
if (IOBConf != null)
|
||||
{
|
||||
switch (tipoScelto)
|
||||
{
|
||||
case tipoAdapter.SIMULA:
|
||||
iobObj = new Iob.Simula(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.BECKHOFF:
|
||||
case tipoAdapter.BECKHOFF_CPA:
|
||||
iobObj = new IobBeckhoff.BeckhoffCpa(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FILE_GEN:
|
||||
iobObj = new IobFile.FileGen(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FILE_EUROM63:
|
||||
iobObj = new IobFile.FileEurom63(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FILE_SOITAAB:
|
||||
iobObj = new IobFile.IobFileSoitaab(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FANUC:
|
||||
iobObj = new Iob.Fanuc(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.FTP:
|
||||
iobObj = new IobNet.Ftp(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.KAWASAKI:
|
||||
iobObj = new Iob.Kawasaki(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.IcoelDb:
|
||||
iobObj = new IobSql.IcoelDb(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.IcoelSoap:
|
||||
iobObj = new IobNet.IcoelSoap(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MITSUBISHI:
|
||||
iobObj = new Mitsubishi(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP:
|
||||
iobObj = new IobModbusTCP.ModbusTCP(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_CEDAX:
|
||||
iobObj = new IobModbusTCP.ModbusTCPCedax(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_CENTERFRIGO:
|
||||
iobObj = new IobModbusTCP.ModbusTCPCenterfrigo(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_FIMAT:
|
||||
iobObj = new IobModbusTCP.ModbusTCPFimat(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_HAM:
|
||||
iobObj = new IobModbusTCP.ModbusTCPHam(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_HELPI:
|
||||
iobObj = new IobModbusTCP.ModbusTCPHelpi(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_IMAS_AEROMEC:
|
||||
iobObj = new IobModbusTCP.ModbusTCPImaxAeromec(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_RIMOR:
|
||||
iobObj = new IobModbusTCP.ModbusTCPRimor(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_SAIM:
|
||||
iobObj = new IobModbusTCP.ModbusTCPSaim(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_ZETAPACK:
|
||||
iobObj = new IobModbusTCP.ModbusTCPZetapack(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MTConnect:
|
||||
iobObj = new Iob.MTConn(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OMRON:
|
||||
iobObj = new Iob.Omron(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUa:
|
||||
iobObj = new IobOpc.OpcUa(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaCMS:
|
||||
case tipoAdapter.OpcUaSCM:
|
||||
iobObj = new IobOpc.OpcUaCMS(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwon:
|
||||
iobObj = new IobOpc.OpcUaEwon(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonAdige:
|
||||
iobObj = new IobOpc.OpcUaEwonAdige(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonBLM:
|
||||
iobObj = new IobOpc.OpcUaEwonBLM(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonMonti:
|
||||
iobObj = new IobOpc.OpcUaEwonMonti(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaEwonMecolpress:
|
||||
iobObj = new IobOpc.OpcUaEwonMecolpress(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaKwp:
|
||||
iobObj = new IobOpc.OpcUaKpw(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaKwpRama:
|
||||
iobObj = new IobOpc.OpcUaKpwRama(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaImasAeromec:
|
||||
iobObj = new IobOpc.OpcUaImas(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaMBH:
|
||||
iobObj = new IobOpc.OpcUaMBH(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaMBHCimolai:
|
||||
iobObj = new IobOpc.OpcUaMBHCimolai(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaOmron:
|
||||
iobObj = new IobOpc.OpcUaOmron(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaOmronIcoel:
|
||||
iobObj = new IobOpc.OpcUaOmronIcoel(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaSiemens:
|
||||
iobObj = new IobOpc.OpcUaSiemens(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaSiemensOMP:
|
||||
iobObj = new IobOpc.OpcUaSiemensOMP(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaSiemensRama:
|
||||
iobObj = new IobOpc.OpcUaSiemensRama(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OpcUaUlma:
|
||||
iobObj = new IobOpc.OpcUaUlma(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.PingWatchdog:
|
||||
iobObj = new IobNet.Ping(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.OSAI_OPEN:
|
||||
case tipoAdapter.OSAI_CNDEX:
|
||||
case tipoAdapter.OSAI_VB6:
|
||||
// versione EgwProxy.OsaiCncLib
|
||||
iobObj = new Iob.OSAI(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.REST:
|
||||
iobObj = new IobRest.Base(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.REST_CITIZEN:
|
||||
iobObj = new IobRest.Citizen(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS:
|
||||
iobObj = new IobSiemens.Siemens(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_APROCHIM:
|
||||
iobObj = new IobSiemens.SiemensAprochim(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_AT2001:
|
||||
iobObj = new IobSiemens.SiemensAt2001(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_COMECA:
|
||||
iobObj = new IobSiemens.SiemensComeca(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_COMUR:
|
||||
iobObj = new IobSiemens.SiemensComur(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_COSMAP:
|
||||
iobObj = new IobSiemens.SiemensCosmap(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_FAPE:
|
||||
iobObj = new IobSiemens.SiemensFape(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_FAPE_2:
|
||||
iobObj = new IobSiemens.SiemensFapeV2(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_INGENIA:
|
||||
iobObj = new IobSiemens.SiemensIngenia(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_LASCO:
|
||||
iobObj = new IobSiemens.SiemensLasco(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_NWSE:
|
||||
iobObj = new IobSiemens.SiemensNWSE(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_PRESSOIL_CEI:
|
||||
iobObj = new IobSiemens.SiemensPressoilCei(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_ROBOTSERVICE:
|
||||
iobObj = new IobSiemens.SiemensRobotService(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_SAET:
|
||||
iobObj = new IobSiemens.SiemensSaet(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_SIMEC:
|
||||
iobObj = new IobSiemens.SiemensSimec(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SIEMENS_TORRI:
|
||||
iobObj = new IobSiemens.SiemensTorri(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SOAP_GOMBA:
|
||||
iobObj = new IobSoap.Gomba(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SQLSERVER_LANTEK:
|
||||
iobObj = new IobSql.SqlServLantek(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.SQLSERVER_PAMA:
|
||||
iobObj = new IobSql.SqlServPama(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.WPS:
|
||||
iobObj = new IobNet.WebPageScrap(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.ND:
|
||||
default:
|
||||
iobObj = new Iob.Simula(this, IOBConf);
|
||||
btnStart.Enabled = false;
|
||||
break;
|
||||
}
|
||||
lblCncText = $"CNC: {IOBConf.tipoIob} [{IOBConf.cncIpAddr}:{IOBConf.cncPort}]";
|
||||
lblSrvUrlText = $"SRV: {IOBConf.serverData.MPIP} | URL: {IOBConf.serverData.MPURL}{IOBConf.serverData.CMDBASE}";
|
||||
|
||||
// aggancio evento refresh
|
||||
iobObj.eh_refreshed += IobObj_eh_refreshed;
|
||||
|
||||
// carico i default values su interfaccia
|
||||
setDefaults();
|
||||
|
||||
displayTaskAndLog($"Caricata conf per adapter {tipoScelto}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,8 +52,8 @@ CLI_INST=SteamWareSim
|
||||
;STARTLIST=Tend_RAMA_10_47
|
||||
;STARTLIST=3024-PING
|
||||
;STARTLIST=2015
|
||||
;STARTLIST=SIMUL_01
|
||||
STARTLIST=3024
|
||||
STARTLIST=SIMUL_01
|
||||
;STARTLIST=3024
|
||||
|
||||
|
||||
MAXCNC=10
|
||||
@@ -1,20 +0,0 @@
|
||||
namespace IOB_WIN_NEXT
|
||||
{
|
||||
public enum StartMode
|
||||
{
|
||||
/// <summary>
|
||||
/// modalità standard (standalone, multi IOB)
|
||||
/// </summary>
|
||||
STD = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Modalità managed (da IOB-MAN)
|
||||
/// </summary>
|
||||
MAN = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Modalità update (per aggiornare IOB-WIN) senza IOB
|
||||
/// </summary>
|
||||
UPD = 2
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
|
||||
<Costura />
|
||||
</Weavers>
|
||||
@@ -1,176 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
|
||||
<xs:element name="Weavers">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element name="Costura" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="ExcludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="IncludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="ExcludeRuntimeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="IncludeRuntimeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged32Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Obsolete, use UnmanagedWinX86Assemblies instead</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="UnmanagedWinX86Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged X86 (32 bit) assembly names to include, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Obsolete, use UnmanagedWinX64Assemblies instead.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="UnmanagedWinX64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged X64 (64 bit) assembly names to include, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="UnmanagedWinArm64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged Arm64 (64 bit) assembly names to include, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="PreloadOrder" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The order of preloaded assemblies, delimited with line breaks.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
<xs:attribute name="CreateTemporaryAssemblies" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IncludeDebugSymbols" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Controls if .pdbs for reference assemblies are also embedded.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IncludeRuntimeReferences" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Controls if runtime assemblies are also embedded.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="UseRuntimeReferencePaths" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Controls whether the runtime assemblies are embedded with their full path or only with their assembly name.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="DisableCompression" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="DisableCleanup" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="DisableEventSubscription" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The attach method no longer subscribes to the `AppDomain.AssemblyResolve` (.NET 4.x) and `AssemblyLoadContext.Resolving` (.NET 6.0+) events.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="LoadAtModuleInit" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IgnoreSatelliteAssemblies" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="ExcludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IncludeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="ExcludeRuntimeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="IncludeRuntimeAssemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Unmanaged32Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Obsolete, use UnmanagedWinX86Assemblies instead</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="UnmanagedWinX86Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged X86 (32 bit) assembly names to include, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="Unmanaged64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Obsolete, use UnmanagedWinX64Assemblies instead</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="UnmanagedWinX64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged X64 (64 bit) assembly names to include, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="UnmanagedWinArm64Assemblies" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A list of unmanaged Arm64 (64 bit) assembly names to include, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="PreloadOrder" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The order of preloaded assemblies, delimited with |.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
<xs:attribute name="VerifyAssembly" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="GenerateXsd" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -526,6 +526,9 @@
|
||||
<Compile Include="..\VersGen\VersGen.cs">
|
||||
<Link>VersGen.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AdapterFormNext.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="IobFile\IobFileSoitaab.cs" />
|
||||
<Compile Include="IobNet\Ftp.cs" />
|
||||
<Compile Include="IobOpc\OpcUaEwonAdige.cs" />
|
||||
@@ -535,8 +538,6 @@
|
||||
<Compile Include="IobRest\Citizen.cs" />
|
||||
<Compile Include="IobRest\Base.cs" />
|
||||
<Compile Include="IobSiemens\SiemensFapeV2.cs" />
|
||||
<Compile Include="Iob\BaseObj.cs" />
|
||||
<Compile Include="Iob\iobRefreshedEventArgs.cs" />
|
||||
<Compile Include="IobSoap\Gomba.cs" />
|
||||
<Compile Include="IobSql\SqlServLantek.cs" />
|
||||
<Compile Include="IobSql\SqlServPama.cs" />
|
||||
@@ -564,7 +565,6 @@
|
||||
<Compile Include="IobSiemens\SiemensNWSE.cs" />
|
||||
<Compile Include="Iob\Mitsubishi.cs" />
|
||||
<Compile Include="TcAdsClient.cs" />
|
||||
<Compile Include="Enums.cs" />
|
||||
<Compile Include="ControlExtensions.cs" />
|
||||
<Compile Include="GlobalSuppressions.cs" />
|
||||
<Compile Include="IobBeckhoff\BeckhoffCpa.cs" />
|
||||
@@ -601,19 +601,7 @@
|
||||
<Compile Include="IobSiemens\Siemens.cs" />
|
||||
<Compile Include="Iob\Simula.cs" />
|
||||
<Compile Include="Iob\Fanuc.cs" />
|
||||
<Compile Include="Iob\Generic.cs" />
|
||||
<Compile Include="AdapterForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AdapterForm.Designer.cs">
|
||||
<DependentUpon>AdapterForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MainForm.Designer.cs">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Iob\GenericNext.cs" />
|
||||
<Compile Include="memAddress.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
@@ -845,12 +833,6 @@
|
||||
<Content Include="Resources\SteamWare.ico">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<EmbeddedResource Include="AdapterForm.resx">
|
||||
<DependentUpon>AdapterForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MainForm.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
@@ -1128,6 +1110,10 @@
|
||||
<Project>{90512e12-29fc-460d-94cc-648c2a072dbd}</Project>
|
||||
<Name>IOB-UT-NEXT</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\IOB-WIN-FORM\IOB-WIN-FORM.csproj">
|
||||
<Project>{9ba331bb-9bf1-40e0-ac03-74b43d73a097}</Project>
|
||||
<Name>IOB-WIN-FORM</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="EZNCAUTLib">
|
||||
|
||||
@@ -13,7 +13,7 @@ using System.Net.NetworkInformation;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class Fanuc : Iob.Generic
|
||||
public class Fanuc : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public Fanuc(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Fanuc(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Start init Fanuc");
|
||||
// i dati RAW principali sono 6 byte...
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
using EgwProxy.Ftp;
|
||||
using EgwProxy.MultiCncLib.App.Native;
|
||||
using IOB_UT_NEXT;
|
||||
using IOB_WIN_FORM;
|
||||
using MapoSDK;
|
||||
using MathNet.Numerics.Statistics;
|
||||
using MTConnect;
|
||||
using MTConnect.Clients;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml.Serialization;
|
||||
using static IOB_UT_NEXT.BaseAlarmConf;
|
||||
using static IOB_UT_NEXT.CustomObj;
|
||||
using static IOB_UT_NEXT.DataModel.Fimat;
|
||||
using static MapoSDK.WharehouseData;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class GenericNext : IOB_WIN_FORM.Iob.Generic
|
||||
{
|
||||
|
||||
public GenericNext(AdapterFormNext caller, IobConfiguration IOBConf): base((IOB_WIN_FORM.AdapterForm)caller, IOBConf)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua upload verso server FTP della macchina dei files nella folder indicata
|
||||
/// </summary>
|
||||
/// <param name="folderDir"></param>
|
||||
/// <returns></returns>
|
||||
protected override bool iobSendFTP(string folderDir)
|
||||
{
|
||||
bool answ = false;
|
||||
//leggo CONF
|
||||
string ftpServ = getOptPar("FTP_SERVER");
|
||||
string ftpUser = getOptPar("FTP_USER");
|
||||
string ftpPass = getOptPar("FTP_PWD");
|
||||
string ftpCert = getOptPar("FTP_CERT");
|
||||
string doSkip = getOptPar("FTP_SKIP");
|
||||
string remDir = getOptPar("FTP_REM_DIR");
|
||||
string locDir = getOptPar("FTP_LOC_DIR");
|
||||
// procedo SE TROVO conf...
|
||||
if (string.IsNullOrEmpty($"{ftpServ}{ftpUser}{ftpPass}"))
|
||||
{
|
||||
lgError($"Impossibile eseguire iobSendFTP x mancanza parametri | ftpServ: {ftpServ} | ftpUser: {ftpUser} | ftpPass: {ftpPass}");
|
||||
}
|
||||
else
|
||||
{
|
||||
bool ftpSkip = false;
|
||||
bool.TryParse(doSkip, out ftpSkip);
|
||||
var ftpClient = new Manager(ftpServ, ftpUser, ftpPass, ftpCert, ftpSkip);
|
||||
var testServer = ftpClient.ServerOk();
|
||||
if (testServer)
|
||||
{
|
||||
lgInfo($"FTP: server found at {ftpServ}");
|
||||
var srvType = ftpClient.ServerType();
|
||||
lgInfo($"FTP Server type: {srvType}");
|
||||
|
||||
var preTest = ftpClient.DirExists(remDir);
|
||||
if (!preTest)
|
||||
{
|
||||
var dirCreate = ftpClient.CreateDir(remDir);
|
||||
lgInfo($"FTP: created remote dir {remDir}");
|
||||
}
|
||||
|
||||
// test directory...
|
||||
string basePath = Application.StartupPath;
|
||||
|
||||
string localPath = Path.Combine(basePath, locDir);
|
||||
lgInfo($"basePath: {basePath} | localPath: {localPath}");
|
||||
var fileList = Directory.GetFiles(localPath, "*.csv");
|
||||
int numfile = 0;
|
||||
foreach (var file in fileList)
|
||||
{
|
||||
string fName = file.Split('\\').Last();
|
||||
string remName = $"{remDir}\\{fName}";
|
||||
ftpClient.SendFile(file, remName);
|
||||
numfile++;
|
||||
}
|
||||
var dirUploaded = (numfile == fileList.Count());
|
||||
if (dirUploaded)
|
||||
{
|
||||
lgInfo($"FTP: uploaded dir content {locDir} --> {remDir}");
|
||||
}
|
||||
// se ok --> sposto invio
|
||||
DateTime adesso = DateTime.Now;
|
||||
string archBasePath = Path.Combine(basePath, "DATA", "HIST", $"{adesso:yyyy}");
|
||||
baseUtils.checkDir(archBasePath);
|
||||
string archPath = Path.Combine(archBasePath, $"{adesso:MMddHHmmss}");
|
||||
baseUtils.checkDir(archPath);
|
||||
lgInfo($"Richiesta Dir Move | {localPath} | {archPath}");
|
||||
foreach (var item in fileList)
|
||||
{
|
||||
string fName = item.Split('\\').Last();
|
||||
string destName = $"{archPath}\\{fName}";
|
||||
File.Move(item, destName);
|
||||
}
|
||||
//Directory.Move(localPath, archBasePath);
|
||||
lgInfo($"FTP: Archived dir content {localPath} --> {archPath}");
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ using System.Net.NetworkInformation;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class Kawasaki : Iob.Generic, IDisposable
|
||||
public class Kawasaki : Iob.GenericNext, IDisposable
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public Kawasaki(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Kawasaki(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// gestione invio ritardato contapezzi
|
||||
pzCountDelay = utils.CRI("pzCountDelay");
|
||||
|
||||
@@ -17,7 +17,7 @@ using System.Xml.Linq;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class MTConn : Iob.Generic
|
||||
public class MTConn : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public MTConn(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public MTConn(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// gestione invio ritardato contapezzi
|
||||
pzCountDelay = utils.CRI("pzCountDelay");
|
||||
|
||||
@@ -16,7 +16,7 @@ using System.Threading;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class Mitsubishi : Iob.Generic
|
||||
public class Mitsubishi : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public Mitsubishi(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Mitsubishi(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Start init Mitsubishi");
|
||||
// gestione invio ritardato contapezzi
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Net.NetworkInformation;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class OSAI : Iob.Generic
|
||||
public class OSAI : Iob.GenericNext
|
||||
{
|
||||
#region Public Fields
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public OSAI(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OSAI(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// gestione invio ritardato contapezzi
|
||||
pzCountDelay = utils.CRI("pzCountDelay");
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Threading;
|
||||
|
||||
namespace IOB_WIN_NEXT.Iob
|
||||
{
|
||||
public class Omron : Iob.Generic
|
||||
public class Omron : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public Omron(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Omron(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// gestione invio ritardato contapezzi
|
||||
pzCountDelay = utils.CRI("pzCountDelay");
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
#endregion Public Fields
|
||||
}
|
||||
|
||||
public class Simula : Iob.Generic
|
||||
public class Simula : Iob.GenericNext
|
||||
{
|
||||
#region Public Fields
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public Simula(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Simula(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// gestione invio ritardato contapezzi
|
||||
pzCountDelay = utils.CRI("pzCountDelay");
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace IOB_WIN_NEXT.IobBeckhoff
|
||||
{
|
||||
public class Beckhoff : Iob.Generic
|
||||
public class Beckhoff : Iob.GenericNext
|
||||
{
|
||||
#region Public Fields
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobBeckhoff
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public Beckhoff(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Beckhoff(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IobBeckhoff Adapter");
|
||||
// gestione invio ritardato contapezzi
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace IOB_WIN_NEXT.IobBeckhoff
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public BeckhoffCpa(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public BeckhoffCpa(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("START IobBeckhoffCPA Adapter specifico");
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobFile
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public FileEurom63(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public FileEurom63(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("INIT IobFileEurom63");
|
||||
appPath = Path.GetDirectoryName(Application.ExecutablePath);
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace IOB_WIN_NEXT.IobFile
|
||||
/// <summary>
|
||||
/// Generica classe per implementare IOB basato su scambio FILE
|
||||
/// </summary>
|
||||
public class FileGen : Iob.Generic, IDisposable
|
||||
public class FileGen : Iob.GenericNext, IDisposable
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli dotati di GENERICA funzionalità scambio info tramite file
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobFile
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public FileGen(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public FileGen(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("INIT FileGen");
|
||||
//reloadAdapterConf();
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace IOB_WIN_NEXT.IobFile
|
||||
/// --> fluxLog
|
||||
/// </summary>
|
||||
|
||||
public class IobFileSoitaab : Iob.Generic
|
||||
public class IobFileSoitaab : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace IOB_WIN_NEXT.IobFile
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public IobFileSoitaab(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public IobFileSoitaab(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
string VetoReadSec = getOptPar("VetoReadSec");
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCP : Iob.Generic
|
||||
public class ModbusTCP : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCP(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCP(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP");
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPCedax(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPCedax(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Cedax");
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPCenterfrigo(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPCenterfrigo(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Centerfrigo");
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPFimat(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPFimat(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP FIMAT");
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPHam(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPHam(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP HAM");
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPHelpi(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPHelpi(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Helpi");
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPImaxAeromec(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPImaxAeromec(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP IMAS Aeromec");
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPRimor(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPRimor(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Rimor");
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPSaim(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPSaim(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Saim");
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace IOB_WIN_NEXT.IobModbusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPZetapack(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public ModbusTCPZetapack(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Zetapack");
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// <summary>
|
||||
/// Classe gestione sync via FTP
|
||||
/// </summary>
|
||||
public class Ftp : Iob.Generic
|
||||
public class Ftp : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public Ftp(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Ftp(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init IobFtp Client");
|
||||
// imposto
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// <summary>
|
||||
/// Adapter specializzato per ICOEL e le chiamate tramite WS Soap al Sizer, con libreria EgwProxy.Icoel
|
||||
/// </summary>
|
||||
public class IcoelSoap : Iob.Generic
|
||||
public class IcoelSoap : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public IcoelSoap(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public IcoelSoap(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
/* --------------------------------------
|
||||
* todo's
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace IOB_WIN_NEXT.IobNet
|
||||
{
|
||||
public class Ping : Iob.Generic
|
||||
public class Ping : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public Ping(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Ping(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IobPing (WatchDog)");
|
||||
// init datetime counters
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// Generica classe per implementare WebPageScraping (scaricamento web pages anche js-based x
|
||||
/// recupero informazioni)
|
||||
/// </summary>
|
||||
public class WebPageScrap : Iob.Generic, IDisposable
|
||||
public class WebPageScrap : Iob.GenericNext, IDisposable
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli dotati di GENERICA pagina WEB in cui cercare e recuperare informazioni
|
||||
@@ -35,7 +35,7 @@ namespace IOB_WIN_NEXT.IobNet
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public WebPageScrap(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public WebPageScrap(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("INIT IobWPS");
|
||||
//reloadAdapterConf();
|
||||
|
||||
@@ -21,7 +21,7 @@ using static IOB_UT_NEXT.ByteDataConverter;
|
||||
|
||||
namespace IOB_WIN_NEXT.IobOpc
|
||||
{
|
||||
public class OpcUa : Iob.Generic
|
||||
public class OpcUa : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUa(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUa(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa");
|
||||
// gestione invio ritardato contapezzi
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaCMS(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaCMS(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// inizializzo classe base...
|
||||
if (!string.IsNullOrEmpty(getOptPar("CHANGE_ODL_MODE")))
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaEwon(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaEwon(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// inizializzo classe base...
|
||||
if (!string.IsNullOrEmpty(getOptPar("CHANGE_ODL_MODE")))
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaEwonAdige(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaEwonAdige(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init Ewon versione Adige/BLM");
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaEwonBLM(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaEwonBLM(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init Ewon versione BLM (Mecart)");
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaEwonMecolpress(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaEwonMecolpress(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init Ewon versione Mecolpress (STEL)");
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaEwonMonti(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaEwonMonti(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init Ewon versione Monti (Tenditalia)");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaImas(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaImas(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa IMAS");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaKpw(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaKpw(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa Kepware");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaKpwRama(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaKpwRama(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa Kepware x RAMA");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaMBH(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaMBH(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa MBH");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaMBHCimolai(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaMBHCimolai(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa MBH versione Cimolai (Baglietto)");
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaOmron(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaOmron(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// inizializzo classe base...
|
||||
if (!string.IsNullOrEmpty(getOptPar("CHANGE_ODL_MODE")))
|
||||
|
||||
@@ -208,7 +208,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaOmronIcoel(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaOmronIcoel(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// inizializzo classe base...
|
||||
if (!string.IsNullOrEmpty(getOptPar("CHANGE_ODL_MODE")))
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaSiemens(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaSiemens(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa Siemens");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaSiemensOMP(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaSiemensOMP(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa Siemens versione OMP (Cereria Finassi)");
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaSiemensRama(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaSiemensRama(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa Siemens x RAMA");
|
||||
doByteRead = true;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobOpc
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public OpcUaUlma(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public OpcUaUlma(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("Init OpcUa ULMA");
|
||||
// inizializzo classe base...
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace IOB_WIN_NEXT.IobRest
|
||||
/// <summary>
|
||||
/// Adapter base per sviluppo chiamate con servizi REST
|
||||
/// </summary>
|
||||
public class Base : Iob.Generic
|
||||
public class Base : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace IOB_WIN_NEXT.IobRest
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public Base(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Base(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo($"Richiesto Adapter IobRest.Base con i parametri seguenti | ADDR: {IOBConf.cncIpAddr} | PORT: {IOBConf.cncPort}");
|
||||
lastPING = DateTime.Now.AddHours(-1);
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobRest
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public Citizen(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Citizen(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo($"Richiesto Adapter IobRest.RestCitizen con i parametri seguenti | ADDR: {IOBConf.cncIpAddr} | PORT: {IOBConf.cncPort}");
|
||||
lastPING = DateTime.Now.AddHours(-1);
|
||||
|
||||
@@ -12,7 +12,7 @@ using System.Threading;
|
||||
|
||||
namespace IOB_WIN_NEXT.IobSiemens
|
||||
{
|
||||
public class Siemens : Iob.Generic, IDisposable
|
||||
public class Siemens : Iob.GenericNext, IDisposable
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli SIEMENS tramite libreria S7.net
|
||||
@@ -39,7 +39,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public Siemens(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Siemens(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
memMap = new plcMemMapExt();
|
||||
writePre = true;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensAprochim(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensAprochim(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione APROCHIM");
|
||||
// imposto i parametri speciali x calcolo...
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensAt2001(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensAt2001(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione VIPA AT2001");
|
||||
lastPLCWatchDog = DateTime.Now.AddMinutes(-1);
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensComeca(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensComeca(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione Comeca");
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensComur(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensComur(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione COMUR");
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensCosmap(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensCosmap(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione Cosmap");
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensFape(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensFape(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione FAPE 1.0 - 2018");
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensFapeV2(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensFapeV2(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
string sFapeVers = getOptPar("FAPE_VERS");
|
||||
if (!string.IsNullOrEmpty(sFapeVers))
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensIngenia(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensIngenia(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione VIPA INGENIA");
|
||||
lastPLCWatchDog = DateTime.Now.AddMinutes(-1);
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensLasco(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensLasco(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione LASCO");
|
||||
lastPLCWatchDog = DateTime.Now.AddMinutes(-1);
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensNWSE(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensNWSE(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione NWS");
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensPressoilCei(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensPressoilCei(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione PRESSOIL - CEI");
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensRobotService(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensRobotService(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione RobotService");
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensSaet(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensSaet(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione SAET");
|
||||
lastPLCWatchDog = DateTime.Now.AddMinutes(-1);
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensSimec(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensSimec(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB SIEMENS versione SIMEC");
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace IOB_WIN_NEXT.IobSiemens
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="adpConf"></param>
|
||||
public SiemensTorri(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SiemensTorri(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
// gestione restart OpcUa client...
|
||||
if (!string.IsNullOrEmpty(getOptPar("ENABLE_ALARM_LEGACY")))
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace IOB_WIN_NEXT.IobSoap
|
||||
/// <summary>
|
||||
/// Adapter specializzato per GOMA e le chiamate tramite WS Soap alla bilancia, libreria EgwProxy.Gomba
|
||||
/// </summary>
|
||||
public class Gomba : Iob.Generic
|
||||
public class Gomba : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace IOB_WIN_NEXT.IobSoap
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public Gomba(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public Gomba(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo($"Richiesto Adapter IobSoap.Gomba con i parametri seguenti | ADDR: {IOBConf.cncIpAddr} | PORT: {IOBConf.cncPort}");
|
||||
redKeyPesate = redisMan.redHash($"IOB:Status:{cIobConf.codIOB}:ListPesate");
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace IOB_WIN_NEXT.IobSql
|
||||
/// - tracciabilità (confezioni
|
||||
/// </summary>
|
||||
|
||||
public class IcoelDb : Iob.Generic
|
||||
public class IcoelDb : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace IOB_WIN_NEXT.IobSql
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public IcoelDb(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public IcoelDb(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
/* --------------------------------------
|
||||
* todo's
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace IOB_WIN_NEXT.IobSql
|
||||
/// - ProdLog (da NestingDaLantek + RigheNestingDaLantek)
|
||||
/// </summary>
|
||||
|
||||
public class SqlServLantek : Iob.Generic
|
||||
public class SqlServLantek : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace IOB_WIN_NEXT.IobSql
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public SqlServLantek(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SqlServLantek(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
string SyncStateServ = getOptPar("SyncStateServer");
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace IOB_WIN_NEXT.IobSql
|
||||
/// - FluxLog (da stato macchina)
|
||||
/// - ProdLog (da stato Prod)
|
||||
/// </summary>
|
||||
public class SqlServPama : Iob.Generic
|
||||
public class SqlServPama : Iob.GenericNext
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace IOB_WIN_NEXT.IobSql
|
||||
/// </summary>
|
||||
/// <param name="caller">AdapterForm chiamante</param>
|
||||
/// <param name="IOBConf">Configurazione IOB per avvio</param>
|
||||
public SqlServPama(AdapterForm caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
public SqlServPama(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
string SyncStateServ = getOptPar("SyncStateServer");
|
||||
string SyncStateDb = getOptPar("SyncStateDb");
|
||||
|
||||
Generated
-325
@@ -1,325 +0,0 @@
|
||||
namespace IOB_WIN_NEXT
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.lblApp = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.lblVers = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.MainProgrBar = new System.Windows.Forms.ToolStripProgressBar();
|
||||
this.lblComStats = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.tslRunTime = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mCheckUpdates = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mShowMainLog = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeChildToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeALLAdaptersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.restartALLAdaptersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.uploadIOBConfToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.downloadIOBConfToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.sendIOBAssignmentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.getIOBAssignmentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.arrangeWindowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.minimizeALLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.MainTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.lblApp,
|
||||
this.lblVers,
|
||||
this.MainProgrBar,
|
||||
this.lblComStats,
|
||||
this.toolStripStatusLabel3,
|
||||
this.lblStatus,
|
||||
this.toolStripStatusLabel1,
|
||||
this.tslRunTime});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 507);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
|
||||
this.statusStrip1.Size = new System.Drawing.Size(713, 23);
|
||||
this.statusStrip1.TabIndex = 1;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// lblApp
|
||||
//
|
||||
this.lblApp.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.lblApp.Name = "lblApp";
|
||||
this.lblApp.Size = new System.Drawing.Size(22, 18);
|
||||
this.lblApp.Text = "---";
|
||||
//
|
||||
// lblVers
|
||||
//
|
||||
this.lblVers.Name = "lblVers";
|
||||
this.lblVers.Size = new System.Drawing.Size(16, 18);
|
||||
this.lblVers.Text = "...";
|
||||
//
|
||||
// MainProgrBar
|
||||
//
|
||||
this.MainProgrBar.Name = "MainProgrBar";
|
||||
this.MainProgrBar.Size = new System.Drawing.Size(75, 17);
|
||||
this.MainProgrBar.Step = 1;
|
||||
this.MainProgrBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
|
||||
//
|
||||
// lblComStats
|
||||
//
|
||||
this.lblComStats.Name = "lblComStats";
|
||||
this.lblComStats.Size = new System.Drawing.Size(32, 18);
|
||||
this.lblComStats.Text = "Stats";
|
||||
//
|
||||
// toolStripStatusLabel3
|
||||
//
|
||||
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
|
||||
this.toolStripStatusLabel3.Size = new System.Drawing.Size(10, 18);
|
||||
this.toolStripStatusLabel3.Text = "|";
|
||||
//
|
||||
// lblStatus
|
||||
//
|
||||
this.lblStatus.Name = "lblStatus";
|
||||
this.lblStatus.Size = new System.Drawing.Size(22, 18);
|
||||
this.lblStatus.Text = "---";
|
||||
//
|
||||
// toolStripStatusLabel1
|
||||
//
|
||||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(10, 18);
|
||||
this.toolStripStatusLabel1.Text = "|";
|
||||
//
|
||||
// tslRunTime
|
||||
//
|
||||
this.tslRunTime.Name = "tslRunTime";
|
||||
this.tslRunTime.Size = new System.Drawing.Size(16, 18);
|
||||
this.tslRunTime.Text = "...";
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.closeChildToolStripMenuItem,
|
||||
this.windowToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(713, 24);
|
||||
this.menuStrip1.TabIndex = 2;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.mCheckUpdates,
|
||||
this.mShowMainLog});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileToolStripMenuItem.Text = "&File";
|
||||
//
|
||||
// mCheckUpdates
|
||||
//
|
||||
this.mCheckUpdates.Name = "mCheckUpdates";
|
||||
this.mCheckUpdates.Size = new System.Drawing.Size(186, 22);
|
||||
this.mCheckUpdates.Text = "Check for &Updates";
|
||||
this.mCheckUpdates.Click += new System.EventHandler(this.mCheckUpdates_Click);
|
||||
//
|
||||
// mShowMainLog
|
||||
//
|
||||
this.mShowMainLog.Name = "mShowMainLog";
|
||||
this.mShowMainLog.Size = new System.Drawing.Size(186, 22);
|
||||
this.mShowMainLog.Text = "Open &LogFile (MAIN)";
|
||||
this.mShowMainLog.Click += new System.EventHandler(this.MShowMainLog_Click);
|
||||
//
|
||||
// closeChildToolStripMenuItem
|
||||
//
|
||||
this.closeChildToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.closeALLAdaptersToolStripMenuItem,
|
||||
this.restartALLAdaptersToolStripMenuItem,
|
||||
this.uploadIOBConfToolStripMenuItem,
|
||||
this.downloadIOBConfToolStripMenuItem,
|
||||
this.sendIOBAssignmentsToolStripMenuItem,
|
||||
this.getIOBAssignmentsToolStripMenuItem});
|
||||
this.closeChildToolStripMenuItem.Name = "closeChildToolStripMenuItem";
|
||||
this.closeChildToolStripMenuItem.Size = new System.Drawing.Size(121, 20);
|
||||
this.closeChildToolStripMenuItem.Text = "A&dapters Functions";
|
||||
//
|
||||
// closeALLAdaptersToolStripMenuItem
|
||||
//
|
||||
this.closeALLAdaptersToolStripMenuItem.Name = "closeALLAdaptersToolStripMenuItem";
|
||||
this.closeALLAdaptersToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.closeALLAdaptersToolStripMenuItem.Text = "&Close ALL Adapters";
|
||||
this.closeALLAdaptersToolStripMenuItem.Click += new System.EventHandler(this.closeALLAdaptersToolStripMenuItem_Click);
|
||||
//
|
||||
// restartALLAdaptersToolStripMenuItem
|
||||
//
|
||||
this.restartALLAdaptersToolStripMenuItem.Name = "restartALLAdaptersToolStripMenuItem";
|
||||
this.restartALLAdaptersToolStripMenuItem.ShortcutKeyDisplayString = "ALT-R";
|
||||
this.restartALLAdaptersToolStripMenuItem.ShowShortcutKeys = false;
|
||||
this.restartALLAdaptersToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.restartALLAdaptersToolStripMenuItem.Text = "&Restart ALL Adapters";
|
||||
this.restartALLAdaptersToolStripMenuItem.Click += new System.EventHandler(this.restartALLAdaptersToolStripMenuItem_Click);
|
||||
//
|
||||
// uploadIOBConfToolStripMenuItem
|
||||
//
|
||||
this.uploadIOBConfToolStripMenuItem.Name = "uploadIOBConfToolStripMenuItem";
|
||||
this.uploadIOBConfToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.uploadIOBConfToolStripMenuItem.Text = "Upload IOB Conf files";
|
||||
this.uploadIOBConfToolStripMenuItem.Click += new System.EventHandler(this.uploadIOBConfToolStripMenuItem_Click);
|
||||
//
|
||||
// downloadIOBConfToolStripMenuItem
|
||||
//
|
||||
this.downloadIOBConfToolStripMenuItem.Name = "downloadIOBConfToolStripMenuItem";
|
||||
this.downloadIOBConfToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.downloadIOBConfToolStripMenuItem.Text = "Download IOB Conf files";
|
||||
this.downloadIOBConfToolStripMenuItem.Click += new System.EventHandler(this.downloadIOBConfToolStripMenuItem_Click);
|
||||
//
|
||||
// sendIOBAssignmentsToolStripMenuItem
|
||||
//
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Enabled = false;
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Name = "sendIOBAssignmentsToolStripMenuItem";
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Text = "Send IOB Assignments";
|
||||
this.sendIOBAssignmentsToolStripMenuItem.Click += new System.EventHandler(this.sendIOBAssignmentsToolStripMenuItem_Click);
|
||||
//
|
||||
// getIOBAssignmentsToolStripMenuItem
|
||||
//
|
||||
this.getIOBAssignmentsToolStripMenuItem.Enabled = false;
|
||||
this.getIOBAssignmentsToolStripMenuItem.Name = "getIOBAssignmentsToolStripMenuItem";
|
||||
this.getIOBAssignmentsToolStripMenuItem.Size = new System.Drawing.Size(203, 22);
|
||||
this.getIOBAssignmentsToolStripMenuItem.Text = "Get IOB Assignments";
|
||||
this.getIOBAssignmentsToolStripMenuItem.Click += new System.EventHandler(this.getIOBAssignmentsToolStripMenuItem_Click);
|
||||
//
|
||||
// windowToolStripMenuItem
|
||||
//
|
||||
this.windowToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.arrangeWindowsToolStripMenuItem,
|
||||
this.minimizeALLToolStripMenuItem});
|
||||
this.windowToolStripMenuItem.Name = "windowToolStripMenuItem";
|
||||
this.windowToolStripMenuItem.Size = new System.Drawing.Size(63, 20);
|
||||
this.windowToolStripMenuItem.Text = "&Window";
|
||||
//
|
||||
// arrangeWindowsToolStripMenuItem
|
||||
//
|
||||
this.arrangeWindowsToolStripMenuItem.Name = "arrangeWindowsToolStripMenuItem";
|
||||
this.arrangeWindowsToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.arrangeWindowsToolStripMenuItem.Text = "Re-arran&ge Windows";
|
||||
this.arrangeWindowsToolStripMenuItem.Click += new System.EventHandler(this.arrangeWindowsToolStripMenuItem_Click);
|
||||
//
|
||||
// minimizeALLToolStripMenuItem
|
||||
//
|
||||
this.minimizeALLToolStripMenuItem.Name = "minimizeALLToolStripMenuItem";
|
||||
this.minimizeALLToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
|
||||
this.minimizeALLToolStripMenuItem.Text = "&Minimize ALL";
|
||||
this.minimizeALLToolStripMenuItem.Click += new System.EventHandler(this.minimizeALLToolStripMenuItem_Click);
|
||||
//
|
||||
// MainTimer
|
||||
//
|
||||
this.MainTimer.Enabled = true;
|
||||
this.MainTimer.Interval = 20;
|
||||
this.MainTimer.Tick += new System.EventHandler(this.MainTimer_Tick);
|
||||
//
|
||||
// notifyIcon1
|
||||
//
|
||||
this.notifyIcon1.ContextMenuStrip = this.trayMenu;
|
||||
this.notifyIcon1.Text = "IOB-WIN-NEXT";
|
||||
this.notifyIcon1.Visible = true;
|
||||
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
||||
//
|
||||
// trayMenu
|
||||
//
|
||||
this.trayMenu.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.trayMenu.Name = "trayMenu";
|
||||
this.trayMenu.Size = new System.Drawing.Size(61, 4);
|
||||
this.trayMenu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.trayMenu_ItemClicked);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(713, 530);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.IsMdiContainer = true;
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Name = "MainForm";
|
||||
this.Text = "IOB WIN";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
||||
this.Resize += new System.EventHandler(this.MainForm_Resize);
|
||||
this.statusStrip1.ResumeLayout(false);
|
||||
this.statusStrip1.PerformLayout();
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mCheckUpdates;
|
||||
private System.Windows.Forms.ToolStripMenuItem windowToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblApp;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblVers;
|
||||
private System.Windows.Forms.ToolStripProgressBar MainProgrBar;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblComStats;
|
||||
private System.Windows.Forms.ToolStripStatusLabel lblStatus;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||
private System.Windows.Forms.Timer MainTimer;
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||||
private System.Windows.Forms.ContextMenuStrip trayMenu;
|
||||
private System.Windows.Forms.ToolStripStatusLabel tslRunTime;
|
||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
|
||||
private System.Windows.Forms.ToolStripMenuItem closeChildToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem uploadIOBConfToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem downloadIOBConfToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem sendIOBAssignmentsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem getIOBAssignmentsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem restartALLAdaptersToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem arrangeWindowsToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem minimizeALLToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem closeALLAdaptersToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mShowMainLog;
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@ namespace IOB_WIN_NEXT
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new MainForm(args));
|
||||
Application.Run(new IOB_WIN_FORM.MainForm(args));
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
+1
-1
@@ -5,5 +5,5 @@
|
||||
using System.Reflection;
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.0.0.0")]
|
||||
[assembly: AssemblyCopyright("EgalWare © 2006")]
|
||||
[assembly: AssemblyCopyright("EgalWare © 2006+")]
|
||||
[assembly: AssemblyCompany("EgalWare")]
|
||||
+1
-1
@@ -5,4 +5,4 @@ Imports System.Runtime.InteropServices
|
||||
<Assembly: AssemblyVersion("0.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("0.0.0.0")>
|
||||
<Assembly: AssemblyCompany("EgalWare")>
|
||||
<Assembly: AssemblyCopyright("EgalWare © 2006")>
|
||||
<Assembly: AssemblyCopyright("EgalWare © 2006+")>
|
||||
|
||||
Reference in New Issue
Block a user