diff options
author | hurter | 2011-08-31 16:25:05 +0000 |
---|---|---|
committer | hurter | 2011-08-31 16:25:05 +0000 |
commit | 42dc1d36235292786322d28340a81c6cb3fd46c0 (patch) | |
tree | 6f4ef0d4ad672c54500d9457af90fc599ac9b299 /Anoto/AnotoPen.cs | |
parent | 5aa429a3e7e9f610f5b2dd8f8e2a865ecfd25ea3 (diff) | |
download | amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.zip amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.tar.gz amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.tar.bz2 amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.tar.xz |
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 + ")";
+ }
+ }
+}
|