Click or drag to resize

UpdateRecipeRequest Class

This message is used to send a named recipe to a process endpoint. The message includes details of the recipe, depending on the classification of the process. The response indicates whether the recipe has been received correctly or not.

UpdateRecipeRequest JSON example

{
  "Overwrite": true,
  "Recipe": {
    "Name": "RECIPE234324",
    "Revision": "C",
    "ExpectedCycleTime": 0.0,
    "ExpectedUnitsPerWorkTransaction": 0.0,
    "UnitLength": 22.46,
    "UnitWidth": 19.21,
    "UnitHeight": 0.85,
    "MimeType": "application/octet-stream",
    "RecipeData": "//w0"
  },
  "Reason": "NewRevision"
}

Load Printer Recipe / Modify Printer Recipe based on UpdateRecipeRequest and UpdateRecipeResponse

{
  "Overwrite": true,
  "Recipe": {
    "$type": "CFX.Structures.SolderPastePrinting.SolderPastePrintingRecipe, CFX",
    "Strokes": [
      {
        "PrintPressure": 1.0,
        "PrintSpeed": 12.0
      },
      {
        "PrintPressure": 2.0,
        "PrintSpeed": 9.0
      }
    ],
    "PrintGap": 1.2,
    "Separation": {
      "Name": null,
      "SeparationSpeed": 1.6,
      "SeparationDistance": 1.2,
      "SeparationDelay": null
    },
    "PeriodicCleanings": [
      {
        "CleanFrequency": 2,
        "CleanMode": "W"
      }
    ],
    "Name": "RECIPE234324",
    "Revision": "C",
    "ExpectedCycleTime": 46.25,
    "ExpectedUnitsPerWorkTransaction": 4.0,
    "UnitLength": 22.46,
    "UnitWidth": 19.21,
    "UnitHeight": 0.85,
    "MimeType": null,
    "RecipeData": null
  },
  "Reason": "NewRevision"
}
Inheritance Hierarchy
SystemObject
  CFXCFXMessage
    CFX.ProductionUpdateRecipeRequest

Namespace: CFX.Production
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public class UpdateRecipeRequest : CFXMessage

The UpdateRecipeRequest type exposes the following members.

Constructors
 NameDescription
Public methodUpdateRecipeRequest Default constructor
Top
Properties
 NameDescription
Public propertyOverwrite If set to true, any existing Recipe at the Endpoint with the same name will be replaced by the Recipe provided in this request. If set to False, the update request will not succeed if a Recipe with the same name exists at the Endpoint.
Public propertyReason The reason for the update
Public propertyRecipe The new Recipe to be sent to the Endpoint.
Top
See Also