public override void Update(SimulateDllModel dllmodel) { int[] ivalues = dllmodel.GetValue_Bit(Name, Size); for (int i = 0; i < size; i++) { this.values[i].Value = ivalues[i]; } }
public override void Update(SimulateDllModel dllmodel) { if (Islocked) { return; } Int32[] ivalues = dllmodel.GetValue_Bit(Name, 1); Value = ivalues[0]; }