示例#1
0
 private void createMotionDetectors()
 {
     foreach (Tuple <string, Point3D> motionDetectors in _motionDetectors)
     {
         _modelObjects.Add(motionDetectors.Item1, PortalObjectFactory.createPortalObject(PortalObjectType.MOTION_DETECTOR_SENSORS,
                                                                                         motionDetectors.Item1,
                                                                                         motionDetectors.Item2,
                                                                                         ref _modelGroup));
     }
 }
示例#2
0
 private void createLightCurtainEmitters()
 {
     foreach (Tuple <string, Point3D> lce in _lightCurtainEmitters)
     {
         _modelObjects.Add(lce.Item1, PortalObjectFactory.createPortalObject(PortalObjectType.LIGHT_CURTAIN_INTERLOCKS,
                                                                             lce.Item1,
                                                                             lce.Item2,
                                                                             ref _modelGroup));
     }
 }
示例#3
0
 private void createVehicleSensors()
 {
     foreach (Tuple <string, Point3D> vehicleSensors in _vehicleSensors)
     {
         _modelObjects.Add(vehicleSensors.Item1, PortalObjectFactory.createPortalObject(PortalObjectType.VEHICLE_SENSORS,
                                                                                        vehicleSensors.Item1,
                                                                                        vehicleSensors.Item2,
                                                                                        ref _modelGroup));
     }
 }
示例#4
0
 private void createEStops()
 {
     foreach (Tuple <string, Point3D> estop in _estops)
     {
         _modelObjects.Add(estop.Item1, PortalObjectFactory.createPortalObject(PortalObjectType.E_STOP,
                                                                               estop.Item1,
                                                                               estop.Item2,
                                                                               ref _modelGroup));
     }
 }
示例#5
0
 private void createTrafficLights()
 {
     foreach (Tuple <string, Point3D> trafficLights in _trafficLights)
     {
         _modelObjects.Add(trafficLights.Item1, PortalObjectFactory.createPortalObject(PortalObjectType.TRAFFIC_LIGHTS,
                                                                                       trafficLights.Item1,
                                                                                       trafficLights.Item2,
                                                                                       ref _modelGroup));
     }
 }