Skip to content

settings #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"objectscript.conn" :{
"active": true,
"ns": "IRISAPP",
"ns": "USER",
"username": "_SYSTEM",
"password": "SYS",
"docker-compose": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Method GetData(pRequest As Ens.Request, Output pResponse As Ens.StringResponse)
$$$TRACE("tHttpResponse.Data:"_tHttpResponse.Data)
$$$TRACE("tHttpResponse:"_tHttpResponse)
Set pResponse.StringValue=tHttpResponse.Data.Read()
$$$TRACE("tResult: "_pResponse.restResponse)
$$$TRACE("tResult: "_pResponse.StringValue)

//set tResponse = ##class(%DynamicObject).%FromJSON(pResponse.restResponse)

Expand All @@ -39,4 +39,3 @@ XData MessageMap
}

}

17 changes: 6 additions & 11 deletions src/cls/MTConnect/ExampleProduction/Production.cls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Class MTConnect.ExampleProduction.Production Extends Ens.Production

XData ProductionDefinition
{
<Production Name="MTConnect.ExampleProduction.Production" TestingEnabled="true" LogGeneralTraceEvents="false">
<Production Name="MTConnect.ExampleProduction.Production" TestingEnabled="true" LogGeneralTraceEvents="true">
<Description>This is a production example on how to use the MTConnect operations.</Description>
<ActorPoolSize>2</ActorPoolSize>
<Item Name="Class Builder Operation" Category="Class Builder" ClassName="MTConnect.BO.ClassBuilder" PoolSize="1" Enabled="true" Foreground="false" Comment="This is a example of a Class Builder Operation." LogTraceEvents="false" Schedule="">
Expand All @@ -22,26 +22,21 @@ XData ProductionDefinition
<Setting Target="Host" Name="Normalize">1</Setting>
<Setting Target="Host" Name="Package">MTConnect.ExampleProduction.DataTypes</Setting>
</Item>
<Item Name="DataTypes Process" Category="DataTypes" ClassName="MTConnect.ExampleProduction.BP.DataTypesProcess" PoolSize="1" Enabled="false" Foreground="false" Comment="Test this process with Ens.StringRequest and StringValue to &quot;String&quot; to generate a example String DataType or to &quot;Integer&quot; to create a example Integer DataType or to &quot;Double&quot; to create a example Double DataType.
You can find the generated DataTypes under MTConnect.ExampleProduction.DataTypes." LogTraceEvents="false" Schedule="">
<Item Name="DataTypes Process" Category="DataTypes" ClassName="MTConnect.ExampleProduction.BP.DataTypesProcess" PoolSize="1" Enabled="false" Foreground="false" Comment="Test this process with Ens.StringRequest and StringValue to &quot;String&quot; to generate a example String DataType or to &quot;Integer&quot; to create a example Integer DataType or to &quot;Double&quot; to create a example Double DataType. You can find the generated DataTypes under MTConnect.ExampleProduction.DataTypes." LogTraceEvents="false" Schedule="">
<Setting Target="Host" Name="foo">Test</Setting>
</Item>
<Item Name="Class Builder Process" Category="Class Builder" ClassName="MTConnect.ExampleProduction.BP.ClassBuilderProcess" PoolSize="1" Enabled="true" Foreground="false" Comment="Test this production with a Ens.Request to generate a new MTConnect Class and the corresponding MTConnect DataTypes.
You can find the class under: MTConnect.ExampleProduction.BuiltClasses
You can find the DataTypes under: MTConnect.ExampleProduction.DataTypes" LogTraceEvents="false" Schedule="">
<Item Name="Class Builder Process" Category="Class Builder" ClassName="MTConnect.ExampleProduction.BP.ClassBuilderProcess" PoolSize="1" Enabled="true" Foreground="false" Comment="Test this production with a Ens.Request to generate a new MTConnect Class and the corresponding MTConnect DataTypes. You can find the class under: MTConnect.ExampleProduction.BuiltClasses You can find the DataTypes under: MTConnect.ExampleProduction.DataTypes" LogTraceEvents="false" Schedule="">
</Item>
<Item Name="Get MTConnect Current File" Category="Class Builder" ClassName="MTConnect.ExampleProduction.BO.GenericRestOperation" PoolSize="1" Enabled="true" Foreground="false" Comment="Gets the MTConnect Current File from:
http://mtconnect.mazakcorp.com:5609/current" LogTraceEvents="false" Schedule="">
<Item Name="Get MTConnect Current File" Category="Class Builder" ClassName="MTConnect.ExampleProduction.BO.GenericRestOperation" PoolSize="1" Enabled="true" Foreground="false" Comment="Gets the MTConnect Current File from: http://mtconnect.mazakcorp.com:5609/current" LogTraceEvents="false" Schedule="">
<Setting Target="Adapter" Name="URL">http://mtconnect.mazakcorp.com:5609/current</Setting>
<Setting Target="Adapter" Name="method">GET</Setting>
</Item>
<Item Name="Get MTConnect Probe File" Category="Class Builder" ClassName="MTConnect.ExampleProduction.BO.GenericRestOperation" PoolSize="1" Enabled="true" Foreground="false" Comment="Gets the MTConnect Probe File from:
http://mtconnect.mazakcorp.com:5609/probe" LogTraceEvents="false" Schedule="">
<Item Name="Get MTConnect Probe File" Category="Class Builder" ClassName="MTConnect.ExampleProduction.BO.GenericRestOperation" PoolSize="1" Enabled="true" Foreground="false" Comment="Gets the MTConnect Probe File from: http://mtconnect.mazakcorp.com:5609/probe" LogTraceEvents="true" Schedule="">
<Setting Target="Adapter" Name="URL">http://mtconnect.mazakcorp.com:5609/probe</Setting>
<Setting Target="Adapter" Name="method">GET</Setting>
<Setting Target="Host" Name="ArchiveIO">1</Setting>
</Item>
</Production>
}

}