Station(Index: Integer): String;
Index — index of a position. The IAuditFilterCondition.StationCount property determines number of stations.
The Station property determines name of a workstation for which records of a protocol are displayed.
Sub UserProc;
Var
FilCon: IAuditFiltersContainer;
Objs: IAuditFilterObjects;
Obj: IAuditFilterObject;
Con: IAuditFilterCondition;
Fil: IAuditFilter;
Begin
FilCon := New AuditFiltersContainer.Create;
FilCon.Load;
Objs := FilCon.Filters;
Obj := Objs.FindById("FILTER").Edit;
Fil := Obj.Filter;
Con := Fil.Item(0);
Con.StationCount := 2;
Con.Station(0) := "CONDRATEVA";
Con.Station(1) := "BASHKIRTSEVA";
Obj.Save;
FilCon.SaveToFile(FilCon.DefaultFileName);
End Sub UserProc;
After executing this example the property of filter condition is changed: show records of access protocol only for specified workstations.
See also: