26 lines
694 B
C#
26 lines
694 B
C#
///
|
|
/// Copyright (c) 2020 Sensus Slovensko a.s.
|
|
///
|
|
using log4net;
|
|
|
|
namespace TBF.BenchControl.Various.Drawing.Tank
|
|
{
|
|
public class Component : ComponentBase, SchematicDrawing.IDrawingItCmpnt
|
|
{
|
|
private static readonly ILog log = LogManager.GetLogger(typeof(Component));
|
|
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
|
|
|
readonly Configuration myCfg;
|
|
public SchematicDrawing.IDrawingItem DrawingItem { get { return myCfg as SchematicDrawing.IDrawingItem; } }
|
|
|
|
public Component() { }
|
|
|
|
public Component(Generic.IComponentCfg cfg)
|
|
: base(cfg)
|
|
{
|
|
myCfg = cfg as Configuration;
|
|
log.Debug(this.ToString());
|
|
}
|
|
}
|
|
}
|