分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-01-26 13137e3acdb759d1541f754fba81c616f418e2a1
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace WIDESEA_Comm.DBItem
{
    public partial class WheelDataDB
    {
        public event Action<string, WheelDataDB> OnReadSignal;
        public string R_Name { get; set; }
        public int R_o_wp_type { get; set; }
        /// <summary>
        /// 1-找到数据,2-未找到工件类型数据
        /// </summary>
        public short R_i_status { get; set; }
        public int R_i_parameter_a { get; set; }
        public int R_i_parameter_b { get; set; }
        public int R_i_parameter_c { get; set; }
        public int R_i_parameter_d { get; set; }
        public int R_i_parameter_e { get; set; }
        public int R_i_parameter_f { get; set; }
        public int R_i_parameter_g { get; set; }
        public int R_i_parameter_h { get; set; }
        public string R_i_skip_op { get; set; }
 
        public short R_oi_on { get; set; }
        public void ReadSignal(string type, WheelDataDB reader)
        {
            Task.Run(() =>
            {
                OnReadSignal?.Invoke(type, reader);
            });
        }
    }
}