/* * Decompiled with CFR 0.152. * * Could not load the following classes: * javax.baja.sys.Sys * javax.baja.sys.Type */ package com.tridium.platform; import com.tridium.platform.BSystemPlatformService; import com.tridium.platform.tcpip.PlatformTcpIpManager; import com.tridium.platform.time.PlatformTimeManager; import javax.baja.platform.LocalPlatform; import javax.baja.platform.tcpip.TcpIpManager; import javax.baja.platform.time.TimeManager; import javax.baja.sys.Sys; import javax.baja.sys.Type; public class NiagaraLocalPlatform extends LocalPlatform { private PlatformTimeManager timeMgr = PlatformTimeManager.make(); private PlatformTcpIpManager tcpipMgr = PlatformTcpIpManager.make(); public static LocalPlatform make() { return new NiagaraLocalPlatform(); } public TcpIpManager getTcpIpManager() { return this.tcpipMgr; } public TimeManager getTimeManager() { return this.timeMgr; } public void restartNiagaraEnvironment() { ((BSystemPlatformService)Sys.getService((Type)BSystemPlatformService.TYPE)).restartStation(); } private NiagaraLocalPlatform() { } }