2026-04-24 FE Backup
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
def toggleCommandPaths (resetTagPath, enableTagPath):
|
||||
"""
|
||||
This function receives two paths, resetTagPath set to False, then the enabletagPath is set to True
|
||||
Params:
|
||||
resetTagPath: string
|
||||
enableTagPath: string
|
||||
Returns:
|
||||
none
|
||||
"""
|
||||
|
||||
def writeSeparate():
|
||||
def writeEnable(asyncReturn):
|
||||
system.tag.writeBlocking([enableTagPath],[1])
|
||||
system.tag.writeAsync([resetTagPath],[0], writeEnable)
|
||||
|
||||
|
||||
def writeAll():
|
||||
system.tag.writeBlocking([resetTagPath, enableTagPath], [0,1])
|
||||
|
||||
writeAll()
|
||||
# writeSeparate()
|
||||
Reference in New Issue
Block a user