添加项目文件。

This commit is contained in:
Administrator
2026-08-06 09:23:30 +08:00
parent 771e23e00a
commit 4660ceee70
604 changed files with 138380 additions and 0 deletions
+85
View File
@@ -0,0 +1,85 @@
using System;
using System.Collections.Generic;
namespace WindowsService1
{
#region 1、系统内部
public enum AcquisitionType
{
PPM,
Axis,
Cylinder,
LRobot
}
public enum PLCDataType
{
Short,
Float
}
public class StationData
{
public string Name { get; set; }
public object MainValue { get; set; }
public DateTime Timestamp { get; set; }
}
public class TypeConfig
{
public string Name { get; set; }
public string Address { get; set; }
public string DataType { get; set; }
}
public class CollectionGroupConfig
{
public string Name { get; set; }
public string StartAddress { get; set; }
public int Length { get; set; }
public string DefaultDataType { get; set; }
public Dictionary<string, TypeConfig> Types { get; set; }
}
#endregion
#region 2、PPM点位
#endregion
#region 3、预测性点位
#endregion
#region 4、机械臂
//直角坐标机械臂
public class LRobot
{
public string bu_id { get; set; }
public string district_id { get; set; }
public string factory_id { get; set; }
public string production_line_id { get; set; }
public string production_processes_id { get; set; }
public string work_center_id { get; set; }
public string station_id { get; set; }
public string device_name { get; set; } = "601PWM01";
public string robot_name { get; set; }
public List<Taglist> taglist { get; set; }
}
public class Taglist
{
public string device_time { get; set; }
public Collection collections_items { get; set; }
}
public class Collection
{
public string robot_status { get; set; } = "1";
public string x_value { get; set; }
public string y_value { get; set; }
public string z_value { get; set; }
public string time_span { get; set; } = "2.5";
public string hand_status { get; set; } = "1";
}
#endregion
}