リサイズはクリックかドラッグ
OfficeWorker コンストラクター (Boolean, Int32, Boolean, OfficeWorkerDaysOfWeek, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
インスタンスを初期化する

名前空間:  Popolo.HumanBody
アセンブリ:  Popolo (in Popolo.dll) バージョン: 2.0.0.0 (2.0.0.0)
構文
C#
public OfficeWorker(
	bool isMale,
	int age,
	bool isPermanent,
	OfficeWorkerDaysOfWeek holidays,
	int startHour,
	int startMinute,
	int endHour,
	int endMinute,
	int lunchStartHour,
	int lunchStartMinute,
	int lunchEndHour,
	int lunchEndMinute,
	int seed
)

パラメーター

isMale
型: SystemBoolean
男性か否か
age
型: SystemInt32
年齢
isPermanent
型: SystemBoolean
正社員か否か
holidays
型: Popolo.HumanBodyOfficeWorkerDaysOfWeek
休日の曜日(複数設定可)
startHour
型: SystemInt32
始業時刻(時)
startMinute
型: SystemInt32
始業時刻(分)
endHour
型: SystemInt32
終業時刻(時)
endMinute
型: SystemInt32
就業時刻(分)
lunchStartHour
型: SystemInt32
昼休み開始時刻(時)
lunchStartMinute
型: SystemInt32
昼休み開始時刻(分)
lunchEndHour
型: SystemInt32
昼休み終了時刻(時)
lunchEndMinute
型: SystemInt32
昼休み終了時刻(分)
seed
型: SystemInt32
乱数発生シード
関連項目