|
@@ -188,9 +188,9 @@ namespace UHFHelper |
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// 发出蜂鸣声音3次,代表扣款成功! |
|
|
/// 发出蜂鸣声音3次,代表扣款成功! |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
public async void OpenBeep() |
|
|
|
|
|
|
|
|
public async void OpenBeep(int addr) |
|
|
{ |
|
|
{ |
|
|
byte[] sendData = new byte[]{ 0x07, 0x01, 0x33, 0x08, 0x02, 0x03, 0x33,0xB1 }; |
|
|
|
|
|
|
|
|
byte[] sendData = new byte[]{ 0x07, (byte)addr, 0x33, 0x08, 0x02, 0x03, 0x33,0xB1 }; |
|
|
await SendMessageAsync(sendData, TimeSpan.FromSeconds(1), 6); |
|
|
await SendMessageAsync(sendData, TimeSpan.FromSeconds(1), 6); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|