Beispiel #1
0
 public void ClearArray()
 {
     try
     {
         if (ValidateData.ArrayIsNullOrZero(TheConvertingStation))
         {
             TheConvertingStation.Clear();
         }
         if (ValidateData.ArrayIsNullOrZero(TheGeneratrix))
         {
             TheGeneratrix.Clear();
         }
         if (ValidateData.ArrayIsNullOrZero(TheCircuit))
         {
             TheCircuit.Clear();
         }
         if (ValidateData.ArrayIsNullOrZero(TheDetection))
         {
             TheDetection.Clear();
         }
         if (ValidateData.ArrayIsNullOrZero(TheDeviceDataSetting))
         {
             TheDeviceDataSetting.Clear();
         }
         if (ValidateData.ArrayIsNullOrZero(TheTimeSetting))
         {
             TheTimeSetting.Clear();
         }
     }
     catch (Exception msg)
     {
         Log.LogWrite(msg);
     }
 }
Beispiel #2
0
 public void AddDetectionToArray(Detection theDetection)
 {
     TheDetection.Add(theDetection);
 }