Skip to content

Commit 9fcfeb8

Browse files
committed
v0.0.1
1 parent 70e6a6f commit 9fcfeb8

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ideas.txt

cls/MTConnect/BO/ClassBuilder.cls

-12
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,13 @@ Property LogFile As %String(MAXLEN = 1000);
5858
/// A Logger to write the log
5959
Property Logger As MTConnect.Logger [ Private ];
6060

61-
/// Only used for testcases
62-
Method test(ByRef req As MTConnect.MSG.MTConnectRequest) [ Private ]
63-
{
64-
Set req.current = "C:\Users\pbonin\Downloads\current.xml"
65-
Set req.probe = "C:\Users\pbonin\Downloads\probe.xml"
66-
Set req.probeFromFile = 1
67-
Set req.currentToFile = 1
68-
}
69-
7061
/// Builds the class if it does not exists and inserts current data
7162
/// <li>pRequest: The Request</li>
7263
/// <li>pResponse: The Response</li>
7364
/// <li><b>returns</b>: If the class could be build</li>
7465
Method Execute(pRequest As MTConnect.MSG.MTConnectRequest, Output pResponse As MTConnect.MSG.MTConnectResponse) As %Status
7566
{
7667

77-
Do ..test(.pRequest)
78-
79-
8068
//Setup Logger
8169
If ..Log{
8270
Set ..Logger = ##class(MTConnect.Logger).%New(..LogFile, .logSc)

0 commit comments

Comments
 (0)