public void Register(AgAccessConstraintPluginResultRegister Result)
        {
            Result.BaseObjectType = AgEAccessConstraintObjectType.eFacility;
            Result.BaseDependency = (int)AgEAccessConstraintDependencyFlags.eDependencyRelativePosVel;
            Result.Dimension      = "Unitless";
            Result.MinValue       = 0.0;

            Result.TargetDependency = (int)AgEAccessConstraintDependencyFlags.eDependencyNone;
            Result.AddTarget(AgEAccessConstraintObjectType.eSensor);
            Result.Register();

            Result.Message(AGI.Plugin.AgEUtLogMsgType.eUtLogMsgInfo,
                           m_DisplayName + ": Register(Facility to Sensor)");

            Result.BaseObjectType = AgEAccessConstraintObjectType.eTarget;
            Result.Register();

            Result.Message(AGI.Plugin.AgEUtLogMsgType.eUtLogMsgInfo,
                           m_DisplayName + ": Register(Target to Sensor)");

            Result.BaseObjectType = AgEAccessConstraintObjectType.ePlace;
            Result.Register();

            Result.Message(AGI.Plugin.AgEUtLogMsgType.eUtLogMsgInfo,
                           m_DisplayName + ": Register(Place to Sensor)");
        }
Exemple #2
0
 public void Register(AgAccessConstraintPluginResultRegister Result)
 {
     Result.BaseDependency   = (int)AgEAccessConstraintDependencyFlags.eDependencyRelativePosVel;
     Result.Dimension        = "Angle";
     Result.MinValue         = 0.0;
     Result.TargetDependency = (int)AgEAccessConstraintDependencyFlags.eDependencyRelativePosVel;
     Result.BaseObjectType   = AgEAccessConstraintObjectType.eFacility;
     Result.ClearTargets();
     Result.AddTarget(AgEAccessConstraintObjectType.eSatellite);
     Result.Register();
     Result.Message(AgEUtLogMsgType.eUtLogMsgInfo,
                    m_DisplayName + ": Register(Facility to Satellite)");
 }
Exemple #3
0
        public void Register(AgAccessConstraintPluginResultRegister Result)
        {
            // Setup the receiver as the sensor
            Result.TargetDependency = (int)AgEAccessConstraintDependencyFlags.eDependencyNone;
            Result.BaseObjectType   = AgEAccessConstraintObjectType.eSensor;
            Result.BaseDependency   = (int)AgEAccessConstraintDependencyFlags.eDependencyRelativePosVel;
            Result.Dimension        = "Unitless";
            Result.MinValue         = 0.0;
            Result.MaxValue         = 100.0;

            Result.AddTarget(AgEAccessConstraintObjectType.eTarget);
            Result.AddTarget(AgEAccessConstraintObjectType.eFacility);
            Result.AddTarget(AgEAccessConstraintObjectType.ePlace);
            Result.AddTarget(AgEAccessConstraintObjectType.eAircraft);
            Result.AddTarget(AgEAccessConstraintObjectType.eSatellite);
            Result.AddTarget(AgEAccessConstraintObjectType.eMissile);

            Result.Register();
            Result.Message(AGI.Plugin.AgEUtLogMsgType.eUtLogMsgInfo, m_DisplayName + ": Register Object Detection from Sensor to platforms");
        }