private updateStateRecord ( hardwareState changes ) : void | ||
changes | hardwareState | |
Résultat | void |
private void updateStateRecord(hardwareState changes)
{
foreach (KeyValuePair<string, double> pairs in changes.analogs)
{
stateRecord.analogs[pairs.Key] = changes.analogs[pairs.Key];
}
foreach (KeyValuePair<string, bool> pairs in changes.digitals)
{
stateRecord.digitals[pairs.Key] = changes.digitals[pairs.Key];
}
}