public virtual void activate(MundoCore.Runtime.TypedMap m)
 {
     m.GetString("topResult", out this.topResult);
       this.traceGUID=(org.mundo.rt.TypedArray)m.GetActivated("traceGUID");
       m.GetString("penId", out this.penId);
       this.alternateResults=(org.mundo.rt.TypedArray)m.GetActivated("alternateResults");
 }
Ejemplo n.º 2
0
 public virtual void activate(MundoCore.Runtime.TypedMap m)
 {
     m.GetDouble("pscX", out this.pscX);
       m.GetInt("force", out this.force);
       m.GetDouble("pscY", out this.pscY);
       m.GetDouble("x", out this.x);
       m.GetDouble("y", out this.y);
       m.GetString("penID", out this.penID);
       m.GetLong("timestamp", out this.timestamp);
 }
 public override void Invoke(Object o, MundoCore.Runtime.TypedMap m, MundoCore.Runtime.TypedMap r)
 {
     string n = m.GetString("request");
       string t = m.GetString("ptypes");
       IHandwritingRecognitionService p=(IHandwritingRecognitionService)o;
       try
       {
     if (n=="StartRecognitionFor" && t=="s")
     {
       p.StartRecognitionFor(m.GetString("p0"));
       return;
     }
     if (n=="StartRecognitionFor" && t=="s,i")
     {
       r.PutObject("value", p.StartRecognitionFor(m.GetString("p0"), m.GetInt("p1")));
       return;
     }
     if (n=="StopRecognitionFor" && t=="s")
     {
       p.StopRecognitionFor(m.GetString("p0"));
       return;
     }
     if (n=="_getMethods" && t=="")
     {
       r.PutString("value",
       "v StartRecognitionFor(s)\n"+
       "boolean StartRecognitionFor(s,i)\n"+
       "v StopRecognitionFor(s)\n"+
       "");
       return;
     }
       }
       catch(Exception x)
       {
     ExceptionOccured(x, o, n, m, s);
       }
 }
Ejemplo n.º 4
0
 public virtual void activate(MundoCore.Runtime.TypedMap m)
 {
     m.GetInt("type", out this.type);
       this.guid=(GUID)m.GetActivated("guid");
       m.GetString("penID", out this.penID);
 }