AGI STK VGT 11 Send comments on this topic.
SetStopEpoch Method (IAgCrdnEventIntervalSmartInterval)
See Also  Example
StopEpoch
Epoch component.





Description

Sets a stop of the interval using specified epoch component.

Syntax

[Visual Basic .NET]
Public Sub SetStopEpoch( _
   ByVal StopEpoch As IAgCrdnEventSmartEpoch _
) 

[C#]
public void SetStopEpoch(
IAgCrdnEventSmartEpoch StopEpoch
);

[Managed C++]
public: void SetStopEpoch(
IAgCrdnEventSmartEpoch ^ StopEpoch
);

[Java]
public  setStopEpoch(
IAgCrdnEventSmartEpoch StopEpoch
);

[Unmanaged C++]
public: HRESULT SetStopEpoch(
IAgCrdnEventSmartEpoch * StopEpoch
);

Parameters

StopEpoch
Epoch component.

Example

Configure the start and stop epoch time with smart epochs.
[C#] Copy Code
smartInterval.State = AgECrdnSmartIntervalState.eCrdnSmartIntervalStateStartStop; 
 
IAgCrdnEventSmartEpoch accessStartEpoch = smartInterval.GetStartEpoch(); 
accessStartEpoch.SetImplicitTime(startEventEpoch); 
smartInterval.SetStartEpoch(accessStartEpoch); 
 
IAgCrdnEventSmartEpoch accessStopEpoch = smartInterval.GetStopEpoch(); 
accessStopEpoch.SetImplicitTime(stopEventEpoch); 
smartInterval.SetStopEpoch(accessStopEpoch); 
 

Configure the start and stop epoch time with smart epochs.
[Visual Basic .NET] Copy Code
smartInterval.State = AgECrdnSmartIntervalState.eCrdnSmartIntervalStateStartStop

Dim accessStartEpoch As IAgCrdnEventSmartEpoch = smartInterval.GetStartEpoch()
accessStartEpoch.SetImplicitTime(startEventEpoch)
smartInterval.SetStartEpoch(accessStartEpoch)

Dim accessStopEpoch As IAgCrdnEventSmartEpoch = smartInterval.GetStopEpoch()
accessStopEpoch.SetImplicitTime(stopEventEpoch)
smartInterval.SetStopEpoch(accessStopEpoch)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1