FIMAS

Name
  TFMSWorkingHours

Parent
  FMSCommonClasses

Class Hierarchy
  TStrangeInterfacedOwnedPersistent

Visibility
  PUBLIC

Description
  Working hours.

Members
  Fields
 
Field Description
FCurrentUpdatePeriod (-)  
FDaysOfWeek (-)  
FIsActive (-)  
FIsWorking (-)  
FMaxUpdatePeriod (-)  
FMinUpdatePeriod (-)  
FNextUpdateTime (-)  
FWorkingHours (-)  

Methods
 
Method Description
CalculateWorkingHours (+)  
Create (+)  
DoCalculateCurrentUpdatePeriod (#)  
GetHoursUntilClosure (+)  
GetHoursUntilClosureFast (+)  
Reset (+)  
ResetFast (+)  
SetMaxUpdatePeriod (-)  
SetMinUpdatePeriod (-)  
Update (+)  
UpdateFast (+)  

Properties
 
Property Description
CurrentUpdatePeriod (*) Calculated as a random number between the two above.
DaysOfWeek (*)  
IsActive (*) The company cannot provide services to its customers every split second. People need to go to bathrooms and cofee breaks. This indicates if a company is able to serve its customers at this very moment. Controled by the MinUpdatePeriod and MaxUpdatePeriod properties.
IsWorking (*) Indicates that the firm has the "Open" sign on its front door. Controled by the WorkingHours and DaysOfWeek properties.
MaxUpdatePeriod (*)  
MinUpdatePeriod (*) Time between allowed updates in seconds.
WorkingHours (*)  


Legend
 
Symbol Visibility
- Private
# Protected
+ Public
* Published
A Automated
S Strict

FIMAS


Copyright Alexander Federyakov aka Da Stranger
Created with DelphiCodeToDoc. To obtain the latest revision, please visit http://dephicodetodoc.sourceforge.net/