public FBoxUtility(FBoxType fBoxType, string connectionString, IEnumerable<CommunicationUnit> communicationUnits, SignalRSigninMsg msg) { ConnectionString = connectionString; CommunicationUnits = communicationUnits.AsEnumerable(); SigninMsg = msg; ConnectionType = fBoxType; AddressTranslator = new AddressTranslatorFBox(); }
public FBoxMachine(FBoxType fBoxType, string connectionString, SignalRSigninMsg msg, IEnumerable<AddressUnit> getAddresses, bool keepConnect) : base(getAddresses, keepConnect) { AddressFormater = new AddressFormaterFBox(); AddressCombiner = new AddressCombinerFBox(); BaseUtility = new FBoxUtility(fBoxType, connectionString, CommunicateAddresses, msg); }
public override void SetConnectionType(int connectionType) { ConnectionType = (FBoxType) connectionType; }