diff options
Diffstat (limited to 'Anoto/AnotoPen.cs')
-rw-r--r-- | Anoto/AnotoPen.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Anoto/AnotoPen.cs b/Anoto/AnotoPen.cs new file mode 100644 index 0000000..97abc82 --- /dev/null +++ b/Anoto/AnotoPen.cs @@ -0,0 +1,30 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Anoto
+{
+ public class AnotoPen
+ {
+ public string PenSerial;
+ public Anoto.GenericStreamer.PenType PenType;
+ public ulong Time;
+ public string ProductName;
+ public ushort Pid;
+
+ public AnotoPen(string penSerial, Anoto.GenericStreamer.PenType penType, ulong time, string productName, ushort pid)
+ {
+ PenSerial = penSerial;
+ PenType = penType;
+ Time = time;
+ ProductName = productName;
+ Pid = pid;
+ }
+
+ public override string ToString()
+ {
+ return PenType + "(" + PenSerial + ")";
+ }
+ }
+}
|