public static ThinReflector CreateThinReflectorC() { int[] mapping = FactoryBase.ConvertMapping(REFLECTOR_C_THIN); var result = new ThinReflector(mapping); return(result); }
public static ThinRotor CreateRotorGamma() { int[] mapping = FactoryBase.ConvertMapping(ROTOR_GAMMA); var result = new ThinRotor(mapping, 0); return(result); }
public static Reflector CreateReflectorB() { int[] mapping = FactoryBase.ConvertMapping(REFLECTOR_B); var result = new Reflector(mapping); return(result); }
public static Rotor CreateRotorVIII() { int[] mapping = FactoryBase.ConvertMapping(ROTOR_VIII); int[] notchPositions = new[] { ('Z' - 'A'), ('M' - 'A') }; var result = new Rotor(mapping, notchPositions, 0); return(result); }
public static Rotor CreateRotorIV() { int[] mapping = FactoryBase.ConvertMapping(ROTOR_IV); int[] notchPositions = new[] { 'J' - 'A' }; var result = new Rotor(mapping, notchPositions, 0); return(result); }