Skip to content

Commit 23e3de7

Browse files
committed
Merge branch 'feature-enableSaving' of https://github.com/PepperDash/epi-utilities-customvalues into feature-enableSaving
2 parents e912136 + 821c1b0 commit 23e3de7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ When set false, all bridged boolean (digital) data values begin at join 101 (off
4545
- The plugin does not automatically re-load from disk during runtime; it uses in-memory state. To force a reload, restart the device or extend logic (future enhancement).
4646

4747
### Simpl Bridging
48-
Any exsisting value can be bridged to simpl windows using a standard EiscBridgeAdvanced and a custom join map. When bridging you must define a custom joinMap as well as the key to the joinMap in the bridge. values are automaticcly types based on their entry in the config. booleans come out as digitals, integers come out as analogs and strings come out as serials. You can dig down into a Json object using stnadard dot syntax (see example "Dict.label01"). You can also bridge to an oblect and it will propegrate the whole object as a Serial join on the bridge (see example "Dict").
48+
Any existing value can be bridged to simpl windows using a standard EiscBridgeAdvanced and a custom join map. When bridging you must define a custom joinMap as well as the key to the joinMap in the bridge. values are automatically typed based on their entry in the config. booleans come out as digitals, integers come out as analogs and strings come out as serials. You can dig down into a Json object using standard dot syntax (see example "Dict.label01"). You can also bridge to an object and it will propagate the whole object as a Serial join on the bridge (see example "Dict").
4949

5050
### Console Command
5151
All values can also be set and retrived using the console command "customvalues [path] ([value])".

src/CustomValuesConfigObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class CustomValuesConfigObject
3838
public bool LegacyDigitalJoinBehavior { get; set; }
3939

4040
/// <summary>
41-
/// When true, bridge-originated value changes while EnableSaving is LOW will update in-memory JSON (but still not persist to file). Default TRUE now (legacy compatibility) — previously default was false. When false, changes while disabled are ignored.
41+
/// When true, bridge-originated value changes while EnableSaving is LOW will update in-memory JSON (but still not persist to file). Default TRUE now (legacy compatibility). When false, changes while disabled are ignored.
4242
/// Optional in config; missing property will assume TRUE for backward compatibility with older deployments that expect legacy behavior of tracking updates in memory even while saving is disabled.
4343
/// </summary>
4444
[JsonProperty("trackChangesWhileSavingDisabled", DefaultValueHandling = DefaultValueHandling.Populate)]

src/CustomValuesController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class CustomValuesController : ReconfigurableDevice, IBridgeAdvanced
4444
private BasicTriList _trilist; // saved for control output updates
4545

4646
// Feedback objects for control outputs
47-
private BoolFeedback _savingReadyFeedback; // join 3
47+
private BoolFeedback _savingReadyFeedback; // join 2
4848

4949
/// <summary>
5050
/// Constructs the controller, loading initial data either from a file (when a filePath

src/CustomValuesLogicDevice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public override bool CustomActivate()
101101

102102
if (File.Exists(Global.FilePathPrefix + Properties.FilePath))
103103
{
104-
Debug.LogVerbose(this, "Reading exsisting file");
104+
Debug.LogVerbose(this, "Reading existing file");
105105
FileData = JObject.Parse(FileIO.ReadDataFromFile(Properties.FilePath));
106106
}
107107
else

0 commit comments

Comments
 (0)