public virtual void passivate(MundoCore.Runtime.TypedMap m)
 {
     m.SetActiveClassName("org.letras.psi.semantic.HandwritingRecognitionResult");
       m.PutString("topResult", this.topResult);
       m.PutPassivated("traceGUID", this.traceGUID);
       m.PutString("penId", this.penId);
       m.PutPassivated("alternateResults", this.alternateResults);
 }
Exemple #2
0
 public virtual void passivate(MundoCore.Runtime.TypedMap m)
 {
     m.SetActiveClassName("org.letras.psi.iregion.RegionEvent");
       m.PutInt("type", this.type);
       m.PutPassivated("guid", this.guid);
       m.PutString("penID", this.penID);
 }
Exemple #3
0
 public virtual void passivate(MundoCore.Runtime.TypedMap m)
 {
     m.SetActiveClassName("org.letras.psi.iregion.RegionSample");
       m.PutDouble("pscX", this.pscX);
       m.PutInt("force", this.force);
       m.PutDouble("pscY", this.pscY);
       m.PutDouble("x", this.x);
       m.PutDouble("y", this.y);
       m.PutString("penID", this.penID);
       m.PutLong("timestamp", 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);
       }
 }