{
  "productInfo" : {
    "company" : "HighByte",
    "product" : "IntelligenceHub",
    "version" : "4.0.0",
    "build" : "2024.10.7.595",
    "stage" : "Release"
  },
  "project" : {
    "version" : 9,
    "connections" : [ {
      "name" : "HB_Tutorial_File",
      "uri" : "file://Tutorial_File",
      "tags" : [ "HB_Tutorial", "HB_Tutorial_File" ],
      "writes" : {
        "flattenModeledValues" : false
      },
      "subscriptions" : { },
      "storeForward" : {
        "enabled" : false,
        "maxEntries" : 100,
        "waitOnFailureInterval" : {
          "duration" : 1,
          "units" : "Seconds"
        }
      },
      "settings" : {
        "communicationProtocol" : {
          "type" : "FILE_PROTOCOL",
          "options" : { }
        },
        "directory" : "/files",
        "processedDirectory" : "/files/processed",
        "errorDirectory" : "/files/error"
      }
    }, {
      "name" : "HB_Tutorial_MQTT",
      "uri" : "mqtt://0.0.0.0:1885",
      "tags" : [ "HB_Tutorial", "HB_Tutorial_Connections", "HB_Tutorial_File" ],
      "writes" : {
        "flattenModeledValues" : false
      },
      "subscriptions" : { },
      "storeForward" : {
        "enabled" : false,
        "maxEntries" : 100,
        "waitOnFailureInterval" : {
          "duration" : 1,
          "units" : "Seconds"
        }
      },
      "settings" : {
        "connectionTimeoutSeconds" : 10,
        "keepAliveSeconds" : 60,
        "requestTimeoutMS" : 5000,
        "cleanSession" : true,
        "ssl" : false,
        "redundantBrokers" : [ ],
        "inputDiscovery" : "",
        "clientId" : "HB_Tutorial_MQTT"
      }
    }, {
      "name" : "HB_Tutorial_OPC_UA",
      "uri" : "opc.tcp://52.10.6.4:49320",
      "tags" : [ "HB_Tutorial", "HB_Tutorial_Connections" ],
      "writes" : {
        "flattenModeledValues" : false
      },
      "subscriptions" : {
        "subscriptionRate" : {
          "duration" : 1,
          "units" : "Seconds"
        }
      },
      "storeForward" : {
        "enabled" : false,
        "maxEntries" : 100,
        "waitOnFailureInterval" : {
          "duration" : 1,
          "units" : "Seconds"
        }
      },
      "settings" : {
        "security" : "None",
        "authentication" : {
          "type" : "Anonymous"
        },
        "connectTimeoutSeconds" : 5,
        "requestTimeoutMS" : 5000,
        "maxItemsPerRead" : 512,
        "maxItemsPerWrite" : 256,
        "certificateKeyPair" : "app-certificate-private-key",
        "sessionName" : ""
      }
    }, {
      "name" : "HB_Tutorial_SQL_Server",
      "uri" : "jdbc.sqlserver://52.10.6.4:1433",
      "tags" : [ "HB_Tutorial", "HB_Tutorial_Connections" ],
      "writes" : {
        "flattenModeledValues" : false
      },
      "subscriptions" : { },
      "storeForward" : {
        "enabled" : false,
        "maxEntries" : 100,
        "waitOnFailureInterval" : {
          "duration" : 1,
          "units" : "Seconds"
        }
      },
      "settings" : {
        "database" : "serviceinfo",
        "username" : "highbyte",
        "password" : {
          "type" : "Encrypted",
          "value" : {
            "keyId" : "ZQ5w+mXQibsUgKtsZ6FTRw==",
            "iv" : "/F2y6BxIH3ZIL/w+xBg3Ig==",
            "ciphertext" : "CEehNpcoXCnBiwoHbZocYg=="
          }
        }
      }
    } ],
    "inputs" : [ {
      "name" : "HB_Tutorial_File_Input_Read_Wildcard",
      "connection" : "HB_Tutorial_File",
      "type" : "file",
      "qualifier" : {
        "fileName" : "(.+)",
        "includeMetadata" : false
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial",
        "dataType" : "Auto",
        "type" : "Branch",
        "maxDepth" : 1
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_AirPressure",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.AirPressure",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_AssetID",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.AssetID",
        "type" : "Tag",
        "dataType" : "String"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_AxisPositionX",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.AxisPositionX",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_AxisPositionY",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.AxisPositionY",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_AxisPositionZ",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.AxisPositionZ",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_CoolantpH",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.CoolantpH",
        "type" : "Tag",
        "dataType" : "Int16"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_CuttingSpeed",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.CuttingSpeed",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_FaultCode",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.FaultCode",
        "type" : "Tag",
        "dataType" : "Int16"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_FeedRate",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.FeedRate",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_MachineState",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.MachineState",
        "type" : "Tag",
        "dataType" : "Int16"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_MachineTemperature",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.MachineTemperature",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_PartProgamID",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.PartProgamID",
        "type" : "Tag",
        "dataType" : "String"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_PowerCurrent",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.PowerCurrent",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_PowerCurrentXAxis",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.PowerCurrentXAxis",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_PowerCurrentYAxis",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.PowerCurrentYAxis",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_PowerCurrentZAxis",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.PowerCurrentZAxis",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_ProductionCount",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.ProductionCount",
        "type" : "Tag",
        "dataType" : "Int16"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_RejectCount",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.RejectCount",
        "type" : "Tag",
        "dataType" : "Int16"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_SpindleLoad",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.SpindleLoad",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_SpindleSpeed",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.SpindleSpeed",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_SpindleTemperature",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.SpindleTemperature",
        "type" : "Tag",
        "dataType" : "Real32"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_StateDescription",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.StateDescription",
        "type" : "Tag",
        "dataType" : "String"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "Tutorial_CNC_Fanuc_1001_ToolID",
      "connection" : "HB_Tutorial_OPC_UA",
      "type" : "opc.tcp",
      "qualifier" : {
        "namespaceIndex" : 2,
        "identifierType" : "String",
        "identifier" : "Tutorial.CNC_Fanuc_1001.ToolID",
        "type" : "Tag",
        "dataType" : "String"
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "HB_Tutorial_SQL_Server_Input_Get_All_Assets",
      "connection" : "HB_Tutorial_SQL_Server",
      "type" : "jdbc.sqlserver",
      "qualifier" : {
        "query" : "select * from [dbo].[cmms_servicelogs]",
        "type" : "query",
        "index" : {
          "enabled" : false,
          "indexName" : "",
          "indexValue" : ""
        }
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    }, {
      "name" : "HB_Tutorial_SQL_Server_Input_Get_All_CNC_Assets",
      "connection" : "HB_Tutorial_SQL_Server",
      "type" : "jdbc.sqlserver",
      "qualifier" : {
        "type" : "query",
        "query" : "select * from [dbo].[cmms_servicelogs] where [dbo].[cmms_servicelogs].[asset_type] = 'CNC'",
        "index" : {
          "enabled" : false,
          "indexName" : "",
          "indexValue" : ""
        }
      },
      "cacheLifetime" : {
        "enabled" : false
      },
      "template" : {
        "type" : "Off"
      }
    } ],
    "outputs" : [ {
      "name" : "HB_Tutorial_MQTT_Output_OPC_UA_Branch",
      "connection" : "HB_Tutorial_MQTT",
      "type" : "mqtt",
      "qualifier" : {
        "qos" : 0,
        "namedRoot" : false,
        "breakupArrays" : false,
        "topic" : "Tutorial/OPC_UA_Branch",
        "retained" : false
      }
    } ],
    "modeling" : {
      "models" : [ ],
      "instances" : [ ]
    },
    "conditions" : [ ],
    "functions" : [ ],
    "tags" : [ {
      "name" : "HB_Tutorial"
    }, {
      "name" : "HB_Tutorial_Connections"
    }, {
      "name" : "HB_Tutorial_File"
    } ],
    "pipelines" : [ {
      "name" : "HB_Tutorial_OPC_UA_Branch_To_MQTT",
      "uri" : "pipeline",
      "tags" : [ "HB_Tutorial", "HB_Tutorial_Connections" ],
      "settings" : {
        "inputStages" : [ "Targets" ],
        "trackActivity" : false,
        "triggers" : [ {
          "name" : "Flow",
          "config" : {
            "type" : ".TriggerFlow",
            "enabled" : false,
            "flowEvaluation" : {
              "type" : "Polled",
              "interval" : {
                "duration" : 10,
                "units" : "Seconds"
              },
              "delay" : {
                "duration" : 0,
                "units" : "Seconds"
              },
              "mode" : "Always"
            },
            "inReferences" : [ "{{Connection.HB_Tutorial_OPC_UA.Tutorial}}" ],
            "publishMode" : "All",
            "template" : {
              "type" : "Off"
            }
          },
          "display" : {
            "position" : {
              "x" : -450,
              "y" : 0
            }
          }
        } ],
        "stages" : [ {
          "name" : "Targets",
          "outputs" : [ ],
          "config" : {
            "type" : ".WriteConfig",
            "failureOutputs" : [ ],
            "references" : [ "{{Connection.HB_Tutorial_MQTT.HB_Tutorial_MQTT_Output_OPC_UA_Branch}}" ],
            "ignoreResult" : false
          },
          "display" : {
            "position" : {
              "x" : 240,
              "y" : 0
            }
          }
        } ]
      }
    } ],
    "namespace" : [ ]
  },
  "network" : {
    "groups" : [ ],
    "hubs" : [ ]
  }
}