Subversion Repositories amilis

Rev

Blame | Last modification | View Log | RSS feed

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 + ")";
        }
    }
}