Beispiel #1
0
 public ChartPoint(CP.Code.IClassVarElement _codeElem, ICPLineData _lineData)
 {
     codeElem = _codeElem;
     codeElem.classVarChangedEvent += ClassVarChangedEventOn;
     codeElem.classVarDeletedEvent += ClassVarDeletedEventOn;
     data = CP.Utils.IClassFactory.GetInstance().CreateCPData(codeElem.name, codeElem.uniqueName, codeElem.type, true, EChartPointStatus.SwitchedOn, _lineData);
 }
            public override IChartPoint CreateCP(CP.Code.IClassVarElement _codeElem, ICPLineData _lineData)
            {
                IChartPoint cp = new CPImpl(_codeElem, _lineData);

                constrEvents.createdCPEvent.Fire(new ConstructEventArgs <IChartPoint>(cp));

                return(cp);
            }
Beispiel #3
0
 public ChartPointData(string _name, string _uniqueName, string _type, bool _enabled, EChartPointStatus _status, ICPLineData _lineData)
 {
     name       = _name;
     uniqueName = _uniqueName;
     type       = _type;
     enabled    = _enabled;
     status     = _status;
     lineData   = _lineData;
 }
 public CPImpl(CP.Code.IClassVarElement _codeElem, ICPLineData _lineData) : base(_codeElem, _lineData)
 {
 }
 public override IChartPointData CreateCPData(string _name, string _uniqueName, string _type, bool _enabled, EChartPointStatus _status, ICPLineData _lineData)
 {
     return(new CPDataImpl(_name, _uniqueName, _type, _enabled, _status, _lineData));
 }
 public CPDataImpl(string _name, string _uniqueName, string _type, bool _enabled, EChartPointStatus _status, ICPLineData _lineData)
     : base(_name, _uniqueName, _type, _enabled, _status, _lineData)
 {
 }
Beispiel #7
0
 public abstract IChartPoint CreateCP(CP.Code.IClassVarElement _codeElem, ICPLineData _lineData);
Beispiel #8
0
 public abstract IChartPointData CreateCPData(string _name, string _uniqueName, string _type, bool _enabled, EChartPointStatus _status, ICPLineData _lineData);