|
@@ -93,8 +93,8 @@ namespace fanuc采集
|
|
|
//上传程序
|
|
|
public int UploadNcProg(string IP, string port, string prgname)
|
|
|
{
|
|
|
- string fullPath = @FanucLocalPath + prgname;
|
|
|
-
|
|
|
+ //string fullPath = @FanucLocalPath + prgname;
|
|
|
+ string fullPath = prgname;
|
|
|
string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fullPath);
|
|
|
string prg = File.ReadAllText(fullPath);
|
|
|
|