예제 #1
0
      public void SetObjectData(IJsonReadData data)
      {
          ApplicationName = data.GetStringProperty("ApplicationName");
          List <object> keys   = data.GetProperty <List <object> >("Keys");
          List <object> values = data.GetProperty <List <object> >("Values");

          for (int i = 0; i < keys.Count; i++)
          {
              Data.Add(new KeyValuePair <XDataCode, object>((XDataCode)(keys[i]), values[i]));
          }
      }
예제 #2
0
 public void SetObjectData(IJsonReadData data)
 {
     name  = data.GetStringProperty("Name");
     width = data.GetProperty <double>("Width");
     scale = data.GetProperty <Scaling>("Scale");
 }
예제 #3
0
 public void SetObjectData(IJsonReadData data)
 {
     name    = data.GetStringProperty("Name");
     pattern = data.GetProperty <double[]>("Pattern");
     scale   = data.GetProperty <Scaling>("Scale");
 }
예제 #4
0
 public virtual void SetObjectData(IJsonReadData data)
 {
     Name = data.GetStringProperty("Name");
 }