Skip to content

Commit 46d411e

Browse files
Update to new version : 2.1.0.0
1 parent 5c2d6d7 commit 46d411e

File tree

8 files changed

+11
-21
lines changed

8 files changed

+11
-21
lines changed

underautomation/fanuc/common/utils.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

underautomation/fanuc/ftp/internal/ftp_client_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
clr.AddReference(os.path.realpath(os.path.join(os.path.dirname(__file__), "..", "..", 'lib', 'UnderAutomation.Fanuc.dll')))
1616
from UnderAutomation.Fanuc.Ftp.Internal import FtpClientBase as ftp_client_base
1717

18-
T = typing.TypeVar('T')
18+
= typing.TypeVar('')
1919
class FtpClientBase:
2020
def __init__(self, _internal = 0):
2121
if(_internal == 0):

underautomation/fanuc/ftp/variables/variable_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
clr.AddReference(os.path.realpath(os.path.join(os.path.dirname(__file__), "..", "..", 'lib', 'UnderAutomation.Fanuc.dll')))
4444
from UnderAutomation.Fanuc.Ftp.Variables import VariableReader as variable_reader
4545

46-
T = typing.TypeVar('T')
46+
= typing.TypeVar('')
4747
class VariableReader(FileReader1[GenericVariableFile]):
4848
def __init__(self, _internal = 0):
4949
if(_internal == 0):
512 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0.1
1+
2.1.0.0

underautomation/fanuc/snpx/internal/snpx_client_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def disconnect(self) -> None:
2626
self._instance.Disconnect()
2727
def clear_alarms(self) -> None:
2828
self._instance.ClearAlarms()
29+
def set_variable(self, name: str, value: float) -> None:
30+
self._instance.SetVariable(name, value)
2931
def clear_assignments(self) -> None:
3032
self._instance.ClearAssignments()
3133
def get_assignments(self) -> typing.List[Assignment]:

underautomation/fanuc/telnet/internal/telnet_client_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
clr.AddReference(os.path.realpath(os.path.join(os.path.dirname(__file__), "..", "..", 'lib', 'UnderAutomation.Fanuc.dll')))
2929
from UnderAutomation.Fanuc.Telnet.Internal import TelnetClientBase as telnet_client_base
3030

31+
= typing.TypeVar('씰')
3132
T = typing.TypeVar('T')
3233
class TelnetClientBase:
3334
def __init__(self, _internal = 0):

whatsNew.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
First release on PyPI
1+
- SNPX : implement direct writing of variables without assignment
2+
3+
```csharp
4+
_robot.Snpx.SetVariable("SYSTEM_VARIABLE_NAME", NewValue);
5+
```

0 commit comments

Comments
 (0)