| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- 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_Start { get; set; }
- public PlcAddress X_Velocity_Start { get;set; }
- public PlcAddress X_Position_Stop { get; set; }
- public PlcAddress X_Velocity_Stop { get; set; }
- public PlcAddress Y_Position_Start { get; set; }
- public PlcAddress Y_Velocity_Start { get; set; }
- public PlcAddress Y_Position_Stop { get; set; }
- public PlcAddress Y_Velocity_Stop { 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_Start { get; set; }
- public PlcAddress U_Velocity_Start { get; set; }
- public PlcAddress U_Position_Stop { get; set; }
- public PlcAddress U_Velocity_Stop { get; set; }
- public PlcAddress V_Position_Start { get; set; }
- public PlcAddress V_Velocity_Start { get; set; }
- public PlcAddress V_Position_Stop { get; set; }
- public PlcAddress V_Velocity_Stop { get; set; }
- public PlcAddress W_Position_Start { get; set; }
- public PlcAddress W_Velocity_Start { get; set; }
- public PlcAddress W_Position_Stop { get; set; }
- public PlcAddress W_Velocity_Stop { get; set; }
- public PlcAddress Enable_Start_Node { get; set; }
- public PlcAddress Enable_Pulse { get; set; }
- public PlcAddress Enable_3D { get; set; }
- public PlcAddress Enable_Wait_Finish { get; set; }
- public PlcAddress Enable_Light1 { get; set; }
- public PlcAddress Enable_Light2 { get; set; }
- public PlcAddress Enable_Light3 { get; set; }
- public PlcAddress Enable_Light4 { 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_Start = new PlcAddress() { Description = "X轴位置起始地址",DataType="float" };
- X_Velocity_Start = new PlcAddress() { Description = "X轴速度起始地址", DataType = "float" };
- X_Position_Stop = new PlcAddress() { Description = "X轴位置终点地址", DataType = "float" };
- X_Velocity_Stop = new PlcAddress() { Description = "X轴速度终点地址", DataType = "float" };
- Y_Position_Start = new PlcAddress() { Description = "Y轴位置起始地址", DataType = "float" };
- Y_Velocity_Start = new PlcAddress() { Description = "Y轴速度起始地址", DataType = "float" };
- Y_Position_Stop = new PlcAddress() { Description = "Y轴位置终点地址", DataType = "float" };
- Y_Velocity_Stop = 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_Start = new PlcAddress() { Description = "U轴位置起始地址", DataType = "float" };
- U_Velocity_Start = new PlcAddress() { Description = "U轴速度起始地址", DataType = "float" };
- U_Position_Stop = new PlcAddress() { Description = "U轴位置终点地址", DataType = "float" };
- U_Velocity_Stop = new PlcAddress() { Description = "U轴速度终点地址", DataType = "float" };
- V_Position_Start = new PlcAddress() { Description = "V轴位置起始地址", DataType = "float" };
- V_Velocity_Start = new PlcAddress() { Description = "V轴速度起始地址", DataType = "float" };
- V_Position_Stop = new PlcAddress() { Description = "V轴位置终点地址", DataType = "float" };
- V_Velocity_Stop = new PlcAddress() { Description = "V轴速度终点地址", DataType = "float" };
- W_Position_Start = new PlcAddress() { Description = "W轴位置起始地址", DataType = "float" };
- W_Velocity_Start = new PlcAddress() { Description = "W轴速度起始地址", DataType = "float" };
- W_Position_Stop = new PlcAddress() { Description = "W轴位置终点地址", DataType = "float" };
- W_Velocity_Stop = new PlcAddress() { Description = "W轴速度终点地址", DataType = "float" };
- Enable_Start_Node = new PlcAddress() { Description = "启用本起始位节点地址", DataType = "int16" };
- Enable_Pulse = new PlcAddress() { Description = "使能脉冲地址", DataType = "int16" };
- Enable_3D = new PlcAddress() { Description = "使能3D地址", DataType = "int16" };
- Enable_Wait_Finish = new PlcAddress() { Description = "使能等待完成地址", DataType = "int16" };
- Enable_Light1 = new PlcAddress() { Description = "使能灯1地址", DataType = "int16" };
- Enable_Light2 = new PlcAddress() { Description = "使能灯2地址", DataType = "int16" };
- Enable_Light3 = new PlcAddress() { Description = "使能灯3地址", DataType = "int16" };
- Enable_Light4 = new PlcAddress() { Description = "使能灯4地址", DataType = "int16" };
- //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" };
- }
- }
- }
|