public override void SetObjectData() { base.SetObjectData(); int persistedClassVersion = (int)info.GetValue("ClassPersistenceVersionSolidDryer", typeof(int)); if (persistedClassVersion == 1) { this.dryerType = (SolidDryerType)info.GetValue("DryerType", typeof(SolidDryerType)); } }
// public FlowDirection FlowDirection // { // get {return flowDirection;} // } // // public ProcessType ProcessType // { // get { return processType; } // } #endregion //public Dryer(string name, ProcessType processType, UnitOpSystem uoSys) : base(name, uoSys) public SolidDryer(string name, UnitOperationSystem uoSys) : base(name, uoSys) { dryerType = SolidDryerType.Unknown; }