PfsScheduleValue

 

Remarks Properties Methods Samples

ED
avaliable
RT
avaliable

Remarks:Top

A ScheduleValue is a subelement of a ScheduleTime. One ScheduleTime can have many ScheduleValues.

For Instance: An absolute ScheduleTime is configured at 12:00am.
If you want to change the value of three variables and excecute two functions at 12:00am you need to add five ScheduleValues.

Properties:Top

Active Guid Parent
Session Type Value

Methods:Top

GetScheduleLink SetScheduleLink  

Samples:Top



''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''Reading out Count, Value'''''''''''
''''''''''Active Status and type of'''''''''''
'''''''''''''''Schedule Values''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''
Private Sub test()

	Dim pfs As PfsEngine
	Dim i As Integer
	Dim g As Integer
	Set pfs = MyWorkspace.ActiveDocument.pfs

	Debug.Print "------>Count:"
	Debug.Print pfs.Groups.Item(0).Schedules.Item(0).ScheduleTimes.Item(0).ScheduleValues.Count

	For i = 0 To pfs.Groups.Item(0).Schedules.Item(0).ScheduleTimes.Item(0).ScheduleValues.Count - 1
		Debug.Print "--->Item " & i & ": "
		Debug.Print pfs.Groups.Item(0).Schedules.Item(0).ScheduleTimes.Item(0).ScheduleValues.Item(i).value
		Debug.Print pfs.Groups.Item(0).Schedules.Item(0).ScheduleTimes.Item(0).ScheduleValues.Item(i).Active
		Debug.Print pfs.Groups.Item(0).Schedules.Item(0).ScheduleTimes.Item(0).ScheduleValues.Item(i).Type
	Next i
End Sub