轮胎外观检测添加思谋语义分割模型检测工具
C3204
2026-03-30 06c627ec032b3f3876fd7db8a3ff0ff1a6614fa2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace LB_SmartVision.Forms.Pages.LEDLightSourceControlPage
{
    [JsonObject(MemberSerialization.OptOut)]
    public class LEDControlParams
    {
        /// <summary>
        /// 端口号
        /// </summary>
        public string PortName = "COM1";
        /// <summary>
        /// 波特率 
        /// </summary>
        public int BaudRate = 115200;
        /// <summary>
        /// 数据位
        /// </summary>
        public int DataBit = 8;
        /// <summary>
        /// 停止位
        /// </summary>
        public StopBits StopBit = (StopBits)Enum.Parse(typeof(StopBits), "One");
        /// <summary>
        /// 奇偶效验位
        /// </summary>
        public Parity Parity = (Parity)Enum.Parse(typeof(Parity), "None");
        /// <summary>
        /// 发送的指令
        /// </summary>
        public ObservableConcurrentDictionary<string, string> SendData = new ObservableConcurrentDictionary<string, string>();
    }
}