Beispiel #1
0
 // Constructor to build a new XcoQueue in local space.
 public SQueue(XcoSpace space, string name)
 {
     this.space = space;
     this.queue = new XcoQueue <T>(1000);
     this.count = new XcoQueue <int>(1000);
     this.space.Add(this.queue, name);
     this.space.Add(this.count, name + "Notify");
 }
Beispiel #2
0
Datei: Form1.cs Projekt: eier/sbc
 private void nesterCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " zusammengestellt" + Environment.NewLine); }));
 }
Beispiel #3
0
Datei: Form1.cs Projekt: eier/sbc
 private void bemalteEierNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label2.Text = (System.Convert.ToInt32(label2.Text) + entry).ToString(); }));
 }
Beispiel #4
0
Datei: Form1.cs Projekt: eier/sbc
 private void bemalteEierCB(XcoQueue<Ei> source, Ei entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " bemalt" + Environment.NewLine); }));
 }
Beispiel #5
0
Datei: Form1.cs Projekt: eier/sbc
 private void ausgeliefertNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label5.Text = (System.Convert.ToInt32(label5.Text) + entry).ToString(); }));
 }
Beispiel #6
0
Datei: Form1.cs Projekt: eier/sbc
 private void ausgeliefertCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " ausgeliefert" + Environment.NewLine); }));
 }
Beispiel #7
0
Datei: Form1.cs Projekt: eier/sbc
 private void schokoHasenNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label3.Text = (System.Convert.ToInt32(label3.Text) + entry).ToString(); }));
 }
Beispiel #8
0
Datei: Form1.cs Projekt: eier/sbc
 private void schokoHasenCB(XcoQueue<SchokoHase> source, SchokoHase entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " produziert" + Environment.NewLine); }));
 }
Beispiel #9
0
Datei: Form1.cs Projekt: eier/sbc
 private void ausgeliefertCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " ausgeliefert" + Environment.NewLine); }));
 }
Beispiel #10
0
Datei: Form1.cs Projekt: eier/sbc
 private void nesterNotifyCB(XcoQueue<int> source, int entry)
 {
     this.Invoke(new Action(() => { label4.Text = (System.Convert.ToInt32(label4.Text) + entry).ToString(); }));
 }
Beispiel #11
0
Datei: Form1.cs Projekt: eier/sbc
 private void nesterCB(XcoQueue<Nest> source, Nest entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " zusammengestellt" + Environment.NewLine); }));
 }
Beispiel #12
0
Datei: Form1.cs Projekt: eier/sbc
 private void schokoHasenCB(XcoQueue<SchokoHase> source, SchokoHase entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " produziert" + Environment.NewLine); }));
 }
Beispiel #13
0
Datei: Form1.cs Projekt: eier/sbc
 private void bemalteEierCB(XcoQueue<Ei> source, Ei entry)
 {
     this.Invoke(new Action(() => { textBox3.AppendText(entry.ToString() + " bemalt" + Environment.NewLine); }));
 }
Beispiel #14
0
 // Constructor using container discovery.
 public SQueue(XcoSpace space, string name, Uri remote_space_uri)
 {
     this.space = space;
     this.queue = space.Get <XcoQueue <T> >(name, remote_space_uri);
     this.count = space.Get <XcoQueue <int> >(name + "Notify", remote_space_uri);
 }