-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathIBuzzHandsetDevice.cs
More file actions
28 lines (24 loc) · 921 Bytes
/
IBuzzHandsetDevice.cs
File metadata and controls
28 lines (24 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
namespace BuzzIO
{
public interface IBuzzHandsetDevice
{
/// <summary>
/// Event fired when one or more button state changes
/// </summary>
event BuzzButtonChangedEventHandler ButtonChanged;
/// <summary>
/// Sets the states of the handsets lamps on or off.
/// </summary>
/// <param name="bLight1">Turn light on handset 1 on/off</param>
/// <param name="bLight2">Turn light on handset 2 on/off</param>
/// <param name="bLight3">Turn light on handset 3 on/off</param>
/// <param name="bLight4">Turn light on handset 4 on/off</param>
void SetLights(bool bLight1, bool bLight2, bool bLight3, bool bLight4);
/// <summary>
/// Event handler called when device has been removed
/// </summary>
event EventHandler DeviceRemoved;
string ProductString { get; }
}
}