internal void Initailize(CommonSetValueSetting setValueSetting) { this.OriginInactiveTime = setValueSetting.OriginInactiveTime; this.AlertVariation = setValueSetting.AlertVariation; this.NormalWaitTime = setValueSetting.NormalWaitTime; this.AlertWaitTime = setValueSetting.AlertWaitTime; this.MaxDQLot = setValueSetting.MaxDQLot; this.MaxOtherLot = setValueSetting.MaxOtherLot; this.DQQuoteMinLot = setValueSetting.DQQuoteMinLot; this.AutoDQMaxLot = setValueSetting.AutoDQMaxLot; this.AutoLmtMktMaxLot = setValueSetting.AutoLmtMktMaxLot; this.AcceptDQVariation = setValueSetting.AcceptDQVariation; this.AcceptLmtVariation = setValueSetting.AcceptLmtVariation; this.AcceptCloseLmtVariation = setValueSetting.AcceptCloseLmtVariation; this.CancelLmtVariation = setValueSetting.CancelLmtVariation; this.MaxMinAdjust = setValueSetting.MaxMinAdjust; this.IsBetterPrice = setValueSetting.IsBetterPrice; this.AutoAcceptMaxLot = setValueSetting.AutoAcceptMaxLot; this.AutoCancelMaxLot = setValueSetting.AutoCancelMaxLot; this.AllowedNewTradeSides = setValueSetting.AllowedNewTradeSides; this.HitTimes = setValueSetting.HitTimes; this.PenetrationPoint = setValueSetting.PenetrationPoint; this.PriceValidTime = setValueSetting.PriceValidTime; this.AutoDQDelay = setValueSetting.AutoDQDelay; this.HitPriceVariationForSTP = setValueSetting.HitPriceVariationForSTP; }
public SetValueSetting(CommonSetValueSetting setValueSetting) { this.UpdateSetValueParameterFileds = new Dictionary<string, object>(); this.Initailize(setValueSetting); }