/*------------------------------------------------------------------------------- *Author: Tamir Khason, 2004 *Email: tamir@khason.biz *Web: http://www.dotnet.us/ * *Freeware: Please do not remove this header * *File: P.cs * *Description:PELCO P Protocol Implementation dot.NET Way * This is GPL software. Do with it as you want, but feed us back any improvements. * * This is a simple class to control a PELCO PTZ camera via RS422/485 * 'P' protocol. It supports all of the commands including UP, DOWN, IN, OUT, LEFT, * RIGHT, NEAR, FAR, as well as all other extended commands. * * To use this, you need to put a RS232->RS422 adapter on the output * of your desired serial port. * * The Pelco doesn't return ANY usefull info back, so you only really need 2-wire support * (one way) communications out. * * * Version: 1.4 * ------------------------------------------------------------------------------*/using System;using System.Collections;