Commit 4ca7dafb authored by El Mghazli Yacine's avatar El Mghazli Yacine

setParam$

parent a3b05f0b
...@@ -72,4 +72,13 @@ export class CommandsApi { ...@@ -72,4 +72,13 @@ export class CommandsApi {
public setVariable$ = (variable: IVariable, moduleName?: string) => this.httpClient.post<IResp>(environment.backend + route + (moduleName ? ('/' + moduleName) : "") + '/variables/', variable); public setVariable$ = (variable: IVariable, moduleName?: string) => this.httpClient.post<IResp>(environment.backend + route + (moduleName ? ('/' + moduleName) : "") + '/variables/', variable);
public setParam$ = (moduleName: string, cmdName: string, colName: string, rawIndex: number, value: string) => this.httpClient.post<IResp>(environment.backend + route + '/' + moduleName + '/set',
{
cmdName: cmdName,
colName: colName,
rawIndex: rawIndex,
value: value
}
);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment