public static string[] DecodeAction(string action, PlayerIndex pi = PlayerIndex.One) { PortControl pc = PortControls[pi]; return(pc.DecodeAction(action)); }