|
|
@@ -188,9 +188,9 @@ namespace UHFHelper |
|
|
|
/// <summary> |
|
|
|
/// 发出蜂鸣声音3次,代表扣款成功! |
|
|
|
/// </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); |
|
|
|
} |
|
|
|
} |
|
|
|