Esempio n. 1
0
        // Token: 0x06000243 RID: 579 RVA: 0x00016E04 File Offset: 0x00015004
        public static PInvokeResultArg RspEdlResult(string deivce, bool reuslt)
        {
            string arg;

            if (reuslt)
            {
                arg = "pass";
            }
            else
            {
                arg = "fail";
            }
            string           s                = string.Format("DLRESULT={0}:{1}", deivce.Substring(3, deivce.Length - 3), arg);
            int              result           = EDL_SA_COMMUNICATION.IACJ_Interp_SendMsg2Peer(Encoding.Default.GetBytes(s));
            PInvokeResultArg pinvokeResultArg = new PInvokeResultArg();

            pinvokeResultArg.result      = result;
            pinvokeResultArg.lastErrCode = Marshal.GetLastWin32Error();
            pinvokeResultArg.lastErrMsg  = new Win32Exception(pinvokeResultArg.lastErrCode).Message;
            return(pinvokeResultArg);
        }
Esempio n. 2
0
 // Token: 0x06000242 RID: 578 RVA: 0x00016DFA File Offset: 0x00014FFA
 public static void DaDisConnect()
 {
     EDL_SA_COMMUNICATION.IACJ_Interp_Finz();
 }
Esempio n. 3
0
 // Token: 0x06000241 RID: 577 RVA: 0x00016DF0 File Offset: 0x00014FF0
 public static void DaConnect()
 {
     EDL_SA_COMMUNICATION.IACJ_Interp_Init(null, null, null);
 }