示例#1
0
 public static void port_release(Locator loc, Object p, Action out_binding)
 {
     if (out_binding != null)
     {
         out_binding();
     }
     out_binding = null;
     loc.get <pump>().release(p);
 }
示例#2
0
 public ComponentBase(Locator locator, String name, Meta parent)
 {
     this.dzn_locator = locator; this.dzn_meta = new Meta(name, parent);
     this.dzn_runtime = locator.get <Runtime>();
 }
示例#3
0
 public static void port_block(Locator loc, Object p)
 {
     loc.get <pump>().block(p);
 }