public static void SetEnvironment(this ISensor sensor, EmulationEnvironment targetEnvironment)
 {
     targetEnvironment.AddToEnvironment(sensor);
 }
 public static void SetEnvironment(this Machine machine, EmulationEnvironment targetEnvironment)
 {
     targetEnvironment.AddToEnvironment(machine);
 }