using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEA_Comm { public class MachineDBItem { /// /// VK4机床对象集合 /// public static List VK4MachineDBItem = new List(); /// /// VK5机床对象集合 /// public static List VK5MachineDBItem = new List(); /// /// 名称 /// public string Name { get; set; } /// /// 电源 /// public Boolean Power_on { get; set; } /// /// 准备就绪 /// public Boolean Ready_for_operate { get; set; } /// /// 准备好自动启动 /// public Boolean Ready_for_Auto_start { get; set; } /// /// 工作模式JOG /// public Boolean state_JOG { get; set; } /// /// 运行模式MDA /// public Boolean state_MDA { get; set; } /// /// 操作模式AUTO /// public Boolean state_AUTO { get; set; } /// /// 安全门关闭 /// public Boolean Safetydoors_closed { get; set; } /// /// 主转轴在Auto中运行 /// public Boolean Spindel_running { get; set; } /// /// 通信 /// public Boolean Kommunikation_IO { get; set; } /// /// 液压故障 /// public Boolean Hydraulik_fault { get; set; } /// /// 进料驱动故障 /// public Boolean feeddrive_fault { get; set; } /// /// 主驱动器故障 /// public Boolean Maindrive_fault { get; set; } /// /// 机器故障 /// public Boolean Machine_fault { get; set; } /// /// 冷却剂故障 /// public Boolean Coolant_fault { get; set; } /// /// 排屑故障 /// public Boolean Chipremoval_fault { get; set; } /// /// 冷却剂准备工作 /// public Boolean Coolant_ready_operate { get; set; } /// /// 排屑准备工作 /// public Boolean Chipremoval_ready_operat { get; set; } /// /// 机器紧急停止 /// public Boolean Emergency_Stop_machine { get; set; } /// /// 机器故障修理 /// public Boolean Breakdown_repair { get; set; } /// /// 机器故障维护 /// public Boolean Breakdown_maintenance { get; set; } /// /// 机器故障更换 /// public Boolean Breakdown_Toolchange { get; set; } /// /// 机器故障过程切换 /// public Boolean Breakdown_changeover { get; set; } /// /// CNC启动和程序运行 /// public Boolean Programm_running { get; set; } /// /// 加工第1面 /// public Boolean Prog_sel_side_1 { get; set; } /// /// 加工第2面 /// public Boolean Prog_sel_side_2 { get; set; } /// /// 第1面完成 /// public Boolean programm_side_1_finished { get; set; } /// /// 装载1面完成 /// public Boolean load_side_1_finished { get; set; } /// /// 第2面完成 /// public Boolean programm_side_2_finished { get; set; } /// /// 装载2面完成 /// public Boolean load_side_2_finished { get; set; } /// /// 工具切换1 /// public Boolean Toolchange_magazine_1 { get; set; } /// /// 工具切换2 /// public Boolean Toolchange_magazine_2 { get; set; } /// /// 工具已切换1 /// public Int16 Changed_tool_mag_1 { get; set; } /// /// Duplonr已切换1 /// public Int16 Dupl_tool_mag_1 { get; set; } /// /// 工具已切换2 /// public Int16 Changed_tool_mag_2 { get; set; } /// /// Duplonr已切换2 /// public Int16 Dupl_tool_mag_2 { get; set; } /// /// 机器中的零件类型 /// public Int16 Parttype { get; set; } /// /// 零件计数器 /// public Int32 partcounter { get; set; } /// /// HMI中的操作人ID /// public Int16 operator_ID { get; set; } /// /// 机器状态 /// public Int16 machine_state { get; set; } } }