Esempio n. 1
0
        /// <summary>
        /// Rimozione PLC da lista PLC
        /// </summary>
        /// <param name="plcName">Nome del plc</param>
        /// <param name="ipAddress">indirizzo ip del plc</param>
        private void PLCRemove(string plcName, string ipAddress)
        {
            var plc = new PLCItem(plcName, ipAddress, mdsClient);

            plc.Disconnection(ApplicationName, PLCServerApplicationName);
            ListPLCItems.Remove(plc);
        }
Esempio n. 2
0
 /// <summary>
 /// Disconnessione da PLC
 /// </summary>
 /// <param name="plc">PLC da disconnettere</param>
 private void PLCDisconnect(PLCItem plc)
 {
     plc.Disconnection(ApplicationName, PLCServerApplicationName);
 }