             if (indexOrderLine0 >= 0 && timeLine0Busy < DateTime.Now)             {                 string id = "Line0" + listOrders[indexOrderLine0].OrderID.ToString();  // Line0 + Order is unique ID in listLineData List                 int indexTasktime = listLineData.FindIndex(x => x.ID == id);// Get Index LineData where the tasktime is stored                 double taskTime = (listLineData[indexTasktime].TaskTime);      // Get the Task Time for the current order (min.)                 InitializeProduction(indexOrderLine0, "Line0");             // Push the start button to run the task                 timeLine0Busy = DateTime.Now.AddSeconds(taskTime);              // Set the Line to busy              }              // Line 0             int indexOrderLine0 = listOrders.FindIndex(x => x.OrderID == "Part0"