using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TeamAAS_VP.Resources.Languages; namespace TeamAAS_VP.Models.PLC { public class PlcPointAddress { //描述 public string Description { get; set; } public PlcAddress X_Position { get; set; } public PlcAddress X_Velocity { get;set; } public PlcAddress Y_Position { get; set; } public PlcAddress Y_Velocity { get; set; } public PlcAddress Z_Position_Start { get; set; } public PlcAddress Z_Velocity_Start { get; set; } public PlcAddress Z_Position_Stop { get; set; } public PlcAddress Z_Velocity_Stop { get; set; } public PlcAddress U_Position { get; set; } public PlcAddress U_Velocity { get; set; } public PlcAddress R_Position { get; set; } public PlcAddress R_Velocity { get; set; } public PlcAddress Torque { get; set; } public PlcAddress Feeder { get; set; } public PlcAddress ScrewProNum { get; set; } public PlcPointAddress() { Description = Lang.点位地址; X_Position = new PlcAddress() { Description = Lang.X轴位置地址,DataType="float" }; X_Velocity = new PlcAddress() { Description = Lang.X轴速度地址, DataType = "float" }; Y_Position = new PlcAddress() { Description = Lang.Y轴位置地址, DataType = "float" }; Y_Velocity = new PlcAddress() { Description = Lang.Y轴速度地址, DataType = "float" }; Z_Position_Start = new PlcAddress() { Description = Lang.Z轴起始位置地址, DataType = "float" }; Z_Velocity_Start = new PlcAddress() { Description = Lang.Z轴起始速度地址, DataType = "float" }; Z_Position_Stop = new PlcAddress() { Description = Lang.Z轴停止位置地址, DataType = "float" }; Z_Velocity_Stop = new PlcAddress() { Description = Lang.Z轴停止速度地址, DataType = "float" }; U_Position = new PlcAddress() { Description = Lang.U轴位置地址, DataType = "float" }; U_Velocity = new PlcAddress() { Description = Lang.U轴速度地址, DataType = "float" }; R_Position = new PlcAddress() { Description = Lang.R轴位置地址, DataType = "float" }; R_Velocity = new PlcAddress() { Description = Lang.R轴速度地址, DataType = "float" }; Torque = new PlcAddress() { Description = Lang.扭矩地址, DataType = "float" }; Feeder = new PlcAddress() { Description = Lang.送料器地址, DataType = "int16" }; ScrewProNum = new PlcAddress() { Description = Lang.螺杆程序号地址, DataType = "int16" }; } } }