123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #region --------------- Copyright Dresser Wayne Pignone -------------
- #endregion
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Wayne.Lib.StateEngine.Generic
- {
-
-
-
-
- public abstract class CompositeState<TMain> : Wayne.Lib.StateEngine.CompositeState, IGenericState<TMain>
- {
- #region Properties
-
-
-
- protected TMain Main
- {
- get;
- private set;
- }
- #endregion
- #region Methods
-
-
-
- protected abstract void ConfigureCompositeStateMachine();
- #endregion
- #region IGenericState<TMain> Members
- TMain IGenericState<TMain>.WritableMain
- {
- get { return Main; }
- set
- {
- Main = value;
-
- ConfigureCompositeStateMachine();
- }
- }
- #endregion
- }
- }
|