示例#1
0
 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];
     }
 }
示例#2
0
 public override void Update(SimulateDllModel dllmodel)
 {
     if (Islocked)
     {
         return;
     }
     Int32[] ivalues = dllmodel.GetValue_Bit(Name, 1);
     Value = ivalues[0];
 }