You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.2 KiB
C#
83 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Tool.Model
|
|
{
|
|
public class HmiPoint
|
|
{
|
|
/// <summary>
|
|
/// DInt 供料电机速度
|
|
/// </summary>
|
|
public static readonly string feeding_motor_speed = "feeding_motor_speed";
|
|
|
|
|
|
/// <summary>
|
|
/// DInt 层合电机速度
|
|
/// </summary>
|
|
public static readonly string Laminated_motor_speed = "Laminated_motor_speed";
|
|
|
|
|
|
/// <summary>
|
|
/// DInt 毛毡带电机速度
|
|
/// </summary>
|
|
public static readonly string Felt_belt_motor_speed = "Felt_belt_motor_speed";
|
|
|
|
|
|
/// <summary>
|
|
/// DInt 收料电机1速度
|
|
/// </summary>
|
|
public static readonly string Receiving_Electric_motor_speed_1 = "Receiving_Electric_motor_speed_1";
|
|
|
|
|
|
/// <summary>
|
|
/// DInt 收料电机2速度
|
|
/// </summary>
|
|
public static readonly string Receiving_Electric_motor_speed_2 = "Receiving_Electric_motor_speed_2";
|
|
|
|
|
|
|
|
public static string[] GetValue()
|
|
{
|
|
List<string> ls = new List<string>
|
|
{
|
|
feeding_motor_speed,
|
|
Laminated_motor_speed,
|
|
Felt_belt_motor_speed,
|
|
Receiving_Electric_motor_speed_1,
|
|
Receiving_Electric_motor_speed_2
|
|
};
|
|
|
|
return ls.ToArray();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public class CacheKeyManager
|
|
{
|
|
public static readonly string UpdateLog = "UpdateLog";
|
|
|
|
public static readonly string User = "HmiUser";
|
|
|
|
public static readonly string AesPwd = "nodyang";
|
|
|
|
public static readonly string AramlList = "AramlList";
|
|
|
|
public static readonly string AramlDataList = "AramlDataList";
|
|
|
|
public static readonly string CH_alarm = "CH_alarm";
|
|
public static readonly string CQ_alarm = "CQ_alarm";
|
|
public static readonly string estop_temporary_storage = "estop_temporary_storage";
|
|
|
|
public static readonly string Prompt_alarm = "Prompt_alarm";
|
|
|
|
public static readonly string Prompt_alarmList = "Prompt_alarmList";
|
|
|
|
|
|
}
|
|
}
|