/// <inheritdoc /> /// <summary> /// /// </summary> /// <param name="signal"></param> /// <returns></returns> protected override byte Get(PlaceSignalDescription signal) { switch (signal.Protocol) { case Protocol.Pci1753: return(Pci1753Func.Get(signal)); case Protocol.Rs232: return(RkFunc.Get(signal)); case Protocol.Upc10: return(Upc10Func.GetRk(signal)); default: throw new System.ArgumentException(); } }
/// <inheritdoc /> /// <summary> /// /// </summary> /// <param name="signal"></param> /// <returns></returns> protected override byte Get(PlaceSignalDescription signal) => RkFunc.Get(signal);