void LoadSlots(string str) { if (str != "") { string[] dataStr = PETools.PEUtil.ToArrayString(str, ','); foreach (string item in dataStr) { float[] data = PETools.PEUtil.ToArraySingle(item, '_'); if (data.Length == 2) { Pathea.CheckSlot slot = new CheckSlot(data[0], data[1]); Slots.Add(slot); } } } }
public CSSleepSlots(CheckSlot start, CheckSlot end) { startSlots = start; endSlots = end; }