Description
Determines what interval list is recorded at
target clock location by performing signal transmission of original
interval list between base and target clock locations. If any
signaled interval ends up with start time after its stop, the
interval is excluded from signaled list. If neighboring signaled
intervals overlap or abut, they are replaced by single interval in
signaled list.
Object Model
Public Properties
BaseClockLocation |
The base clock location,
which is a point from VGT. |
OriginalIntervals |
The original time interval
list. |
SignalDelay |
The Signal delay
definition, which includes signal transmission, time delay
convergence and signal path reference system. |
SignalSense |
The direction of the
signal, whether you are Transmitting or Receiving from the Base
Clock Location. |
TargetClockLocation |
The target clock location,
which is a point from VGT. |
Example
Create and configure
signaled event interval list.
[C#] |
Copy Code
|
IAgCrdnProvider satelliteVgtProvider = stkRoot.GetObjectFromPath("Satellite/LEO").Vgt;
IAgCrdnProvider aircraftVgtProvider = stkRoot.GetObjectFromPath("Aircraft/UAV").Vgt;
IAgCrdnEventIntervalList intervalList = satelliteVgtProvider.EventIntervalLists.Factory.CreateEventIntervalListSignaled("MyIntervalListSignaled", "MyDescription");
IAgCrdnEventIntervalListSignaled asListSingled = intervalList as IAgCrdnEventIntervalListSignaled;
asListSingled.OriginalIntervals = aircraftVgtProvider.EventIntervalLists["BeforeStop.SatisfactionIntervals"];
asListSingled.BaseClockLocation = satelliteVgtProvider.Points["Center"];
asListSingled.TargetClockLocation = aircraftVgtProvider.Points["Center"];
asListSingled.SignalSense = AgECrdnSignalSense.eCrdnSignalSenseTransmit;
IAgCrdnSignalDelayBasic basicSignalDelay = asListSingled.SignalDelay as IAgCrdnSignalDelayBasic;
basicSignalDelay.SpeedOption = AgECrdnSpeedOptions.eCrdnCustomTransmissionSpeed;
basicSignalDelay.TimeDelayConvergence = 0.002;
IAgCrdnIntervalListResult intervals = intervalList.FindIntervals();
if (intervals.IsValid)
{
foreach (IAgCrdnInterval interval in intervals.Intervals)
{
Console.WriteLine("Start: " + interval.Start);
Console.WriteLine("Stop: " + interval.Stop);
}
}
|
|
Create and configure
signaled event interval list.
[Visual Basic .NET] |
Copy Code
|
Dim satelliteVgtProvider As IAgCrdnProvider =
stkRoot.GetObjectFromPath("Satellite/LEO").Vgt
Dim aircraftVgtProvider As IAgCrdnProvider =
stkRoot.GetObjectFromPath("Aircraft/UAV").Vgt
Dim intervalList As IAgCrdnEventIntervalList =
satelliteVgtProvider.EventIntervalLists.Factory.CreateEventIntervalListSignaled("MyIntervalListSignaled",
"MyDescription")
Dim asListSingled As IAgCrdnEventIntervalListSignaled =
TryCast(intervalList, IAgCrdnEventIntervalListSignaled)
asListSingled.OriginalIntervals =
aircraftVgtProvider.EventIntervalLists("BeforeStop.SatisfactionIntervals")
asListSingled.BaseClockLocation =
satelliteVgtProvider.Points("Center")
asListSingled.TargetClockLocation =
aircraftVgtProvider.Points("Center")
asListSingled.SignalSense =
AgECrdnSignalSense.eCrdnSignalSenseTransmit
Dim basicSignalDelay As IAgCrdnSignalDelayBasic =
TryCast(asListSingled.SignalDelay, IAgCrdnSignalDelayBasic)
basicSignalDelay.SpeedOption =
AgECrdnSpeedOptions.eCrdnCustomTransmissionSpeed
basicSignalDelay.TimeDelayConvergence = 0.002
Dim intervals As IAgCrdnIntervalListResult =
intervalList.FindIntervals()
If intervals.IsValid Then
For
Each interval As IAgCrdnInterval In
intervals.Intervals
Console.WriteLine("Start:
" + interval.Start)
Console.WriteLine("Stop:
" + interval.[Stop])
Next
End If
|
|
CoClasses that Implement
IAgCrdnEventIntervalListSignaled