Exemplo n.º 1
0
        public FBoxUtility(FBoxType fBoxType, string connectionString, IEnumerable<CommunicationUnit> communicationUnits, SignalRSigninMsg msg)
        {
            ConnectionString = connectionString;
            CommunicationUnits = communicationUnits.AsEnumerable();
            SigninMsg = msg;

            ConnectionType = fBoxType;           
            AddressTranslator = new AddressTranslatorFBox();
        }
Exemplo n.º 2
0
 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);      
 }
Exemplo n.º 3
0
 public override void SetConnectionType(int connectionType)
 {
     ConnectionType = (FBoxType) connectionType;
 }