Beispiel #1
0
        public void Add(ushort unitId, string rtuInputEvent, string rtuOutputEvent)
        {
            RtuPiSystem pisystem = new RtuPiSystem(unitId, rtuInputEvent, rtuOutputEvent);

            if (Map.ContainsKey(unitId))
            {
                Map[unitId] = pisystem;
            }
            else
            {
                Map.Add(unitId, pisystem);
            }
        }
Beispiel #2
0
 public IssuedConfig(string hostname, string securityToken, RtuPiSystem piSystem)
 {
     Hostname      = hostname;
     SecurityToken = securityToken;
     PiSystem      = piSystem;
 }