Esempio n. 1
0
        public override void Handle(EventIO message)
        {
            switch (message.Index)
            {
            case (int)IO_DEF.READ_HIP:

                break;
            }
        }
Esempio n. 2
0
 public override void Handle(EventIO message)
 {
     switch (message.Index)
     {
     case (int)IO_DEF.READ_HIP:
         Plc.WriteBool((int)IO_DEF.READ_HIP, false);
         Read();
         Plc.Pulse((int)IO_DEF.READ_HIP + 8);
         break;
     }
 }