public void DataLoad()
 {
     PublicValue.ProgramPath = Application.StartupPath + "\\Data";
     PublicValue.Stations    = WSCS_DataEdit.LoadStation(PublicValue.ProgramPath + "\\Stations");
     PublicValue.Keys        = WSCS_DataEdit.LoadKey(PublicValue.ProgramPath + "\\Keys");
     PublicValue.Workers     = WSCS_DataEdit.LoadWorker(PublicValue.ProgramPath + "\\Workers");
     PublicValue.Tasks       = WSCS_DataEdit.LoadTask(PublicValue.ProgramPath + "\\Tasks");
     Save();
 }
 private void Save()
 {
     PublicValue.Tasks.Sort();
     PublicValue.Workers.ForEach(s => s.RefreshTasks());
     PublicValue.ProgramPath = Application.StartupPath + "\\Data";
     WSCS_DataEdit.SaveStation(PublicValue.Stations, PublicValue.ProgramPath + "\\Stations");
     WSCS_DataEdit.SaveKey(PublicValue.Keys, PublicValue.ProgramPath + "\\Keys");
     WSCS_DataEdit.SaveWorker(PublicValue.Workers, PublicValue.ProgramPath + "\\Workers");
     WSCS_DataEdit.SaveTask(PublicValue.Tasks, PublicValue.ProgramPath + "\\Tasks");
 }