C# Class SAS.ClassSet.FunctionTools.Placement

显示文件 Open project: DawnLightning/SAS Class Usage Examples

Public Methods

Method Description
AutoSelectSpareTime ( System.Windows.Forms.ProgressBar ProgressBar1 ) : void
CheckDayPeo ( int day ) : int
CheckWeekPeo ( int week ) : int
MakePlacement ( SAS.ClassSet.FunctionTools.PlacementConfig config ) : void
RePlacement ( SAS.ClassSet.FunctionTools.PlacementConfig config ) : void

Private Methods

Method Description
ContorlProportion ( int Proportion ) : System.Data.DataRow[]
DeleteError ( int num, int thisweek, int thisday, List list ) : void
DistinctSupervisor ( string supervisor, List ListSupervisor ) : string
SelectSameClass ( SAS.ClassSet.FunctionTools.PlacementConfig config ) : void
SelectSameDay ( SAS.ClassSet.FunctionTools.PlacementConfig config, int week ) : void
Supervisor ( DataRow drSpareTimeClass, DataRow drSupervisor ) : List
Teacher ( DataRow drClasses, DataRow drTeacher ) : DataRow
UpdataDay ( DataTable dt ) : void
UpdataSupervisor ( string s ) : void
UpdataTeacher ( DataRow dr ) : void
UpdataWeek ( DataTable dt ) : void
UpdateALL ( ) : void
WritePlacement ( string supervisors, DataRow teacher ) : void

Method Details

AutoSelectSpareTime() public method

public AutoSelectSpareTime ( System.Windows.Forms.ProgressBar ProgressBar1 ) : void
ProgressBar1 System.Windows.Forms.ProgressBar
return void

CheckDayPeo() public method

public CheckDayPeo ( int day ) : int
day int
return int

CheckWeekPeo() public method

public CheckWeekPeo ( int week ) : int
week int
return int

MakePlacement() public method

public MakePlacement ( SAS.ClassSet.FunctionTools.PlacementConfig config ) : void
config SAS.ClassSet.FunctionTools.PlacementConfig
return void

RePlacement() public method

public RePlacement ( SAS.ClassSet.FunctionTools.PlacementConfig config ) : void
config SAS.ClassSet.FunctionTools.PlacementConfig
return void