public BlinkyLinkySetup(BlinkyLinkyData data)
 {
     InitializeComponent();
     Address = data.Address;
     Port    = data.Port;
     Stream  = data.Stream;
 }
 public BlinkyLinkySetup(BlinkyLinkyData data)
 {
     InitializeComponent();
     Address = data.Address;
     Port = data.Port;
     Stream = data.Stream;
 }
示例#3
0
 public BlinkyLinky()
 {
     _lastValues       = new Dictionary <int, byte>();
     _nullCommands     = new Dictionary <int, int>();
     _data             = new BlinkyLinkyData();
     _timeoutStopwatch = new Stopwatch();
     DataPolicyFactory = new DataPolicyFactory();
 }
示例#4
0
 public BlinkyLinky()
 {
     _lastValues = new Dictionary<int, byte>();
     _nullCommands = new Dictionary<int, int>();
     _data = new BlinkyLinkyData();
     _timeoutStopwatch = new Stopwatch();
     DataPolicyFactory = new DataPolicyFactory();
 }
示例#5
0
		public override IModuleDataModel Clone()
		{
			BlinkyLinkyData result = new BlinkyLinkyData();
			result.Address = new IPAddress(Address.GetAddressBytes());
			result.Port = Port;
			result.Stream = Stream;
			return result;
		}
示例#6
0
 public BlinkyLinky()
 {
     Logging.Trace("Constructor()");
     _lastValues = new Dictionary<int, byte>();
     _nullCommands = new Dictionary<int, int>();
     _data = new BlinkyLinkyData();
     _timeoutStopwatch = new Stopwatch();
     DataPolicyFactory = new DataPolicyFactory();
 }
示例#7
0
 public BlinkyLinky()
 {
     Logging.Trace("Constructor()");
     _lastValues       = new Dictionary <int, byte>();
     _nullCommands     = new Dictionary <int, int>();
     _data             = new BlinkyLinkyData();
     _timeoutStopwatch = new Stopwatch();
     DataPolicyFactory = new DataPolicyFactory();
 }
示例#8
0
        public override IModuleDataModel Clone()
        {
            BlinkyLinkyData result = new BlinkyLinkyData();

            result.Address = new IPAddress(Address.GetAddressBytes());
            result.Port    = Port;
            result.Stream  = Stream;
            return(result);
        }
示例#9
0
 public BlinkyLinkySetup(BlinkyLinkyData data)
 {
     InitializeComponent();
     ForeColor = ThemeColorTable.ForeColor;
     BackColor = ThemeColorTable.BackgroundColor;
     ThemeUpdateControls.UpdateControls(this);
     Address = data.Address;
     Port    = data.Port;
     Stream  = data.Stream;
 }
示例#10
0
 public BlinkyLinkySetup(BlinkyLinkyData data)
 {
     InitializeComponent();
     ForeColor = ThemeColorTable.ForeColor;
     BackColor = ThemeColorTable.BackgroundColor;
     ThemeUpdateControls.UpdateControls(this);
     Address = data.Address;
     Port = data.Port;
     Stream = data.Stream;
 }