change -添加设备枚举类

dep_yangw
我叫锄头 11 months ago committed by frankiecao
parent ba3a2f9b06
commit 01a86a9233

@ -738,6 +738,7 @@ namespace ProductionSystem.Forms
Thread.Sleep(Program.ReadPlcRate);
Step1();
Thread.Sleep(100);
Step2();
// Step3();
// Step4();

@ -114,7 +114,7 @@ namespace ProductionSystem.Untils.Tool
}
ExvTool exv = new ExvTool(pzf1.Com,val);
var exv1 = exv.ToAction();
exv1.TryDispose();
exv.Dispose();
stopwatch.Stop();
step.Id = Guid.NewGuid().ToString("N");
step.ReturnValue = exv.Val;

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProductionSystem_Model.Enum
{
/// <summary>
/// 设备枚举
/// </summary>
public enum EquipmentEnum
{
[Description("水泵1转速")]
SB1ZS_DB = 1,
[Description("水泵2转速")]
SB2ZS_DB = 2,
[Description("水泵3转速")]
SB3ZS_DB = 3,
[Description("反馈四通阀1状态")]
FKSTF1ZT_DB = 4,
[Description("反馈四通阀2状态")]
FKSTF2ZT_DB = 5,
[Description("电子膨胀阀1")]
DZPZF1_DB = 6,
[Description("电子膨胀阀2")]
DZPZF2_DB = 7,
}
}

@ -118,6 +118,7 @@
<Compile Include="DbModel\T_Result2.cs" />
<Compile Include="DbModel\Ux.cs" />
<Compile Include="Enum\ColorEnum.cs" />
<Compile Include="Enum\EquipmentEnum.cs" />
<Compile Include="Enum\FrameTypeEnum.cs" />
<Compile Include="Enum\ModeTypeEnum.cs" />
<Compile Include="Enum\MsgFormatEnum.cs" />

Loading…
Cancel
Save