summaryrefslogtreecommitdiff
path: root/Anoto/AnotoPen.cs
blob: 97abc82fc7167209e3b9446bf5c2c87a403765f6 (plain)
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
29
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 + ")";
        }
    }
}