E3.Utility/clsScanner.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;//调用WINAPI需要引用这个
namespace E3.Utility
{
public class clsScanner
{
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern int RecvAndSendAll();
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern int RecvAll();
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern int SendAll();
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern void SetPort(int Port);
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern void SetIR(bool IR);
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern void SetLanguage(int lang);
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern void SetRecvPath(string path);
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern void SetSendPath(string path);
[DllImport("ComDLL.DLL", SetLastError = true)]
public static extern void SetBaudrate(int Baudrate);
public void ReceiveAndSendAll()
{
SetPort(1);
SetLanguage(1);
SetBaudrate(115200);
SetIR(true);
SetRecvPath("C:\\E3Template\\Recv\\");
SetSendPath("C:\\E3Template\\Send\\");
RecvAndSendAll();
}
public void ReceiveALL()
{
SetPort(1);
SetLanguage(1);
SetBaudrate(115200);
SetIR(true);
SetRecvPath("C:\\E3Template\\Recv\\");
RecvAll();
}
后面还有 21 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。