33 lines
681 B
C#
33 lines
681 B
C#
///
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
|
///
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using log4net;
|
|
using Config.Entities;
|
|
|
|
namespace TBF.BenchControl.Network.Camera.RoI
|
|
{
|
|
public class RoI : ComponentBase
|
|
{
|
|
private static readonly ILog log = LogManager.GetLogger(typeof(RoI));
|
|
public override string ToString()
|
|
{
|
|
return string.Format("{0}({1})", this.GetType().Namespace.Substring(17), Cfg.ToString(1));
|
|
}
|
|
|
|
protected readonly RoICfg roiCfg;
|
|
|
|
public RoI()
|
|
{
|
|
}
|
|
|
|
public RoI(Generic.IComponentCfg cfg, IList<Generic.IComponent> components)
|
|
: base(cfg)
|
|
{
|
|
roiCfg = cfg as RoICfg;
|
|
log.Debug(this.ToString());
|
|
}
|
|
}
|
|
}
|