public static bool InsertGoal(DateTime startTime, DateTime endTime, decimal downtime, int occ)
 {
     using (DB db = new DB())
     {
         Goal goal = new Goal();
         goal.StartTime = startTime;
         goal.EndTime = endTime;
         goal.Dowmtime = downtime;
         goal.Occuring = occ;
         goal.CLIENT = Filter_Client;
         goal.LINE = Filter_Line;
         db.AddToGoalSet(goal);
         return db.SaveChanges() > 0;
     }
 }