public bool SetCurFilter(e_InputFilter_Type eInputFilterType) { if (CurFilterType == eInputFilterType) return true; CurFilter = CreateFilter(eInputFilterType); return CurFilter != null; }
protected ECInputFilter CreateFilter(e_InputFilter_Type eInputFilterType) { switch (eInputFilterType) { case e_InputFilter_Type.INPUTFILTER_TYPE_HP: return new ECHPInputFilter(this); default: return null; } }
public ECInputFilter(e_InputFilter_Type eType, ECInputCtrl ctrl) { Type = eType; Ctrl = ctrl; }