[Erp5-report] r36845 kazuhiko - in /erp5/trunk/bt5/erp5_simulation: PortalTypeTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jul 5 10:27:05 CEST 2010


Author: kazuhiko
Date: Mon Jul  5 10:27:01 2010
New Revision: 36845

URL: http://svn.erp5.org?rev=36845&view=rev
Log:
update sample configuration for Unify Solver.

Added:
    erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getConfigurationPropertyListDict.xml
Removed:
    erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getDefaultConfigurationPropertyListDict.xml
Modified:
    erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Unify%20Solver.xml
    erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_tested_property_list.xml
    erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_value.xml
    erp5/trunk/bt5/erp5_simulation/bt/revision

Modified: erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Unify%20Solver.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Unify%2520Solver.xml?rev=36845&r1=36844&r2=36845&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Unify%20Solver.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Unify%20Solver.xml [utf8] Mon Jul  5 10:27:01 2010
@@ -33,6 +33,10 @@
             <value> <int>1</int> </value>
         </item>
         <item>
+            <key> <string>automatic_solver</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
             <key> <string>categories</string> </key>
             <value>
               <tuple/>
@@ -43,12 +47,24 @@
             <value> <string>UnifySolver_viewConfigurationFormBox</string> </value>
         </item>
         <item>
+            <key> <string>configuration_groupable</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
             <key> <string>configuration_property_list</string> </key>
             <value>
               <tuple/>
             </value>
         </item>
         <item>
+            <key> <string>configuration_property_list_dict_method_id</string> </key>
+            <value> <string>UnifySolver_getConfigurationPropertyListDict</string> </value>
+        </item>
+        <item>
+            <key> <string>default_configuration_property_dict_method_id</string> </key>
+            <value> <string>UnifySolver_getDefaultConfigurationPropertyDict</string> </value>
+        </item>
+        <item>
             <key> <string>delivery_solver</string> </key>
             <value>
               <tuple/>
@@ -99,6 +115,10 @@
             <value> <string>Solver Type</string> </value>
         </item>
         <item>
+            <key> <string>process_exclusive</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
             <key> <string>solver_action_title</string> </key>
             <value> <string>Unify value</string> </value>
         </item>

Added: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getConfigurationPropertyListDict.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getConfigurationPropertyListDict.xml?rev=36845&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getConfigurationPropertyListDict.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getConfigurationPropertyListDict.xml [utf8] Mon Jul  5 10:27:01 2010
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>"""\n
+This script returns a dictionary of possible values for Unify Solver.\n
+"""\n
+solver_decision = context.getCausalityValue()\n
+tester = solver_decision.getCausalityValue()\n
+value_list_dict = {}\n
+for property_id in tester.getTestedPropertyList():\n
+  value_list = []\n
+  for simulation_movement in context.getDeliveryValueList():\n
+    movement = simulation_movement.getDeliveryValue()\n
+    value = movement.getProperty(property_id)\n
+    if value not in value_list:\n
+      value_list.append(value)\n
+    simulation_movement_list = movement.getDeliveryRelatedValueList()\n
+    value = simulation_movement.getProperty(property_id)\n
+    if value not in value_list:\n
+      value_list.append(value)\n
+  value_list_dict[property_id] = [(x, str(x)) for x in value_list]\n
+return value_list_dict\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>solver_decision</string>
+                            <string>tester</string>
+                            <string>value_list_dict</string>
+                            <string>_getiter_</string>
+                            <string>property_id</string>
+                            <string>value_list</string>
+                            <string>simulation_movement</string>
+                            <string>movement</string>
+                            <string>value</string>
+                            <string>simulation_movement_list</string>
+                            <string>append</string>
+                            <string>$append0</string>
+                            <string>x</string>
+                            <string>str</string>
+                            <string>_write_</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>UnifySolver_getConfigurationPropertyListDict</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Removed: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getDefaultConfigurationPropertyListDict.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getDefaultConfigurationPropertyListDict.xml?rev=36844&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getDefaultConfigurationPropertyListDict.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_getDefaultConfigurationPropertyListDict.xml (removed)
@@ -1,155 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-This script returns a dictionary of possible values for Unify Solver.\n
-"""\n
-solver_decision = context.getCausalityValue()\n
-tester = solver_decision.getCausalityValue()\n
-value_list_dict = {}\n
-for property_id in tester.getTestedPropertyList():\n
-  value_list = []\n
-  for simulation_movement in context.getDeliveryValueList():\n
-    movement = simulation_movement.getDeliveryValue()\n
-    value = movement.getProperty(property_id)\n
-    if value not in value_list:\n
-      value_list.append(value)\n
-    simulation_movement_list = movement.getDeliveryRelatedValueList()\n
-    value = simulation_movement.getProperty(property_id)\n
-    if value not in value_list:\n
-      value_list.append(value)\n
-  value_list_dict[property_id] = [(x, str(x)) for x in value_list]\n
-return value_list_dict\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>solver_decision</string>
-                            <string>tester</string>
-                            <string>value_list_dict</string>
-                            <string>_getiter_</string>
-                            <string>property_id</string>
-                            <string>value_list</string>
-                            <string>simulation_movement</string>
-                            <string>movement</string>
-                            <string>value</string>
-                            <string>simulation_movement_list</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>x</string>
-                            <string>str</string>
-                            <string>_write_</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>UnifySolver_getDefaultConfigurationPropertyListDict</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Modified: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_tested_property_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_tested_property_list.xml?rev=36845&r1=36844&r2=36845&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_tested_property_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_tested_property_list.xml [utf8] Mon Jul  5 10:27:01 2010
@@ -173,7 +173,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:cell.getDefaultConfigurationPropertyListDict().keys()[0:1]</string> </value>
+            <value> <string>python:cell.getConfigurationPropertyListDict().keys()[0:1]</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_value.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_value.xml?rev=36845&r1=36844&r2=36845&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_value.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/UnifySolver_viewConfigurationFormBox/my_value.xml [utf8] Mon Jul  5 10:27:01 2010
@@ -139,7 +139,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:cell.getDefaultConfigurationPropertyListDict().values()[0]</string> </value>
+            <value> <string>python:cell.getConfigurationPropertyListDict().values()[0]</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_simulation/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/bt/revision?rev=36845&r1=36844&r2=36845&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/bt/revision [utf8] Mon Jul  5 10:27:01 2010
@@ -1 +1 @@
-124
\ No newline at end of file
+125
\ No newline at end of file




More information about the Erp5-report mailing list