zensysupnpcpdevice.cs

来自「zwave 无线通讯协议 PC controller 控制器源码」· CS 代码 · 共 68 行

CS
68
字号
//////////////////////////////////////////////////////////////////////////////////////////////// 
//
//          #######
//          #   ##    ####   #####    #####  ##  ##   #####
//             ##    ##  ##  ##  ##  ##      ##  ##  ##
//            ##  #  ######  ##  ##   ####   ##  ##   ####
//           ##  ##  ##      ##  ##      ##   #####      ##
//          #######   ####   ##  ##  #####       ##  #####
//                                           #####
//          Z-Wave, the wireless language.
//
//          Copyright Zensys A/S, 2003,2004
//
//          All Rights Reserved
//
//          Description:   This source file is the sourcefile for the
//                         ZensysUPnPCPDevice class, which all Zensys UPnP CP devices should
//                         derive from
//
//          Author:   Johann Sigfredsson
//
//          Last Changed By:  $Author: jch $
//          Revision:         $Revision: 1.1 $
//          Last Changed:     $Date: 2006/03/31 14:30:46 $
//
//////////////////////////////////////////////////////////////////////////////////////////////

using System;
using Intel.UPNP;
using Zensys.ZWave.Communication;
using Zensys.ZWave.Logging;

namespace Zensys
{
	public class ZensysUPnPCPDevice
  {
    public enum eventID : byte
    {
      include,
      exclude,
      state,
    }

    public enum UPnPCPDeviceTypes
    {
      BinaryLightCP,
      AVRendererCP,
    }

    protected UPnPCPDeviceTypes _deviceUPnPCPType = UPnPCPDeviceTypes.AVRendererCP;  /* Default */
    protected ZWaveLogging _m_log = null;


    public UPnPCPDeviceTypes deviceUPnPCPType {get {return _deviceUPnPCPType;}}
    public ZWaveLogging m_log {get {return _m_log;} set {_m_log = value;}}

    public ZensysUPnPCPDevice()
    {
    }


    public override string ToString()
    {
      return "UPnPCPDeviceBase";
    }
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?