PfsModellBreaks

 

Remarks Properties Methods Samples

ED
avaliable
RT
avaliable

Remarks:Top

The ModellBreaks collection allows the access to the breaks of a shift. The breaks are the production-free times in a shift. The breaks consist of a unique name and a unique period of time.

Properties:Top

Count Parent Session

Methods:Top

CreateBreak DeleteBreak Item

Samples:Top



''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''Creating some breaks'''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''
Sub holidaytest()

Dim mypfs As PfsEngine
Set mypfs = MyWorkspace.ActiveDocument.PFS
Dim mystring As String
Dim i As Double

	For i = 0 To 5

		mystring = "testbreak" & i
	
		mypfs.Groups.Item(0).TimeModells.Item(0).Shifts.Item(0).Breaks.CreateBreak (mystring)
		Debug.Print mystring & " was created!"

	Next i

End Sub