//-Set- private void Set(EMScheduleType p_Type, EMSchedule p_Schedule) { if (m_Data.ContainsKey(p_Type) == false) { m_Data.Add(p_Type, new Dictionary <int, EMSchedule> ()); } m_Data [p_Type].Add(p_Schedule.ID, p_Schedule); }
//-Set- private void Set ( EMScheduleType p_Type, EMSchedule p_Schedule ) { if(m_Data.ContainsKey(p_Type) == false) { m_Data.Add (p_Type, new Dictionary<int, EMSchedule> ()); } m_Data [p_Type].Add (p_Schedule.ID, p_Schedule); }
/// <summary> /// 임시 스케쥴 데이터 생성 함수. /// </summary> /// <returns>The schedule.</returns> private EMSchedule MakeData_Temp(int p_ID, EMScheduleType p_Type, int p_Level, bool p_IsOpen) { EMSchedule data = new EMSchedule(); data.ID = p_ID; data.Type = p_Type; data.Level = p_Level; data.IsOpen = p_IsOpen; return(data); }
public void Set ( EMSchedule p_Schedule ) { Set (p_Schedule.Type, p_Schedule); }
/// <summary> /// 스케쥴 3개를 등록하고 스케쥴 생성 /// </summary> /// <param name="schedule">선택한 스케쥴 3개를 받는다</param> public void RegisterSchedule (int p_Order, EMSchedule p_Schedules) { m_Schedule [p_Order] = p_Schedules; }
/// <summary> /// 임시 스케쥴 데이터 생성 함수. /// </summary> /// <returns>The schedule.</returns> private EMSchedule MakeData_Temp ( int p_ID, EMScheduleType p_Type, int p_Level, bool p_IsOpen ) { EMSchedule data = new EMSchedule (); data.ID = p_ID; data.Type = p_Type; data.Level = p_Level; data.IsOpen = p_IsOpen; return data; }
public void Set(EMSchedule p_Schedule) { Set(p_Schedule.Type, p_Schedule); }
/// <summary> /// 스케쥴 3개를 등록하고 스케쥴 생성 /// </summary> /// <param name="schedule">선택한 스케쥴 3개를 받는다</param> public void RegisterSchedule(int p_Order, EMSchedule p_Schedules) { m_Schedule [p_Order] = p_Schedules; }