public void From(DataContainer container, string path)
 {
     FunctionWriter.Write($"data modify {modifier.container.ToDataCommand()} {modifier.path} {mode} from {container.ToDataCommand()} {path}");
 }
Example #2
0
 public Execute UnlessData(DataContainer container, string path)
 {
     return(this + $"unless data {container.ToDataCommand()} {path}");
 }
Example #3
0
 public Execute Store(Storage @in, DataContainer container, string path, DataType type, double scale)
 {
     return(this + $"store {@in} {container.ToDataCommand()} {path} {type} {scale}");
 }
Example #4
0
 public Execute IfData(DataContainer container, string path)
 {
     return(this + $"if data {container.ToDataCommand()} {path}");
 }