| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- 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 = "点位地址";
- X_Position = new PlcAddress() { Description = "X轴位置地址",DataType="float" };
- X_Velocity = new PlcAddress() { Description = "X轴速度地址", DataType = "float" };
- Y_Position = new PlcAddress() { Description = "Y轴位置地址", DataType = "float" };
- Y_Velocity = new PlcAddress() { Description = "Y轴速度地址", DataType = "float" };
- Z_Position_Start = new PlcAddress() { Description = "Z轴起始位置地址", DataType = "float" };
- Z_Velocity_Start = new PlcAddress() { Description = "Z轴起始速度地址", DataType = "float" };
- Z_Position_Stop = new PlcAddress() { Description = "Z轴停止位置地址", DataType = "float" };
- Z_Velocity_Stop = new PlcAddress() { Description = "Z轴停止速度地址", DataType = "float" };
- U_Position = new PlcAddress() { Description = "U轴位置地址", DataType = "float" };
- U_Velocity = new PlcAddress() { Description = "U轴速度地址", DataType = "float" };
- R_Position = new PlcAddress() { Description = "R轴位置地址", DataType = "float" };
- R_Velocity = new PlcAddress() { Description = "R轴速度地址", DataType = "float" };
- Torque = new PlcAddress() { Description = "扭矩地址", DataType = "float" };
- Feeder = new PlcAddress() { Description = "送料器地址", DataType = "int16" };
- ScrewProNum = new PlcAddress() { Description = "螺杆程序号地址", DataType = "int16" };
- }
- }
- }
|