forked from salamb/STPNC-MTConnect-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWS.h
More file actions
41 lines (30 loc) · 663 Bytes
/
WS.h
File metadata and controls
41 lines (30 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using namespace System;
using namespace System::Net;
using namespace System::Collections::Generic;
using namespace System::IO;
using namespace System::Text;
#pragma once
#ifndef __WS__
#define __WS__
#include "Exec.h"
//#include "ToolPath.h"
ref class ToolPath;
ref class WS: Exec
{
private:
__int64 tool;
List<ToolPath^>^ pathList;
double max_feed;
double max_spindle;
public:
//get stpnc ID of tool
__int64 getToolId();
double getMaxFeed();
double getMaxSpindle();
void addPath(ToolPath^t);
ToolPath^ getPath(__int64 i);
__int64 getPathCount();
WS(String^ n, __int64 ID, __int64 in, WP^p, __int64 toolID);
List<WP^>^pathtoRoot();
};
#endif