Modelerデータ加工Tips#01 出題用サンプルコード
python
stream = modeler.script.stream()
node1 = stream.create("userinput", "Money")
node1.setXYPosition(100,100)
node1.setPropertyValue("names", ["money"])
node1.setKeyedPropertyValue("data", "money", "'1,458,200''778,800'")
node1.setKeyedPropertyValue("custom_storage", "money", "String")
node2 = stream.create("userinput", "Log")
node2.setXYPosition(100,300)
node2.setPropertyValue("names", ["Log"])
node2.setKeyedPropertyValue("data", "Log", "'931 INFO [LmtpServer-99] ;mid=149083; mailop - Adding Message: id=191'")
node2.setKeyedPropertyValue("custom_storage", "Log", "String")
出題は以下