Skip to content

Commit

Permalink
Update with dnp3/opendnp3#403
Browse files Browse the repository at this point in the history
  • Loading branch information
emgre committed Oct 16, 2020
1 parent 25e67dc commit b22c1ac
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class CustomOutstationApplication(val isLocalControl: Boolean) extends Outstatio

override def warmRestart(): Int = 65535

override def onConfirmProcessed(isUnsolicited: Boolean, numClass1: Long, numClass2: Long, numClass3: Long): Unit = {}

override def now(): DNPTime = {
val time = this.lastTimestamp.plus(Duration.between(this.lastUpdate, Instant.now))
val quality = if (isTimeValid) TimestampQuality.SYNCHRONIZED else TimestampQuality.UNSYNCHRONIZED
Expand Down

0 comments on commit b22c1ac

Please sign in to comment.