using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace DataCapture_MA.Const
|
{
|
public class DictMapping
|
{
|
public static IDictionary<string, string> fieldMapping = new Dictionary<string, string>
|
{
|
{ "ENUMBER", "WarnningNum" }, // 报警数量
|
{ "ROBTRAFO[]", "RobotModel" }, //机器人型号
|
{ "KR_SERIALNO", "RobotSerialNo" }, // 机器人序列号
|
{ "RCV_INFO[]", "SysteamVersion" }, // 系统版本
|
{ "ROBRUNTIME", "RunTime" }, // 运行时间
|
{ "ACCU_STATE", "BatteryStatus" }, // 蓄电池状态
|
{ "STOPMESS", "EmergencyStop" }, // 急停
|
{ "PRO_STATE", "ProgrameStatus" }, // 程序状态
|
{ "PRO_NAME[]", "ProgramName" }, //程序名称
|
{ "SAFE_FS_STATE", "SecuritySysteamStatus" }, // 安全控制系统状态
|
{ "MOT_TEMP[]", "MotorTemperature" }, // 当前马达温度(开尔文)
|
{ "ALARM_STOP", "StopInfo" },
|
{ "MODE_OP", "RobotMode" }, // 机器人模式
|
{ "ROB_STOPPED", "RobotStop" }, // 机器人停止
|
{ "OV_PRO", "ProgrameSpeed" }, // 程序速度
|
{ "POS_ACT", "MotorLocation" }, // 当前位置(坐标系)
|
{ "CPUUSAGE_%", "CpuAvailabeRate" }, // CPU利用率
|
{ "RAMUSAGE_MB", "MemerySpace" }, // 内存可用空间
|
{ "KDO_ACT", "HandActivate" }, // 动作指令是否激活
|
{ "CURR_ACT[]", "CurrentElectricity" }, // 当前电流
|
{ "TORQUE_AXIS_ACT[]","TorqueForce" }, // 当前扭力
|
{ "VEL_AXIS_ACT[]", "TorqueSpeed" }, // 各轴速度
|
{ "ACT_BASE", "BaseCoordinateNo" }, // 当前基座标
|
{ "ACT_TOOL", "UseToolNo" }, // 当前工具坐标编号
|
{ "AXIS_ACT","AxisAngle" }, // 当前轴位置
|
{ "AXIS_MOT", "MotorLocation" }, // 当前马达角度
|
{ "MSGBUF", "WarnningContent"}, // 报警缓存
|
};
|
}
|
}
|