public MockOmniLinkII() { Controller = new clsHAC { Model = enuModel.OMNI_PRO_II, TempFormat = enuTempFormat.Fahrenheit }; }
public OmniLinkII(string address, int port, string key1, string key2) { Controller = new clsHAC(); Controller.Connection.NetworkAddress = address; Controller.Connection.NetworkPort = (ushort)port; Controller.Connection.ControllerKey = clsUtil.HexString2ByteArray(String.Concat(key1, key2)); Controller.PreferredNetworkProtocol = clsHAC.enuPreferredNetworkProtocol.TCP; Controller.Connection.ConnectionType = enuOmniLinkConnectionType.Network_TCP; tstat_timer.Elapsed += tstat_timer_Elapsed; tstat_timer.AutoReset = false; }
public MqttService(clsHAC hac) { HAC2 = hac; }
public MockOmniLinkII() { Controller = new clsHAC(); Controller.Model = enuModel.OMNI_PRO_II; Controller.TempFormat = enuTempFormat.Fahrenheit; }
public WebService(clsHAC hac) { HAC = hac; }