コード例 #1
0
        public IPGItem DeepCopy()
        {
            DayInfo di = new DayInfo();

            di._breakTime   = this._breakTime;
            di._gamingHours = this._gamingHours;
            di._onHoliday   = this._onHoliday;
            di._sik         = this._sik;
            di._stayAt      = this._stayAt;
            di._workHours   = this._workHours;
            return(di);
        }
コード例 #2
0
        public void ResetValues(IPGItem item)
        {
            DayInfo di = item as DayInfo;

            if (item != null)
            {
                this.BreakTime   = di._breakTime;
                this.GamingHours = di._gamingHours;
                this.OnHoliday   = di._onHoliday;
                this.Sik         = di._sik;
                this.StayAt      = di._stayAt;
                this.WorkHours   = di._workHours;
            }
        }
コード例 #3
0
 public IPGItem DeepCopy()
 {
     DayInfo di = new DayInfo();
     di._breakTime = this._breakTime;
     di._gamingHours = this._gamingHours;
     di._onHoliday = this._onHoliday;
     di._sik = this._sik;
     di._stayAt = this._stayAt;
     di._workHours = this._workHours;
     return di;
 }