doctrl part change

master
wangsr 1 year ago
parent 6c0ba7c4db
commit d71c4836b2

@ -72,9 +72,9 @@ namespace Mesnac.DoUtils
} }
/// <summary> /// <summary>
/// DO3设备启动蜂鸣器 /// DO3设备启动黄灯
/// </summary> /// </summary>
public void buzzerOn() public void YellowLightOn()
{ {
DOControl(DOName.Buzzer, DOOnOff.On); DOControl(DOName.Buzzer, DOOnOff.On);
} }
@ -96,9 +96,9 @@ namespace Mesnac.DoUtils
} }
/// <summary> /// <summary>
/// DO3设备关闭蜂鸣器 /// DO3设备关闭黄灯
/// </summary> /// </summary>
public void buzzerOff() public void YellowLightOff()
{ {
DOControl(DOName.Buzzer, DOOnOff.On); DOControl(DOName.Buzzer, DOOnOff.On);
} }

@ -10,8 +10,8 @@ namespace Mesnac.DoUtils.enumInfo
{ {
Red = 0x01, Red = 0x01,
Green = 0x02, Green = 0x02,
Buzzer = 0x03, Yellow = 0x03,
dO_4 = 0x04, Buzzer = 0x04,
dO_5 = 0x05, dO_5 = 0x05,
dO_6 = 0x06, dO_6 = 0x06,
dO_7 = 0x07, dO_7 = 0x07,

Loading…
Cancel
Save