using System.Collections.Generic; using Aitex.Core.Util; namespace Aitex.Core.RT.Simulator { public class DiForce : Singleton { public Dictionary ForceValues { get; set; } public DiForce() { ForceValues = new Dictionary(); } public void Set(string di, bool value) { ForceValues[di] = value; } public void Unset(string di) { if (ForceValues.ContainsKey(di)) { ForceValues.Remove(di); } } } }