public AlgorithmAction(DeviceAlgorithm device, AlgorithmAction algorithmAction, ActionSettings actionSettings) { Device = device; ParentAction = algorithmAction; ActionSettings = actionSettings; Type = actionSettings.Type; Name = actionSettings.Name; OnDbWriteOnly = actionSettings.OnDbWriteOnly; CommonConstruction(); }
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; }
public AlgorithmAction_RepeatCountTimes(DeviceAlgorithm device, AlgorithmAction action, ActionSettings actionSettings) : base(device, action, actionSettings) { CommonConstruction(); }
public AlgorithmAction_SendBlock(DeviceAlgorithm device, AlgorithmAction action, ActionSettings actionSettings) : base(device, action, actionSettings) { CommonConstruction(); }
public AlgorithmAction_LogError(DeviceAlgorithm device, AlgorithmAction action, ActionSettings actionSettings) : base(device, action, actionSettings) { CommonConstruction(); }