# ascii dump of database # Datapoint/DpId DpName TypeName ID fwOT_trd_fedServerTrd _FwFsmObjectType 902006 # DpValue ElementName TypeName _original.._value _original.._status _original.._stime fwOT_trd_fedServerTrd.panel _FwFsmObjectType "trd_fedServer|trd_FED/trd_fedServer.pnl" 0x101 22.05.2007 17:15:31.218 fwOT_trd_fedServerTrd.components _FwFsmObjectType "int Fsm.State ", "int Fsm.Action ", "trd_fedServerTrd_initialize(string domain, string device) { } ", "trd_fedServerTrd_valueChanged( string domain, string device, int Fsm_dot_State, string &fwState ) { if (Fsm_dot_State == 4) { fwState = \"OFF\"; } else if (Fsm_dot_State == 5) { fwState = \"STANDBY\"; } else if (Fsm_dot_State == 42) { fwState = \"INITIALIZING\"; } else if (Fsm_dot_State == 43) { fwState = \"STBY_INITIALIZED\"; } else if (Fsm_dot_State == 45) { fwState = \"TESTING\"; } else if (Fsm_dot_State == 44) { fwState = \"CONFIGURING\"; } else if (Fsm_dot_State == 3) { fwState = \"CONFIGURED\"; } else if (Fsm_dot_State == 6) { fwState = \"READY\"; } else if (Fsm_dot_State == 13) { fwState = \"ERROR\"; } else if (Fsm_dot_State == 2) { fwState = \"NO_CONTROL\"; } } ", "trd_fedServerTrd_doCommand(string domain, string device, string command) { string target; if (command == \"GO_STANDBY\") { dpSet(device+\".Fsm.Action\",100); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",100); } if (command == \"GO_OFF\") { dpSet(device+\".Fsm.Action\",150); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",150); } if (command == \"INITIALIZE\") { anytype valueOf_init_tag; fwDU_getCommandParameter(domain, device, \"init_tag\", valueOf_init_tag); dpSet(device+\".Fsm.Action\",valueOf_init_tag); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",valueOf_init_tag); } if (command == \"TEST\") { anytype valueOf_test_tag; fwDU_getCommandParameter(domain, device, \"test_tag\", valueOf_test_tag); dpSet(device+\".Fsm.Action\",valueOf_test_tag); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",valueOf_test_tag); } if (command == \"CONFIGURE\") { anytype valueOf_conf_tag; fwDU_getCommandParameter(domain, device, \"conf_tag\", valueOf_conf_tag); dpSet(device+\".Fsm.Action\",valueOf_conf_tag); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",valueOf_conf_tag); } if (command == \"GO_READY\") { dpSet(device+\".Fsm.Action\",500); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",500); } if (command == \"GO_CONFIGURED\") { dpSet(device+\".Fsm.Action\",350); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",350); } if (command == \"RECOVER\") { dpSet(device+\".Fsm.Action\",600); dpGet(device+\".Description\", target); dpSet(\"Trd.ConfigureFero.Target\", target,\"Trd.ConfigureFero.CommandId\",600); } } " 0x101 22.05.2007 17:15:31.515 fwOT_trd_fedServerTrd.states _FwFsmObjectType "OFF", "FwDead", "", "", "", "STANDBY", "FwStateOKNotPhysics", "", "", "", "INITIALIZING", "FwStateAttention1", "", "", "", "STBY_INITIALIZED", "FwStateOKNotPhysics", "", "", "", "TESTING", "FwStateAttention1", "", "", "", "CONFIGURING", "FwStateAttention1", "", "", "", "CONFIGURED", "FwStateOKNotPhysics", "", "", "", "READY", "FwStateOKPhysics", "", "", "", "ERROR", "FwStateAttention3", "", "", "", "NO_CONTROL", "FwStateAttention2", "", "", "" 0x101 22.05.2007 17:15:31.500 fwOT_trd_fedServerTrd.actions _FwFsmObjectType "OFF/GO_STANDBY", "", "1", "", "0", "STANDBY/GO_OFF", "", "1", "", "0", "STANDBY/INITIALIZE", "int init_tag = 5 ", "1", "", "0", "STBY_INITIALIZED/GO_STANDBY", "", "1", "", "0", "STBY_INITIALIZED/TEST", "int test_tag = 10 ", "1", "", "0", "STBY_INITIALIZED/CONFIGURE", "int conf_tag = 15 ", "1", "", "0", "CONFIGURED/INITIALIZE", "int init_tag = 20 ", "1", "", "0", "CONFIGURED/GO_READY", "", "1", "", "0", "READY/GO_CONFIGURED", "", "1", "", "0", "ERROR/RECOVER", "", "1", "", "0" 0x101 22.05.2007 17:15:31.500 fwOT_trd_fedServerTrd.parameters _FwFsmObjectType 0x101 22.05.2007 17:15:12.421