コード例 #1
0
 public ActionParameter(DeviceAlgorithm device, AlgorithmAction algorithmAction, ParameterSettings parameterSettings)
 {
     Device = device;
     AlgorithmAction = algorithmAction;
     ParameterSettings = parameterSettings;
     Name = ParameterSettings.Name;
     IsSpecialValue = Name.StartsWith("!");
     Content = ParameterSettings.Content;
     if (Content != "")
         ContentVariable = Device.FindVariable(Content);
     else
         ContentVariable = null;
     ParameterValue = ParameterSettings.ParameterValue;
 }