コード例 #1
0
ファイル: SensorReadout.cs プロジェクト: danfma/db4o-net
 public void Append(SensorReadout readout)
 {
     Activate(ActivationPurpose.Write);
     if (_next == null)
     {
         _next = readout;
     }
     else
     {
         _next.Append(readout);
     }
 }
コード例 #2
0
 private void AppendToHistory(SensorReadout readout)
 {
     Activate(ActivationPurpose.Write);
     if (_history == null)
     {
         _history = readout;
     }
     else
     {
         _history.Append(readout);
     }
 }