Initialization( ) changed, is abstract in ComponentBase, builds OK.

This commit is contained in:
Milan Hanajik
2021-04-03 09:39:17 +02:00
parent a58fe1f997
commit c53cb8ace0
106 changed files with 441 additions and 312 deletions
+6 -13
View File
@@ -14,33 +14,26 @@ namespace TBF.Rig.Network.Camera.Display
public class Display : ComponentBase, IOperation, ICameraDisplay
{
private static readonly ILog log = LogManager.GetLogger(typeof(Display));
public override string ToString()
{
return string.Format("{0}({1})", this.GetType().Namespace.Substring(8), Cfg.ToString(1));
}
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(1)); }
public readonly DisplayCfg DisplayCfg;
///
public Display()
{
}
///
public Display(Generic.IComponentCfg cfg, IList<Generic.IComponent> components)
public Display() { }
public Display(Generic.IComponentCfg cfg, IList<Generic.IComponent> components)
: base(cfg)
{
DisplayCfg = cfg as DisplayCfg;
log.Warn(this.ToString());
}
public override void Initialize() { }
public bool[] SelectedImages { get { return selectedImages; } }
bool[] selectedImages;
public enum CurrentOp
{
None,