using System;
using System.Collections.Generic;
using System.Text;
using Opc.Ua;

namespace console_opcua_sgdn_tornio.Models
{
    public class OpcUaSettings
    {
        public string DnsName { get; set; }
        public string EndpointUrl {get; set;}
        public string ApplicationName {get; set;}
        public string ApplicationUrn {get; set;}
        public uint SessionTimeout { get; set; }
        public string CertPath { get; set; }
        public string KeyPath { get; set; }
    }

    public class ParpasNodeId
    {
        public readonly NodeId CurrentState = new(51002, 1);
        public readonly NodeId ProgramName = new(100022, 1);

        // In attesa che il produttore ci confermi la creazione dei nodi
        //public readonly NodeId StateStart = new(0, 1);
        //public readonly NodeId StatePause = new(0, 1);
        //public readonly NodeId StateEnd = new(0, 1);

        //public readonly NodeId Worker = new(0, 1);
        //public readonly NodeId ProjId = new(0, 1);
        //public readonly NodeId WrkCtrRecId = new(0, 1);   // RecId Fase
    }
}
