From 42dc1d36235292786322d28340a81c6cb3fd46c0 Mon Sep 17 00:00:00 2001 From: hurter Date: Wed, 31 Aug 2011 16:25:05 +0000 Subject: --- Anoto/AnotoPen.cs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Anoto/AnotoPen.cs (limited to 'Anoto/AnotoPen.cs') 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 + ")"; + } + } +} -- cgit v1.1