You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[MTConnect.DataTypesBuilder](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/DataTypesBuilder.cls) / [Operation](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) can build _%Integer_ datatypes now
-[MTConnect.DataTypesBuilder](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/DataTypesBuilder.cls) / [Operation](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) can build _%Integer_ datatypes now
14
14
15
15
---
16
16
17
17
## v0.0.2 (2023-1-12)
18
18
19
-
-[DataTypesBuilderOperation](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) throws an error if the class already exists
20
-
- In [MTConnectRequest](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/MTConnectRequest.cls) / [Response](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/MTConnectResponse.cls) removed Property: `logClass`
-[DataTypesBuilderOperation](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) throws an error if the class already exists
20
+
- In [MTConnectRequest](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/MTConnectRequest.cls) / [Response](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/MTConnectResponse.cls) removed Property: `logClass`
An <a href="https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GCOS_INTRO">InterSystems ObjectScript</a> implementation, thats builds an ObjectScript Class based on a <a href="https://www.mtconnect.org/">MTConnect</a> probe file and adds data from a current file.
- Download the [latest realease](https://github.com/phil1436/MTConnect-ObjectScript/releases/latest)
44
+
- Download the [latest realease](https://github.com/intersystems-dach/MTConnect-ObjectScript/releases/latest)
45
45
- Extract the file
46
46
- In the [InterSystems Management Portal](https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GSA_USING_PORTAL) navigate to `System Explorer > Classes`
47
47
- Click on `Import`
48
48
- Under _Import from File or a Directory_ make sure to select _Directory_
49
-
- Enter the path to the [MTConnect Folder](https://github.com/phil1436/MTConnect-ObjectScript/tree/master/src/cls/MTConnect) under `src/cls/MTConnect`
49
+
- Enter the path to the [MTConnect Folder](https://github.com/intersystems-dach/MTConnect-ObjectScript/tree/master/src/cls/MTConnect) under `src/cls/MTConnect`
-`probeFromFile`: When enabled the probe property contains an absolute path to the probe file. When disabled the probe property contains the probe file as a string.
A Business Operation, that builts an ObjectScript class based on a MTConnect probe file. After the class is successfully generated, the operation inserts data from a MTConnect current file.
Builds MTConnect Datatypes based on a [MTConnect.MSG.CreateDataTypeRequest](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/cls/MTConnect/MSG/CreateDataTypeRequest.cls).
127
+
Builds MTConnect Datatypes based on a [MTConnect.MSG.CreateDataTypeRequest](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/cls/MTConnect/MSG/CreateDataTypeRequest.cls).
128
128
129
129
### Execute Method
130
130
131
-
-`pRequest`: The [MTConnect.MSG.CreateDataTypeRequest](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/CreateDataTypeRequest.cls)
131
+
-`pRequest`: The [MTConnect.MSG.CreateDataTypeRequest](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/CreateDataTypeRequest.cls)
132
132
-`pPackage`: The package name to store the datatypes (Default is _MTConnect.DataTypes_)
133
133
-`pGenerateIsValid`: If enabled generates the _IsValid_ method for the datatype (enabled by default)
134
134
-`pGenerateNormalize`: If enabled generates the _Normalize_ method for the datatype (enabled by default)
@@ -137,13 +137,13 @@ Builds MTConnect Datatypes based on a [MTConnect.MSG.CreateDataTypeRequest](http
A Business Operation to build MTConnect Datatypes based on a [MTConnect.MSG.CreateDataTypeRequest](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/CreateDataTypeRequest.cls).
142
+
A Business Operation to build MTConnect Datatypes based on a [MTConnect.MSG.CreateDataTypeRequest](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/MSG/CreateDataTypeRequest.cls).
@@ -159,13 +159,13 @@ A Business Operation to build MTConnect Datatypes based on a [MTConnect.MSG.Crea
159
159
-`DisplayToLogical`: If enabled generates the _DisplayToLogical_ method for the datatype
160
160
-`LogicalToDisplay`: If enabled generates the _LogicalToDisplay_ method for the datatype
161
161
162
-
> Tip: Hava a look at [MTConnect.DataTypes](https://github.com/phil1436/MTConnect-ObjectScript/tree/master/src/cls/MTConnect/DataTypes) for some default MTConnect DataTypes.
162
+
> Tip: Hava a look at [MTConnect.DataTypes](https://github.com/intersystems-dach/MTConnect-ObjectScript/tree/master/src/cls/MTConnect/DataTypes) for some default MTConnect DataTypes.
A simple [Production](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/ExampleProduction/Production.cls) to show the usage of the [DataTypesBuilder Operation](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) and the [ClassBuilder Operation](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/ClassBuilder.cls).
168
+
A simple [Production](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/ExampleProduction/Production.cls) to show the usage of the [DataTypesBuilder Operation](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) and the [ClassBuilder Operation](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/ClassBuilder.cls).
169
169
170
170
How to open and start the Production:
171
171
@@ -177,7 +177,7 @@ How to open and start the Production:
177
177
178
178
### DataTypes
179
179
180
-
An example for how to use the [DataTypesBuilder Operation](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) to create MTConnect DataTypes.
180
+
An example for how to use the [DataTypesBuilder Operation](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/DataTypesBuilderOperation.cls) to create MTConnect DataTypes.
181
181
182
182
- From the _category_ dropdown menu choose `DataTypes`
183
183
- Choose the `DataTypes Process`
@@ -192,11 +192,11 @@ An example for how to use the [DataTypesBuilder Operation](https://github.com/ph
192
192
- You can follow the _Visual Trace_ to see how the DataType was created
193
193
- You will find the DataTypes under `MTConnect.ExampleProduction.DataTypes`
An example for how to use the [ClassBuilder Operation](https://github.com/phil1436/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/ClassBuilder.cls) to create MTConnect Class from a MTConnect [Probe](http://mtconnect.mazakcorp.com:5609/probe) and [Current](http://mtconnect.mazakcorp.com:5609/current) file.
199
+
An example for how to use the [ClassBuilder Operation](https://github.com/intersystems-dach/MTConnect-ObjectScript/blob/master/src/cls/MTConnect/BO/ClassBuilder.cls) to create MTConnect Class from a MTConnect [Probe](http://mtconnect.mazakcorp.com:5609/probe) and [Current](http://mtconnect.mazakcorp.com:5609/current) file.
200
200
201
201
- From the _category_ dropdown menu choose `Class Builder`
202
202
- Choose the `Class Builder Process`
@@ -207,7 +207,7 @@ An example for how to use the [ClassBuilder Operation](https://github.com/phil14
207
207
- You will find the MTConnect Class under `MTConnect.ExampleProduction.BuiltClasses`
208
208
- The Operation will also generate MTConnect DataTypes based on the files. You can find them under `MTConnect.ExampleProduction.DataTypes`
0 commit comments