LedLibraryForXunPeng/frmLedMain.cs

(开头部分) 116KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Collections;
using System.IO.Ports;
using System.Threading;

namespace Led
{
    public partial class frmLedMain : Form
    {
        #region 私有变量

        private int nCounter = 0;

        #endregion
        #region 静态变量
        public static System.IO.Ports.SerialPort ComPort = null;
        public static string ComPortNo = "COM1";
        public static int CommBaudRate = 9600 ;
        public static string MoveSpeed = "32H";
        public static string MoveMode = "34H";
        public static string FileConfig = "";
        public static string MsgHeader = "";
        public static int _PortSleepTime = 500;
        public static System.Threading.Timer[] tmrList = new System.Threading.Timer[255];
        public static string[] OldSendInfoList = null;
        public static string[] NewSendInfoList = null;
        public static ArrayList msgList = null;
        public static System.Threading.Timer tmrSender = null ;

        //---
        //public static LedSender LedSenderX = new LedSender();

        #endregion

        #region  私有方法
        private void LoadBaseItems()
        {
            cmbComPorts.Items.AddRange(System.IO.Ports.SerialPort.GetPortNames());
            //文字移动速度
            /*
                30H为一级速度 停0秒 (一级快)
                 31H为一级速度 停2秒
                 32H为一级速度 停4秒
                 33H为一级速度 停8秒

                 34H为二级速度 停0秒
                 35H为二级速度 停2秒
                 36H为二级速度 停4秒
                 37H为二级速度 停16秒

                 38H为三级速度 停0秒
                 39H为三级速度 停2秒
                 3AH为三级速度 停4秒
后面还有 3287 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。