Пример #1
0
 public void SendMsg(DrawingMessage msg, bool inWorkpiece, int patternNo, int[] cmdLineNo)
 {
     switch (msg)
     {
     case DrawingMessage.点击了一个绘图命令:
         for (int i = 0; i < this.receivers.Count; i++)
         {
             this.receivers[i].ClickCmdLine(inWorkpiece, patternNo, cmdLineNo);
         }
         break;
     }
 }
Пример #2
0
 public void SendMsg(DrawingMessage msg)
 {
     switch (msg)
     {
     case DrawingMessage.进入了Workpiece界面:
         for (int i = 0; i < this.receivers.Count; i++)
         {
             this.receivers[i].EnterWorkpiece();
         }
         break;
     }
 }
Пример #3
0
 public void SendMsg(DrawingMessage msg, int patternNo)
 {
     switch (msg)
     {
     case DrawingMessage.进入了Pattern界面:
         for (int i = 0; i < this.receivers.Count; i++)
         {
             this.receivers[i].EnterPattern(patternNo);
         }
         break;
     }
 }
Пример #4
0
 public void SendMsg(DrawingMessage msg, FluidProgram fluidProgram)
 {
     switch (msg)
     {
     case DrawingMessage.需要更新绘图程序:
         for (int i = 0; i < this.receivers.Count; i++)
         {
             this.receivers[i].Update(fluidProgram);
         }
         break;
     }
 }