예제 #1
0
 public static void Check_Mouse_Release(ref Dictionary <string, object> MainResultArray, ref string DaqReceive)
 {
     FuncClass.DAQ("21", "X", ref DaqReceive, "DI");
     if (DaqReceive.Trim() != "YES")
     {
         MainResultArray[Parameters.Status] = "Fail";
     }
 }
예제 #2
0
 public static void Hot_Plug_UnReverse(ref Dictionary <string, object> MainResultArray, ref string DaqReceive)
 {
     FuncClass.DAQ("10", "LOW", ref DaqReceive, "DO");
     if (DaqReceive.Trim() != "Success")
     {
         MainResultArray[Parameters.Status] = "Fail";
     }
 }
예제 #3
0
 public static void Monitor_OSD_5(ref Dictionary <string, object> MainResultArray, ref string DaqReceive)
 {
     FuncClass.DAQ("28", "HIGH", ref DaqReceive, "DO");
     if (DaqReceive.Trim() == "Success")
     {
         Thread.Sleep(500);
         FuncClass.DAQ("28", "LOW", ref DaqReceive, "DO");
         if (DaqReceive.Trim() != "Success")
         {
             MainResultArray[Parameters.Status] = "Fail";
         }
     }
     else
     {
         MainResultArray[Parameters.Status] = "Fail";
     }
 }