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");
 }
Esempio n. 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);
 }
 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);
 }
Esempio n. 4
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);
 }
Esempio n. 5
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);
       }
 }
Esempio n. 7
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);
 }