private ServiceResult OnUpdateDiagnostics( ISystemContext context, NodeState node, ref object value) { lock (m_diagnostics) { value = Utils.Clone(m_diagnostics); } return ServiceResult.Good; }