diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2a814438f..06ed4f931 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,27 +5,1029 @@
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -100,7 +1102,7 @@
-
+
@@ -154,7 +1156,7 @@
file://$PROJECT_DIR$/iSolarCloud/api/struct_endpoint.go
- 119
+ 124
@@ -199,7 +1201,7 @@
file://$PROJECT_DIR$/iSolarCloud/api/struct_endpoint.go
- 108
+ 109
@@ -324,7 +1326,7 @@
file://$PROJECT_DIR$/iSolarCloud/api/struct_areas.go
- 193
+ 224
@@ -332,11 +1334,6 @@
465
-
- file://$PROJECT_DIR$/iSolarCloud/struct.go
- 117
-
-
file://$PROJECT_DIR$/cmd/cmd_mqtt.go
355
@@ -352,16 +1349,6 @@
103
-
- file://$PROJECT_DIR$/iSolarCloud/data.go
- 828
-
-
-
- file://$PROJECT_DIR$/iSolarCloud/data.go
- 834
-
-
file://$PROJECT_DIR$/iSolarCloud/AppService/psForcastInfo/data.go
79
@@ -394,7 +1381,7 @@
file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 317
+ 290
@@ -417,14 +1404,9 @@
180
-
- file://$PROJECT_DIR$/iSolarCloud/AppService/getPsList/data.go
- 172
-
-
file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 134
+ 131
@@ -469,22 +1451,17 @@
file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 48
-
-
-
- file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 228
+ 225
file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 403
+ 429
file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 468
+ 494
@@ -494,24 +1471,69 @@
file://$PROJECT_DIR$/iSolarCloud/api/struct_data.go
- 128
+ 125
file://$PROJECT_DIR$/iSolarCloud/api/apiReflect/reflect.go
- 868
-
-
-
- file://$PROJECT_DIR$/iSolarCloud/api/apiReflect/reflect.go
- 772
+ 584
file://$PROJECT_DIR$/iSolarCloud/api/apiReflect/reflect.go
- 791
+ 603
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 50
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 26
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 274
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/AppService/getPsList/struct.go
+ 287
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 51
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 75
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 101
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 52
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 133
+
+
+
+ file://$PROJECT_DIR$/iSolarCloud/data.go
+ 130
+
+
@@ -526,11 +1548,12 @@
+
-
-
+
+
diff --git a/cmd/cmd_data.go b/cmd/cmd_data.go
index 65058f411..70bfa28f2 100644
--- a/cmd/cmd_data.go
+++ b/cmd/cmd_data.go
@@ -66,7 +66,7 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
// ********************************************************************************
var cmdDataGet = &cobra.Command{
- Use: "get",
+ Use: "get < [area.] | >",
Aliases: []string{output.StringTypeTable},
Annotations: map[string]string{"group": "Data"},
Short: fmt.Sprintf("Get high-level data from iSolarCloud (table)"),
@@ -88,11 +88,11 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
Args: cobra.MinimumNArgs(0),
}
c.SelfCmd.AddCommand(cmdDataGet)
- cmdDataGet.Example = cmdHelp.PrintExamples(cmdDataGet, "[area.]")
+ cmdDataGet.Example = cmdHelp.PrintExamples(cmdDataGet, "queryDeviceList", "WebAppService.showPSView", "stats")
// ********************************************************************************
var cmdDataRaw = &cobra.Command{
- Use: output.StringTypeRaw,
+ Use: output.StringTypeRaw + " < [area.] | >",
Aliases: []string{},
Annotations: map[string]string{"group": "Data"},
Short: fmt.Sprintf("Get high-level data from iSolarCloud (raw)"),
@@ -118,7 +118,7 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
// ********************************************************************************
var cmdDataJson = &cobra.Command{
- Use: output.StringTypeJson,
+ Use: output.StringTypeJson + " < [area.] | >",
Aliases: []string{},
Annotations: map[string]string{"group": "Data"},
Short: fmt.Sprintf("Get high-level data from iSolarCloud (json)"),
@@ -140,11 +140,11 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
Args: cobra.MinimumNArgs(0),
}
c.SelfCmd.AddCommand(cmdDataJson)
- cmdDataJson.Example = cmdHelp.PrintExamples(cmdDataJson, "[area.]")
+ cmdDataJson.Example = cmdHelp.PrintExamples(cmdDataJson, "queryDeviceList", "WebAppService.showPSView", "stats")
// ********************************************************************************
var cmdDataCsv = &cobra.Command{
- Use: output.StringTypeCsv,
+ Use: output.StringTypeCsv + " < [area.] | >",
Aliases: []string{},
Annotations: map[string]string{"group": "Data"},
Short: fmt.Sprintf("Get high-level data from iSolarCloud (json)"),
@@ -166,11 +166,11 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
Args: cobra.MinimumNArgs(0),
}
c.SelfCmd.AddCommand(cmdDataCsv)
- cmdDataCsv.Example = cmdHelp.PrintExamples(cmdDataCsv, "[area.]")
+ cmdDataCsv.Example = cmdHelp.PrintExamples(cmdDataCsv, "queryDeviceList", "WebAppService.showPSView", "stats")
// ********************************************************************************
var cmdDataGraph = &cobra.Command{
- Use: output.StringTypeGraph,
+ Use: output.StringTypeGraph + " < [area.] | >",
Aliases: []string{},
Annotations: map[string]string{"group": "Data"},
Short: fmt.Sprintf("Get high-level data from iSolarCloud (graph)"),
@@ -192,7 +192,7 @@ func (c *CmdData) AttachCommand(cmd *cobra.Command) *cobra.Command {
Args: cobra.MinimumNArgs(0),
}
c.SelfCmd.AddCommand(cmdDataGraph)
- cmdDataGraph.Example = cmdHelp.PrintExamples(cmdDataGraph, "[area.] ''")
+ cmdDataGraph.Example = cmdHelp.PrintExamples(cmdDataGraph, "queryDeviceList", "WebAppService.showPSView", "stats")
}
return c.SelfCmd
}
@@ -212,11 +212,18 @@ func SplitArg(arg string) []string {
return ret
}
+const (
+ argEndpoints = 0
+ argPsIds = 1
+ argDate = 2
+ argReportType = 3
+ argFaultTypeCode = 4
+)
func (c *CmdData) GetEndpoints(cmd *cobra.Command, args []string) error {
// endpoints string, psIds string, date string
for range Only.Once {
cmds.Api.SunGrow.SetOutputType(cmd.Use)
- args = cmdConfig.FillArray(4, args)
+ args = cmdConfig.FillArray(5, args)
for i := range args {
if args[i] == "." {
@@ -225,26 +232,31 @@ func (c *CmdData) GetEndpoints(cmd *cobra.Command, args []string) error {
}
var e []string
- if args[0] != "" {
- e = SplitArg(args[0])
+ if args[argEndpoints] != "" {
+ e = SplitArg(args[argEndpoints])
}
var p []valueTypes.Integer
- for _, psId := range SplitArg(args[1]) {
+ for _, psId := range SplitArg(args[argPsIds]) {
if psId == "" {
continue
}
p = append(p, valueTypes.SetIntegerString(psId))
}
- d := valueTypes.SetDateTimeString(args[2])
+ d := valueTypes.SetDateTimeString(args[argDate])
- rt := args[3]
+ rt := args[argReportType]
if rt == "" {
rt = "1"
}
- c.Error = cmds.Api.SunGrow.GetEndpoints(e, p, *d, rt)
+ ftc := args[argFaultTypeCode]
+ // if ftc == "" {
+ // ftc = "1"
+ // }
+
+ c.Error = cmds.Api.SunGrow.GetEndpoints(e, p, *d, rt, ftc)
}
return c.Error
diff --git a/cmd/cmd_mqtt.go b/cmd/cmd_mqtt.go
index d9a2c8a9f..f27c471e4 100644
--- a/cmd/cmd_mqtt.go
+++ b/cmd/cmd_mqtt.go
@@ -353,7 +353,7 @@ func (ca *Cmds) MqttCron() error {
}
for _, endpoint := range All {
- response := data.Get(endpoint, iSolarCloud.SunGrowDataRequest{ PsId: psId })
+ response := data.GetByApi(endpoint, iSolarCloud.SunGrowDataRequest{ PsId: psId })
ca.Error = ca.Update(endpoint, response.Data, newDay)
if ca.Error != nil {
break
diff --git a/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/struct.go b/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/struct.go
index 4ae5d0d26..00dacd604 100644
--- a/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/struct.go
+++ b/iSolarCloud/AliSmsService/msgDownwardStatusReceipt/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/acceptPsSharing/struct.go b/iSolarCloud/AppService/acceptPsSharing/struct.go
index 94674ebb4..b7724312b 100644
--- a/iSolarCloud/AppService/acceptPsSharing/struct.go
+++ b/iSolarCloud/AppService/acceptPsSharing/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/activateEmail/struct.go b/iSolarCloud/AppService/activateEmail/struct.go
index 907fb6375..f194bfd37 100644
--- a/iSolarCloud/AppService/activateEmail/struct.go
+++ b/iSolarCloud/AppService/activateEmail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addConfig/struct.go b/iSolarCloud/AppService/addConfig/struct.go
index 0e59e7e8a..d6e666ca8 100644
--- a/iSolarCloud/AppService/addConfig/struct.go
+++ b/iSolarCloud/AppService/addConfig/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addDeviceRepair/struct.go b/iSolarCloud/AppService/addDeviceRepair/struct.go
index a67745f1b..22844fde4 100644
--- a/iSolarCloud/AppService/addDeviceRepair/struct.go
+++ b/iSolarCloud/AppService/addDeviceRepair/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addDeviceToStructureForHousehold/struct.go b/iSolarCloud/AppService/addDeviceToStructureForHousehold/struct.go
index b49aebc22..271d2a259 100644
--- a/iSolarCloud/AppService/addDeviceToStructureForHousehold/struct.go
+++ b/iSolarCloud/AppService/addDeviceToStructureForHousehold/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go b/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go
index c93492623..9182933db 100644
--- a/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go
+++ b/iSolarCloud/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addFault/struct.go b/iSolarCloud/AppService/addFault/struct.go
index 99df0ce7b..fc5f608f3 100644
--- a/iSolarCloud/AppService/addFault/struct.go
+++ b/iSolarCloud/AppService/addFault/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addFaultOrder/struct.go b/iSolarCloud/AppService/addFaultOrder/struct.go
index ea840e1e7..354d93c5c 100644
--- a/iSolarCloud/AppService/addFaultOrder/struct.go
+++ b/iSolarCloud/AppService/addFaultOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addFaultPlan/struct.go b/iSolarCloud/AppService/addFaultPlan/struct.go
index 305aa3539..b8ae16d3e 100644
--- a/iSolarCloud/AppService/addFaultPlan/struct.go
+++ b/iSolarCloud/AppService/addFaultPlan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addFaultRepairSteps/struct.go b/iSolarCloud/AppService/addFaultRepairSteps/struct.go
index 8570460a4..52373d190 100644
--- a/iSolarCloud/AppService/addFaultRepairSteps/struct.go
+++ b/iSolarCloud/AppService/addFaultRepairSteps/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addHouseholdEvaluation/struct.go b/iSolarCloud/AppService/addHouseholdEvaluation/struct.go
index 01fc005bc..7e41422a4 100644
--- a/iSolarCloud/AppService/addHouseholdEvaluation/struct.go
+++ b/iSolarCloud/AppService/addHouseholdEvaluation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addHouseholdLeaveMessage/struct.go b/iSolarCloud/AppService/addHouseholdLeaveMessage/struct.go
index 526950355..8f096573d 100644
--- a/iSolarCloud/AppService/addHouseholdLeaveMessage/struct.go
+++ b/iSolarCloud/AppService/addHouseholdLeaveMessage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addHouseholdOpinionFeedback/struct.go b/iSolarCloud/AppService/addHouseholdOpinionFeedback/struct.go
index ec7e68498..3b0342a71 100644
--- a/iSolarCloud/AppService/addHouseholdOpinionFeedback/struct.go
+++ b/iSolarCloud/AppService/addHouseholdOpinionFeedback/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addHouseholdWorkOrder/struct.go b/iSolarCloud/AppService/addHouseholdWorkOrder/struct.go
index 46a82e910..618a9e095 100644
--- a/iSolarCloud/AppService/addHouseholdWorkOrder/struct.go
+++ b/iSolarCloud/AppService/addHouseholdWorkOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addOnDutyInfo/struct.go b/iSolarCloud/AppService/addOnDutyInfo/struct.go
index 5907dc386..d3217f83e 100644
--- a/iSolarCloud/AppService/addOnDutyInfo/struct.go
+++ b/iSolarCloud/AppService/addOnDutyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addOperRule/struct.go b/iSolarCloud/AppService/addOperRule/struct.go
index 356208709..cc615f887 100644
--- a/iSolarCloud/AppService/addOperRule/struct.go
+++ b/iSolarCloud/AppService/addOperRule/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addOrDelPsStructure/struct.go b/iSolarCloud/AppService/addOrDelPsStructure/struct.go
index 6a21b23fd..ff2d6d56b 100644
--- a/iSolarCloud/AppService/addOrDelPsStructure/struct.go
+++ b/iSolarCloud/AppService/addOrDelPsStructure/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addOrderStep/struct.go b/iSolarCloud/AppService/addOrderStep/struct.go
index 11ac81fb2..9844d73d7 100644
--- a/iSolarCloud/AppService/addOrderStep/struct.go
+++ b/iSolarCloud/AppService/addOrderStep/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addPowerStationForHousehold/struct.go b/iSolarCloud/AppService/addPowerStationForHousehold/struct.go
index 683adacf9..40c788008 100644
--- a/iSolarCloud/AppService/addPowerStationForHousehold/struct.go
+++ b/iSolarCloud/AppService/addPowerStationForHousehold/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addPowerStationInfo/struct.go b/iSolarCloud/AppService/addPowerStationInfo/struct.go
index 38068ebba..6c8a386b5 100644
--- a/iSolarCloud/AppService/addPowerStationInfo/struct.go
+++ b/iSolarCloud/AppService/addPowerStationInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addReportConfigEmail/struct.go b/iSolarCloud/AppService/addReportConfigEmail/struct.go
index cbef45665..93a58d1e6 100644
--- a/iSolarCloud/AppService/addReportConfigEmail/struct.go
+++ b/iSolarCloud/AppService/addReportConfigEmail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addSysAdvancedParam/struct.go b/iSolarCloud/AppService/addSysAdvancedParam/struct.go
index 418c934f5..f789dd67f 100644
--- a/iSolarCloud/AppService/addSysAdvancedParam/struct.go
+++ b/iSolarCloud/AppService/addSysAdvancedParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/addSysOrgNew/struct.go b/iSolarCloud/AppService/addSysOrgNew/struct.go
index dea479ea2..ad47c849c 100644
--- a/iSolarCloud/AppService/addSysOrgNew/struct.go
+++ b/iSolarCloud/AppService/addSysOrgNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/aliPayAppTest/struct.go b/iSolarCloud/AppService/aliPayAppTest/struct.go
index c6cd833a7..f549af74c 100644
--- a/iSolarCloud/AppService/aliPayAppTest/struct.go
+++ b/iSolarCloud/AppService/aliPayAppTest/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/auditOperRule/struct.go b/iSolarCloud/AppService/auditOperRule/struct.go
index 2d56c6874..cdcf9bb1d 100644
--- a/iSolarCloud/AppService/auditOperRule/struct.go
+++ b/iSolarCloud/AppService/auditOperRule/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchAddStationBySn/struct.go b/iSolarCloud/AppService/batchAddStationBySn/struct.go
index c05c5933d..ba9f48c51 100644
--- a/iSolarCloud/AppService/batchAddStationBySn/struct.go
+++ b/iSolarCloud/AppService/batchAddStationBySn/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchImportSN/struct.go b/iSolarCloud/AppService/batchImportSN/struct.go
index 75cf5d614..bf0989ec5 100644
--- a/iSolarCloud/AppService/batchImportSN/struct.go
+++ b/iSolarCloud/AppService/batchImportSN/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchInsertUserAndOrg/struct.go b/iSolarCloud/AppService/batchInsertUserAndOrg/struct.go
index d7afa1008..244373f0b 100644
--- a/iSolarCloud/AppService/batchInsertUserAndOrg/struct.go
+++ b/iSolarCloud/AppService/batchInsertUserAndOrg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/struct.go b/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/struct.go
index e914a7460..c8393acd1 100644
--- a/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/struct.go
+++ b/iSolarCloud/AppService/batchModifyDevicesInfoAndPropertis/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchProcessPlantReport/struct.go b/iSolarCloud/AppService/batchProcessPlantReport/struct.go
index 42e10f8db..04de1edf8 100644
--- a/iSolarCloud/AppService/batchProcessPlantReport/struct.go
+++ b/iSolarCloud/AppService/batchProcessPlantReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchUpdateDeviceSim/struct.go b/iSolarCloud/AppService/batchUpdateDeviceSim/struct.go
index 0119da197..2d0f42c73 100644
--- a/iSolarCloud/AppService/batchUpdateDeviceSim/struct.go
+++ b/iSolarCloud/AppService/batchUpdateDeviceSim/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/struct.go b/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/struct.go
index e3cccf123..00b746554 100644
--- a/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/struct.go
+++ b/iSolarCloud/AppService/batchUpdateUserIsAgreeGdpr/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/boundMobilePhone/struct.go b/iSolarCloud/AppService/boundMobilePhone/struct.go
index 39de2dca0..fd49efe70 100644
--- a/iSolarCloud/AppService/boundMobilePhone/struct.go
+++ b/iSolarCloud/AppService/boundMobilePhone/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/boundUserMail/struct.go b/iSolarCloud/AppService/boundUserMail/struct.go
index 27deeaff9..41ec4f829 100644
--- a/iSolarCloud/AppService/boundUserMail/struct.go
+++ b/iSolarCloud/AppService/boundUserMail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/caculateDeviceInputDiscrete/struct.go b/iSolarCloud/AppService/caculateDeviceInputDiscrete/struct.go
index 34a0c1658..c1d7d2670 100644
--- a/iSolarCloud/AppService/caculateDeviceInputDiscrete/struct.go
+++ b/iSolarCloud/AppService/caculateDeviceInputDiscrete/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/calculateDeviceDiscrete/struct.go b/iSolarCloud/AppService/calculateDeviceDiscrete/struct.go
index a1f08e801..922ce5d2c 100644
--- a/iSolarCloud/AppService/calculateDeviceDiscrete/struct.go
+++ b/iSolarCloud/AppService/calculateDeviceDiscrete/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/calculateInitialCompensationData/struct.go b/iSolarCloud/AppService/calculateInitialCompensationData/struct.go
index 0c7412e66..4b2457886 100644
--- a/iSolarCloud/AppService/calculateInitialCompensationData/struct.go
+++ b/iSolarCloud/AppService/calculateInitialCompensationData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/cancelDeliverMail/struct.go b/iSolarCloud/AppService/cancelDeliverMail/struct.go
index 0dfcd892c..6c7951e7f 100644
--- a/iSolarCloud/AppService/cancelDeliverMail/struct.go
+++ b/iSolarCloud/AppService/cancelDeliverMail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/cancelOrderScan/struct.go b/iSolarCloud/AppService/cancelOrderScan/struct.go
index 320232a9a..e9a5548b8 100644
--- a/iSolarCloud/AppService/cancelOrderScan/struct.go
+++ b/iSolarCloud/AppService/cancelOrderScan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/cancelParamSetTask/struct.go b/iSolarCloud/AppService/cancelParamSetTask/struct.go
index 8ceaf1d6c..8e7657dd2 100644
--- a/iSolarCloud/AppService/cancelParamSetTask/struct.go
+++ b/iSolarCloud/AppService/cancelParamSetTask/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/cancelPsSharing/struct.go b/iSolarCloud/AppService/cancelPsSharing/struct.go
index 068a4bbc2..ce7ce876e 100644
--- a/iSolarCloud/AppService/cancelPsSharing/struct.go
+++ b/iSolarCloud/AppService/cancelPsSharing/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/cancelRechargeOrder/struct.go b/iSolarCloud/AppService/cancelRechargeOrder/struct.go
index 3733dcbdc..b064a722c 100644
--- a/iSolarCloud/AppService/cancelRechargeOrder/struct.go
+++ b/iSolarCloud/AppService/cancelRechargeOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/changRechargeOrderToCancel/struct.go b/iSolarCloud/AppService/changRechargeOrderToCancel/struct.go
index 0d45c3549..fe4f0acac 100644
--- a/iSolarCloud/AppService/changRechargeOrderToCancel/struct.go
+++ b/iSolarCloud/AppService/changRechargeOrderToCancel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/changeHouseholdUser2Installer/struct.go b/iSolarCloud/AppService/changeHouseholdUser2Installer/struct.go
index adb41b380..42b5adc12 100644
--- a/iSolarCloud/AppService/changeHouseholdUser2Installer/struct.go
+++ b/iSolarCloud/AppService/changeHouseholdUser2Installer/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/changeRemoteParam/struct.go b/iSolarCloud/AppService/changeRemoteParam/struct.go
index c368588d5..c9146e426 100644
--- a/iSolarCloud/AppService/changeRemoteParam/struct.go
+++ b/iSolarCloud/AppService/changeRemoteParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkDealerOrgCode/struct.go b/iSolarCloud/AppService/checkDealerOrgCode/struct.go
index 6724d11d0..1ebcb69c9 100644
--- a/iSolarCloud/AppService/checkDealerOrgCode/struct.go
+++ b/iSolarCloud/AppService/checkDealerOrgCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkDevSnIsBelongsToUser/struct.go b/iSolarCloud/AppService/checkDevSnIsBelongsToUser/struct.go
index 2b9f7402c..c416e9333 100644
--- a/iSolarCloud/AppService/checkDevSnIsBelongsToUser/struct.go
+++ b/iSolarCloud/AppService/checkDevSnIsBelongsToUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkInverterResult/struct.go b/iSolarCloud/AppService/checkInverterResult/struct.go
index e4ad95c81..eff7102bb 100644
--- a/iSolarCloud/AppService/checkInverterResult/struct.go
+++ b/iSolarCloud/AppService/checkInverterResult/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkIsCanDoParamSet/struct.go b/iSolarCloud/AppService/checkIsCanDoParamSet/struct.go
index 31d43102a..785877012 100644
--- a/iSolarCloud/AppService/checkIsCanDoParamSet/struct.go
+++ b/iSolarCloud/AppService/checkIsCanDoParamSet/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkIsIvScan/struct.go b/iSolarCloud/AppService/checkIsIvScan/struct.go
index 4770cd1f6..87ab0482f 100644
--- a/iSolarCloud/AppService/checkIsIvScan/struct.go
+++ b/iSolarCloud/AppService/checkIsIvScan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkOssObjectExist/struct.go b/iSolarCloud/AppService/checkOssObjectExist/struct.go
index f70a0d511..7402844aa 100644
--- a/iSolarCloud/AppService/checkOssObjectExist/struct.go
+++ b/iSolarCloud/AppService/checkOssObjectExist/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkServiceIsConnect/struct.go b/iSolarCloud/AppService/checkServiceIsConnect/struct.go
index 54cdbd89e..887f676a2 100644
--- a/iSolarCloud/AppService/checkServiceIsConnect/struct.go
+++ b/iSolarCloud/AppService/checkServiceIsConnect/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkTechnicalParameters/struct.go b/iSolarCloud/AppService/checkTechnicalParameters/struct.go
index 91b1162ba..d8af1b3c3 100644
--- a/iSolarCloud/AppService/checkTechnicalParameters/struct.go
+++ b/iSolarCloud/AppService/checkTechnicalParameters/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUnitStatus/struct.go b/iSolarCloud/AppService/checkUnitStatus/struct.go
index 91b1e50ce..3c35426ac 100644
--- a/iSolarCloud/AppService/checkUnitStatus/struct.go
+++ b/iSolarCloud/AppService/checkUnitStatus/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUpRechargeDevicePaying/struct.go b/iSolarCloud/AppService/checkUpRechargeDevicePaying/struct.go
index e0a1bb36d..f04e6fa99 100644
--- a/iSolarCloud/AppService/checkUpRechargeDevicePaying/struct.go
+++ b/iSolarCloud/AppService/checkUpRechargeDevicePaying/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUserAccountUnique/struct.go b/iSolarCloud/AppService/checkUserAccountUnique/struct.go
index e35007688..42f2f9c5c 100644
--- a/iSolarCloud/AppService/checkUserAccountUnique/struct.go
+++ b/iSolarCloud/AppService/checkUserAccountUnique/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUserAccountUniqueAll/struct.go b/iSolarCloud/AppService/checkUserAccountUniqueAll/struct.go
index 69ee9d08e..e72e63697 100644
--- a/iSolarCloud/AppService/checkUserAccountUniqueAll/struct.go
+++ b/iSolarCloud/AppService/checkUserAccountUniqueAll/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUserInfoUnique/struct.go b/iSolarCloud/AppService/checkUserInfoUnique/struct.go
index 13e6b0638..ab9d5b654 100644
--- a/iSolarCloud/AppService/checkUserInfoUnique/struct.go
+++ b/iSolarCloud/AppService/checkUserInfoUnique/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUserIsExist/struct.go b/iSolarCloud/AppService/checkUserIsExist/struct.go
index 7dffe2a27..5cf569cc3 100644
--- a/iSolarCloud/AppService/checkUserIsExist/struct.go
+++ b/iSolarCloud/AppService/checkUserIsExist/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUserListIsExist/struct.go b/iSolarCloud/AppService/checkUserListIsExist/struct.go
index 24aa8029f..68a9b2f44 100644
--- a/iSolarCloud/AppService/checkUserListIsExist/struct.go
+++ b/iSolarCloud/AppService/checkUserListIsExist/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/checkUserPassword/struct.go b/iSolarCloud/AppService/checkUserPassword/struct.go
index 20f0edd5e..9ba474503 100644
--- a/iSolarCloud/AppService/checkUserPassword/struct.go
+++ b/iSolarCloud/AppService/checkUserPassword/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/cloudDeploymentRecord/struct.go b/iSolarCloud/AppService/cloudDeploymentRecord/struct.go
index 0e1bd0c7c..ec4226989 100644
--- a/iSolarCloud/AppService/cloudDeploymentRecord/struct.go
+++ b/iSolarCloud/AppService/cloudDeploymentRecord/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/comfirmParamModel/struct.go b/iSolarCloud/AppService/comfirmParamModel/struct.go
index 6ff138f74..6a9384bb1 100644
--- a/iSolarCloud/AppService/comfirmParamModel/struct.go
+++ b/iSolarCloud/AppService/comfirmParamModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/communicationModuleDetail/struct.go b/iSolarCloud/AppService/communicationModuleDetail/struct.go
index 017660498..d05b1f351 100644
--- a/iSolarCloud/AppService/communicationModuleDetail/struct.go
+++ b/iSolarCloud/AppService/communicationModuleDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/compareValidateCode/struct.go b/iSolarCloud/AppService/compareValidateCode/struct.go
index 82180b784..e3bd21deb 100644
--- a/iSolarCloud/AppService/compareValidateCode/struct.go
+++ b/iSolarCloud/AppService/compareValidateCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/componentInfo2Cloud/struct.go b/iSolarCloud/AppService/componentInfo2Cloud/struct.go
index e8cc2f091..d6bda61f0 100644
--- a/iSolarCloud/AppService/componentInfo2Cloud/struct.go
+++ b/iSolarCloud/AppService/componentInfo2Cloud/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/confirmFault/struct.go b/iSolarCloud/AppService/confirmFault/struct.go
index c32a5b97d..be5652a97 100644
--- a/iSolarCloud/AppService/confirmFault/struct.go
+++ b/iSolarCloud/AppService/confirmFault/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/confirmIvFault/struct.go b/iSolarCloud/AppService/confirmIvFault/struct.go
index 7e512bfa4..9c996067e 100644
--- a/iSolarCloud/AppService/confirmIvFault/struct.go
+++ b/iSolarCloud/AppService/confirmIvFault/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/confirmReportConfig/struct.go b/iSolarCloud/AppService/confirmReportConfig/struct.go
index 76ac614e7..c3b1e81d7 100644
--- a/iSolarCloud/AppService/confirmReportConfig/struct.go
+++ b/iSolarCloud/AppService/confirmReportConfig/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/createAppkeyInfo/struct.go b/iSolarCloud/AppService/createAppkeyInfo/struct.go
index 651a17f8b..5e8f6c346 100644
--- a/iSolarCloud/AppService/createAppkeyInfo/struct.go
+++ b/iSolarCloud/AppService/createAppkeyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/createRenewInvoice/struct.go b/iSolarCloud/AppService/createRenewInvoice/struct.go
index 09a7f6f00..dd8e67705 100644
--- a/iSolarCloud/AppService/createRenewInvoice/struct.go
+++ b/iSolarCloud/AppService/createRenewInvoice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealCommandReply/struct.go b/iSolarCloud/AppService/dealCommandReply/struct.go
index 523f277b7..f6b2da247 100644
--- a/iSolarCloud/AppService/dealCommandReply/struct.go
+++ b/iSolarCloud/AppService/dealCommandReply/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealDeletePsFailPsDelete/struct.go b/iSolarCloud/AppService/dealDeletePsFailPsDelete/struct.go
index 561889275..270b21213 100644
--- a/iSolarCloud/AppService/dealDeletePsFailPsDelete/struct.go
+++ b/iSolarCloud/AppService/dealDeletePsFailPsDelete/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/struct.go b/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/struct.go
index fc580583c..1233de696 100644
--- a/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/struct.go
+++ b/iSolarCloud/AppService/dealFailRemoteUpgradeSubTasks/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/struct.go b/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/struct.go
index 31f8c31d8..85b184c53 100644
--- a/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/struct.go
+++ b/iSolarCloud/AppService/dealFailRemoteUpgradeTasks/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealFaultOrder/struct.go b/iSolarCloud/AppService/dealFaultOrder/struct.go
index 77b6c3817..0e6ff6b5c 100644
--- a/iSolarCloud/AppService/dealFaultOrder/struct.go
+++ b/iSolarCloud/AppService/dealFaultOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealGroupStringDisableOrEnable/struct.go b/iSolarCloud/AppService/dealGroupStringDisableOrEnable/struct.go
index f438c9b69..24bc22d2f 100644
--- a/iSolarCloud/AppService/dealGroupStringDisableOrEnable/struct.go
+++ b/iSolarCloud/AppService/dealGroupStringDisableOrEnable/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/struct.go b/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/struct.go
index 8ecd7a9f5..0402f75fb 100644
--- a/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/struct.go
+++ b/iSolarCloud/AppService/dealNumberOfServiceCalls2Mysql/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealParamSettingAfterComplete/struct.go b/iSolarCloud/AppService/dealParamSettingAfterComplete/struct.go
index 1ae9da051..0adc3de98 100644
--- a/iSolarCloud/AppService/dealParamSettingAfterComplete/struct.go
+++ b/iSolarCloud/AppService/dealParamSettingAfterComplete/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealPsDataSupplement/struct.go b/iSolarCloud/AppService/dealPsDataSupplement/struct.go
index f71a295b4..fbd5f3d53 100644
--- a/iSolarCloud/AppService/dealPsDataSupplement/struct.go
+++ b/iSolarCloud/AppService/dealPsDataSupplement/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealPsReportEmailSend/struct.go b/iSolarCloud/AppService/dealPsReportEmailSend/struct.go
index 4af9d5c75..67355da6a 100644
--- a/iSolarCloud/AppService/dealPsReportEmailSend/struct.go
+++ b/iSolarCloud/AppService/dealPsReportEmailSend/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealRemoteUpgrade/struct.go b/iSolarCloud/AppService/dealRemoteUpgrade/struct.go
index 9623941ad..cf2d4396e 100644
--- a/iSolarCloud/AppService/dealRemoteUpgrade/struct.go
+++ b/iSolarCloud/AppService/dealRemoteUpgrade/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealSnElectrifyCheck/struct.go b/iSolarCloud/AppService/dealSnElectrifyCheck/struct.go
index 313696078..6042b8ede 100644
--- a/iSolarCloud/AppService/dealSnElectrifyCheck/struct.go
+++ b/iSolarCloud/AppService/dealSnElectrifyCheck/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/struct.go b/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/struct.go
index b60f8ab7d..2956b39c8 100644
--- a/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/struct.go
+++ b/iSolarCloud/AppService/dealSysDeviceSimFlowInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/dealSysDeviceSimInfo/struct.go b/iSolarCloud/AppService/dealSysDeviceSimInfo/struct.go
index 49a4b2faa..f420076cb 100644
--- a/iSolarCloud/AppService/dealSysDeviceSimInfo/struct.go
+++ b/iSolarCloud/AppService/dealSysDeviceSimInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/definiteTimeDealSnExpRemind/struct.go b/iSolarCloud/AppService/definiteTimeDealSnExpRemind/struct.go
index b5ea6c3b1..8c57014e8 100644
--- a/iSolarCloud/AppService/definiteTimeDealSnExpRemind/struct.go
+++ b/iSolarCloud/AppService/definiteTimeDealSnExpRemind/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/definiteTimeDealSnStatus/struct.go b/iSolarCloud/AppService/definiteTimeDealSnStatus/struct.go
index 0ce82c735..ca0d576ce 100644
--- a/iSolarCloud/AppService/definiteTimeDealSnStatus/struct.go
+++ b/iSolarCloud/AppService/definiteTimeDealSnStatus/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/delDeviceRepair/struct.go b/iSolarCloud/AppService/delDeviceRepair/struct.go
index 929e0a886..1292aaf5d 100644
--- a/iSolarCloud/AppService/delDeviceRepair/struct.go
+++ b/iSolarCloud/AppService/delDeviceRepair/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/delOperRule/struct.go b/iSolarCloud/AppService/delOperRule/struct.go
index 5440036a8..5bb85ba78 100644
--- a/iSolarCloud/AppService/delOperRule/struct.go
+++ b/iSolarCloud/AppService/delOperRule/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/delayCallApiResidueTimes/struct.go b/iSolarCloud/AppService/delayCallApiResidueTimes/struct.go
index 56e134b06..a043d01ae 100644
--- a/iSolarCloud/AppService/delayCallApiResidueTimes/struct.go
+++ b/iSolarCloud/AppService/delayCallApiResidueTimes/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteComponent/struct.go b/iSolarCloud/AppService/deleteComponent/struct.go
index 36bb376a3..216190d8c 100644
--- a/iSolarCloud/AppService/deleteComponent/struct.go
+++ b/iSolarCloud/AppService/deleteComponent/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteCustomerEmployee/struct.go b/iSolarCloud/AppService/deleteCustomerEmployee/struct.go
index a5d0cddad..5a2f3a21d 100644
--- a/iSolarCloud/AppService/deleteCustomerEmployee/struct.go
+++ b/iSolarCloud/AppService/deleteCustomerEmployee/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteDeviceAccount/struct.go b/iSolarCloud/AppService/deleteDeviceAccount/struct.go
index 07e2ca88a..56b22c0bf 100644
--- a/iSolarCloud/AppService/deleteDeviceAccount/struct.go
+++ b/iSolarCloud/AppService/deleteDeviceAccount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteDeviceSimById/struct.go b/iSolarCloud/AppService/deleteDeviceSimById/struct.go
index f4d0741ec..ab3f35174 100644
--- a/iSolarCloud/AppService/deleteDeviceSimById/struct.go
+++ b/iSolarCloud/AppService/deleteDeviceSimById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteElectricitySettlementData/struct.go b/iSolarCloud/AppService/deleteElectricitySettlementData/struct.go
index dd243695d..8fdc2b5ec 100644
--- a/iSolarCloud/AppService/deleteElectricitySettlementData/struct.go
+++ b/iSolarCloud/AppService/deleteElectricitySettlementData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteFaultPlan/struct.go b/iSolarCloud/AppService/deleteFaultPlan/struct.go
index f3e412554..9873acb00 100644
--- a/iSolarCloud/AppService/deleteFaultPlan/struct.go
+++ b/iSolarCloud/AppService/deleteFaultPlan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteFirmwareFiles/struct.go b/iSolarCloud/AppService/deleteFirmwareFiles/struct.go
index be4bb369d..615c7b6be 100644
--- a/iSolarCloud/AppService/deleteFirmwareFiles/struct.go
+++ b/iSolarCloud/AppService/deleteFirmwareFiles/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteHouseholdEvaluation/struct.go b/iSolarCloud/AppService/deleteHouseholdEvaluation/struct.go
index c039ec886..646fea962 100644
--- a/iSolarCloud/AppService/deleteHouseholdEvaluation/struct.go
+++ b/iSolarCloud/AppService/deleteHouseholdEvaluation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteHouseholdLeaveMessage/struct.go b/iSolarCloud/AppService/deleteHouseholdLeaveMessage/struct.go
index 332c79cda..01de6fd03 100644
--- a/iSolarCloud/AppService/deleteHouseholdLeaveMessage/struct.go
+++ b/iSolarCloud/AppService/deleteHouseholdLeaveMessage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteHouseholdWorkOrder/struct.go b/iSolarCloud/AppService/deleteHouseholdWorkOrder/struct.go
index c5d1e1f18..34c42cd17 100644
--- a/iSolarCloud/AppService/deleteHouseholdWorkOrder/struct.go
+++ b/iSolarCloud/AppService/deleteHouseholdWorkOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteInverterSnInChnnl/struct.go b/iSolarCloud/AppService/deleteInverterSnInChnnl/struct.go
index d75fa324d..65021a6af 100644
--- a/iSolarCloud/AppService/deleteInverterSnInChnnl/struct.go
+++ b/iSolarCloud/AppService/deleteInverterSnInChnnl/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteModuleLog/struct.go b/iSolarCloud/AppService/deleteModuleLog/struct.go
index 65102c007..8f9755c42 100644
--- a/iSolarCloud/AppService/deleteModuleLog/struct.go
+++ b/iSolarCloud/AppService/deleteModuleLog/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteOnDutyInfo/struct.go b/iSolarCloud/AppService/deleteOnDutyInfo/struct.go
index ed31ecbac..93e7a9b2a 100644
--- a/iSolarCloud/AppService/deleteOnDutyInfo/struct.go
+++ b/iSolarCloud/AppService/deleteOnDutyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteOperateBillFile/struct.go b/iSolarCloud/AppService/deleteOperateBillFile/struct.go
index d734fb80c..b6c815428 100644
--- a/iSolarCloud/AppService/deleteOperateBillFile/struct.go
+++ b/iSolarCloud/AppService/deleteOperateBillFile/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteOssObject/struct.go b/iSolarCloud/AppService/deleteOssObject/struct.go
index 9c065280d..c55d52d87 100644
--- a/iSolarCloud/AppService/deleteOssObject/struct.go
+++ b/iSolarCloud/AppService/deleteOssObject/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deletePowerDevicePointById/struct.go b/iSolarCloud/AppService/deletePowerDevicePointById/struct.go
index 09cc87328..e34ba84c1 100644
--- a/iSolarCloud/AppService/deletePowerDevicePointById/struct.go
+++ b/iSolarCloud/AppService/deletePowerDevicePointById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deletePowerPicture/struct.go b/iSolarCloud/AppService/deletePowerPicture/struct.go
index 0c6ebd129..29e71d30b 100644
--- a/iSolarCloud/AppService/deletePowerPicture/struct.go
+++ b/iSolarCloud/AppService/deletePowerPicture/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/struct.go b/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/struct.go
index 2e6607826..af6fabca0 100644
--- a/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/struct.go
+++ b/iSolarCloud/AppService/deletePowerRobotInfoBySnAndPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deletePowerRobotSweepStrategy/struct.go b/iSolarCloud/AppService/deletePowerRobotSweepStrategy/struct.go
index f674bf08d..6c5acaf03 100644
--- a/iSolarCloud/AppService/deletePowerRobotSweepStrategy/struct.go
+++ b/iSolarCloud/AppService/deletePowerRobotSweepStrategy/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteProductionData/struct.go b/iSolarCloud/AppService/deleteProductionData/struct.go
index c8ec880e3..2608e4fd7 100644
--- a/iSolarCloud/AppService/deleteProductionData/struct.go
+++ b/iSolarCloud/AppService/deleteProductionData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deletePs/struct.go b/iSolarCloud/AppService/deletePs/struct.go
index 217222ebc..e20f55160 100644
--- a/iSolarCloud/AppService/deletePs/struct.go
+++ b/iSolarCloud/AppService/deletePs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteRechargeOrder/struct.go b/iSolarCloud/AppService/deleteRechargeOrder/struct.go
index d7838604d..79ba0c0f4 100644
--- a/iSolarCloud/AppService/deleteRechargeOrder/struct.go
+++ b/iSolarCloud/AppService/deleteRechargeOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteRegularlyConnectionInfo/struct.go b/iSolarCloud/AppService/deleteRegularlyConnectionInfo/struct.go
index 9af282f59..b34548af0 100644
--- a/iSolarCloud/AppService/deleteRegularlyConnectionInfo/struct.go
+++ b/iSolarCloud/AppService/deleteRegularlyConnectionInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteReportConfigEmailAddr/struct.go b/iSolarCloud/AppService/deleteReportConfigEmailAddr/struct.go
index 84ce99634..4414fd1cc 100644
--- a/iSolarCloud/AppService/deleteReportConfigEmailAddr/struct.go
+++ b/iSolarCloud/AppService/deleteReportConfigEmailAddr/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteSysAdvancedParam/struct.go b/iSolarCloud/AppService/deleteSysAdvancedParam/struct.go
index 3f65910d6..b7935c5ae 100644
--- a/iSolarCloud/AppService/deleteSysAdvancedParam/struct.go
+++ b/iSolarCloud/AppService/deleteSysAdvancedParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteSysOrgNew/struct.go b/iSolarCloud/AppService/deleteSysOrgNew/struct.go
index 9d9ee09a5..96233ed3b 100644
--- a/iSolarCloud/AppService/deleteSysOrgNew/struct.go
+++ b/iSolarCloud/AppService/deleteSysOrgNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteTemplate/struct.go b/iSolarCloud/AppService/deleteTemplate/struct.go
index c8cce8d24..558284504 100644
--- a/iSolarCloud/AppService/deleteTemplate/struct.go
+++ b/iSolarCloud/AppService/deleteTemplate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deleteUserInfoAllByUserId/struct.go b/iSolarCloud/AppService/deleteUserInfoAllByUserId/struct.go
index 5a8806eb6..a5f3903a0 100644
--- a/iSolarCloud/AppService/deleteUserInfoAllByUserId/struct.go
+++ b/iSolarCloud/AppService/deleteUserInfoAllByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/struct.go b/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/struct.go
index 0e0249657..731c58f5e 100644
--- a/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/struct.go
+++ b/iSolarCloud/AppService/deviceInputDiscreteDeleteTime/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deviceInputDiscreteGetTime/struct.go b/iSolarCloud/AppService/deviceInputDiscreteGetTime/struct.go
index af2636907..327d41a93 100644
--- a/iSolarCloud/AppService/deviceInputDiscreteGetTime/struct.go
+++ b/iSolarCloud/AppService/deviceInputDiscreteGetTime/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deviceInputDiscreteInsertTime/struct.go b/iSolarCloud/AppService/deviceInputDiscreteInsertTime/struct.go
index c5e3e08a9..682cb27c4 100644
--- a/iSolarCloud/AppService/deviceInputDiscreteInsertTime/struct.go
+++ b/iSolarCloud/AppService/deviceInputDiscreteInsertTime/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/struct.go b/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/struct.go
index 70ccf255c..973256e55 100644
--- a/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/struct.go
+++ b/iSolarCloud/AppService/deviceInputDiscreteUpdateTime/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/devicePointsDataFromMySql/struct.go b/iSolarCloud/AppService/devicePointsDataFromMySql/struct.go
index 2d3dfc380..6f4ed9729 100644
--- a/iSolarCloud/AppService/devicePointsDataFromMySql/struct.go
+++ b/iSolarCloud/AppService/devicePointsDataFromMySql/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/deviceReplace/struct.go b/iSolarCloud/AppService/deviceReplace/struct.go
index 53d13f372..170196416 100644
--- a/iSolarCloud/AppService/deviceReplace/struct.go
+++ b/iSolarCloud/AppService/deviceReplace/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/editDeviceRepair/struct.go b/iSolarCloud/AppService/editDeviceRepair/struct.go
index 512fdc974..eeb984759 100644
--- a/iSolarCloud/AppService/editDeviceRepair/struct.go
+++ b/iSolarCloud/AppService/editDeviceRepair/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/editOperRule/struct.go b/iSolarCloud/AppService/editOperRule/struct.go
index b2aba9cf9..1d2d3fd91 100644
--- a/iSolarCloud/AppService/editOperRule/struct.go
+++ b/iSolarCloud/AppService/editOperRule/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/energyPovertyAlleviation/struct.go b/iSolarCloud/AppService/energyPovertyAlleviation/struct.go
index b7abf41b1..fc881727b 100644
--- a/iSolarCloud/AppService/energyPovertyAlleviation/struct.go
+++ b/iSolarCloud/AppService/energyPovertyAlleviation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/energyTrend/data.go b/iSolarCloud/AppService/energyTrend/data.go
index 273b54230..a730cc721 100644
--- a/iSolarCloud/AppService/energyTrend/data.go
+++ b/iSolarCloud/AppService/energyTrend/data.go
@@ -4,8 +4,8 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/energyTrend"
@@ -25,17 +25,17 @@ func (rd RequestData) Help() string {
}
type ResultData struct {
- Echartunit string `json:"echartunit"`
- EndTime string `json:"endTime"`
+ Echartunit valueTypes.String `json:"echartunit" PointId:"echart_unit"`
+ EndTime valueTypes.DateTime `json:"endTime" PointId:"end_time"`
EnergyMap struct {
- ValStr string `json:"valStr"`
- } `json:"energyMap"`
- Energyunit string `json:"energyunit"`
+ ValStr valueTypes.String `json:"valStr" PointId:"val_str"`
+ } `json:"energyMap" PointId:"energy_map"`
+ Energyunit valueTypes.String `json:"energyunit" PointId:"energy_unit"`
PowerMap struct {
- Dates []interface{} `json:"dates"`
- Units string `json:"units"`
- ValStr string `json:"valStr"`
- } `json:"powerMap"`
+ Dates []valueTypes.DateTime `json:"dates"`
+ Units valueTypes.String `json:"units"`
+ ValStr valueTypes.String `json:"valStr" PointId:"val_str"`
+ } `json:"powerMap" PointId:"power_map"`
}
func (e *ResultData) IsValid() error {
@@ -49,31 +49,15 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/AppService/energyTrend/struct.go b/iSolarCloud/AppService/energyTrend/struct.go
index f4053fdaf..0ea416bc9 100644
--- a/iSolarCloud/AppService/energyTrend/struct.go
+++ b/iSolarCloud/AppService/energyTrend/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/exportParamSettingValPDF/struct.go b/iSolarCloud/AppService/exportParamSettingValPDF/struct.go
index d0e748412..f33c0400b 100644
--- a/iSolarCloud/AppService/exportParamSettingValPDF/struct.go
+++ b/iSolarCloud/AppService/exportParamSettingValPDF/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/exportPlantReportPDF/struct.go b/iSolarCloud/AppService/exportPlantReportPDF/struct.go
index 9de280d0b..8c08e6696 100644
--- a/iSolarCloud/AppService/exportPlantReportPDF/struct.go
+++ b/iSolarCloud/AppService/exportPlantReportPDF/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/faultAutoClose/struct.go b/iSolarCloud/AppService/faultAutoClose/struct.go
index d8dffd836..0f0a175e9 100644
--- a/iSolarCloud/AppService/faultAutoClose/struct.go
+++ b/iSolarCloud/AppService/faultAutoClose/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/faultCloseRemindOrderHandler/struct.go b/iSolarCloud/AppService/faultCloseRemindOrderHandler/struct.go
index 5541341a6..ec61b77a7 100644
--- a/iSolarCloud/AppService/faultCloseRemindOrderHandler/struct.go
+++ b/iSolarCloud/AppService/faultCloseRemindOrderHandler/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findCodeValueList/data.go b/iSolarCloud/AppService/findCodeValueList/data.go
index 3001036dc..d90126edf 100644
--- a/iSolarCloud/AppService/findCodeValueList/data.go
+++ b/iSolarCloud/AppService/findCodeValueList/data.go
@@ -4,16 +4,15 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
- "errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/commonService/findCodeValueList"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ CodeType string `json:"code_type" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -26,45 +25,23 @@ func (rd RequestData) Help() string {
}
-type ResultData struct {
+type ResultData []struct {
Dummy string `json:"dummy"`
}
func (e *ResultData) IsValid() error {
var err error
- switch {
- case e.Dummy == "":
- break
- default:
- err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
- }
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/AppService/findCodeValueList/struct.go b/iSolarCloud/AppService/findCodeValueList/struct.go
index 0376d817c..482eb2fa1 100644
--- a/iSolarCloud/AppService/findCodeValueList/struct.go
+++ b/iSolarCloud/AppService/findCodeValueList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findEmgOrgInfo/struct.go b/iSolarCloud/AppService/findEmgOrgInfo/struct.go
index 0c698e15a..461d26e69 100644
--- a/iSolarCloud/AppService/findEmgOrgInfo/struct.go
+++ b/iSolarCloud/AppService/findEmgOrgInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findEnvironmentInfo/struct.go b/iSolarCloud/AppService/findEnvironmentInfo/struct.go
index 93e23cdbd..4f3331269 100644
--- a/iSolarCloud/AppService/findEnvironmentInfo/struct.go
+++ b/iSolarCloud/AppService/findEnvironmentInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findFromHbaseAndRedis/struct.go b/iSolarCloud/AppService/findFromHbaseAndRedis/struct.go
index c0900aa62..a028306d6 100644
--- a/iSolarCloud/AppService/findFromHbaseAndRedis/struct.go
+++ b/iSolarCloud/AppService/findFromHbaseAndRedis/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findInfoByuuid/struct.go b/iSolarCloud/AppService/findInfoByuuid/struct.go
index d2142e04c..7579fef41 100644
--- a/iSolarCloud/AppService/findInfoByuuid/struct.go
+++ b/iSolarCloud/AppService/findInfoByuuid/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findLossAnalysisList/struct.go b/iSolarCloud/AppService/findLossAnalysisList/struct.go
index 6497bb207..b0547eaac 100644
--- a/iSolarCloud/AppService/findLossAnalysisList/struct.go
+++ b/iSolarCloud/AppService/findLossAnalysisList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findOnDutyInfo/struct.go b/iSolarCloud/AppService/findOnDutyInfo/struct.go
index 7859bd1fa..f9e82cf46 100644
--- a/iSolarCloud/AppService/findOnDutyInfo/struct.go
+++ b/iSolarCloud/AppService/findOnDutyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findPsType/struct.go b/iSolarCloud/AppService/findPsType/struct.go
index 6332a5eca..dbb914856 100644
--- a/iSolarCloud/AppService/findPsType/struct.go
+++ b/iSolarCloud/AppService/findPsType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findSingleStationPR/struct.go b/iSolarCloud/AppService/findSingleStationPR/struct.go
index dd3cae9ab..6b3b0ffea 100644
--- a/iSolarCloud/AppService/findSingleStationPR/struct.go
+++ b/iSolarCloud/AppService/findSingleStationPR/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/findUserPassword/struct.go b/iSolarCloud/AppService/findUserPassword/struct.go
index 44ca881de..a2a9be6b7 100644
--- a/iSolarCloud/AppService/findUserPassword/struct.go
+++ b/iSolarCloud/AppService/findUserPassword/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/genTLSUserSigByUserAccount/struct.go b/iSolarCloud/AppService/genTLSUserSigByUserAccount/struct.go
index 3fca8affd..6d7adf586 100644
--- a/iSolarCloud/AppService/genTLSUserSigByUserAccount/struct.go
+++ b/iSolarCloud/AppService/genTLSUserSigByUserAccount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/generateRandomPassword/struct.go b/iSolarCloud/AppService/generateRandomPassword/struct.go
index b6eca1e63..26d9b76bf 100644
--- a/iSolarCloud/AppService/generateRandomPassword/struct.go
+++ b/iSolarCloud/AppService/generateRandomPassword/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAPIServiceInfo/struct.go b/iSolarCloud/AppService/getAPIServiceInfo/struct.go
index 42285bfe2..d1ec1546b 100644
--- a/iSolarCloud/AppService/getAPIServiceInfo/struct.go
+++ b/iSolarCloud/AppService/getAPIServiceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAccessedPermission/struct.go b/iSolarCloud/AppService/getAccessedPermission/struct.go
index 661defe92..244f2b4d5 100644
--- a/iSolarCloud/AppService/getAccessedPermission/struct.go
+++ b/iSolarCloud/AppService/getAccessedPermission/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAllDeviceByPsId/struct.go b/iSolarCloud/AppService/getAllDeviceByPsId/struct.go
index 763f8c342..f94cbf76e 100644
--- a/iSolarCloud/AppService/getAllDeviceByPsId/struct.go
+++ b/iSolarCloud/AppService/getAllDeviceByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAllPowerDeviceSetName/struct.go b/iSolarCloud/AppService/getAllPowerDeviceSetName/struct.go
index b5d0dde8f..c2dd08951 100644
--- a/iSolarCloud/AppService/getAllPowerDeviceSetName/struct.go
+++ b/iSolarCloud/AppService/getAllPowerDeviceSetName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAllPowerRobotViewInfoByPsId/struct.go b/iSolarCloud/AppService/getAllPowerRobotViewInfoByPsId/struct.go
index 71bdf9da8..c9cac0b28 100644
--- a/iSolarCloud/AppService/getAllPowerRobotViewInfoByPsId/struct.go
+++ b/iSolarCloud/AppService/getAllPowerRobotViewInfoByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAllPsIdByOrgIds/data.go b/iSolarCloud/AppService/getAllPsIdByOrgIds/data.go
index acc4960a1..93e578411 100644
--- a/iSolarCloud/AppService/getAllPsIdByOrgIds/data.go
+++ b/iSolarCloud/AppService/getAllPsIdByOrgIds/data.go
@@ -4,16 +4,15 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
- "errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/devService/getAllPsIdByOrgIds"
const Disabled = true
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ OrgIds valueTypes.String `json:"orgIds" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -26,45 +25,21 @@ func (rd RequestData) Help() string {
}
-type ResultData struct {
- Dummy string `json:"dummy"`
-}
+type ResultData []string
func (e *ResultData) IsValid() error {
var err error
- switch {
- case e.Dummy == "":
- break
- default:
- err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
- }
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.OrgIds.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.OrgIds.String(), dt)
}
return entries
diff --git a/iSolarCloud/AppService/getAllPsIdByOrgIds/struct.go b/iSolarCloud/AppService/getAllPsIdByOrgIds/struct.go
index 0a52e622e..43cfa8049 100644
--- a/iSolarCloud/AppService/getAllPsIdByOrgIds/struct.go
+++ b/iSolarCloud/AppService/getAllPsIdByOrgIds/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAllUserRemindCount/struct.go b/iSolarCloud/AppService/getAllUserRemindCount/struct.go
index 33a746456..f8305bc62 100644
--- a/iSolarCloud/AppService/getAllUserRemindCount/struct.go
+++ b/iSolarCloud/AppService/getAllUserRemindCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAndOutletsAndUnit/struct.go b/iSolarCloud/AppService/getAndOutletsAndUnit/struct.go
index d40b1ffdf..cd003e347 100644
--- a/iSolarCloud/AppService/getAndOutletsAndUnit/struct.go
+++ b/iSolarCloud/AppService/getAndOutletsAndUnit/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getApiCallsForAppkeys/struct.go b/iSolarCloud/AppService/getApiCallsForAppkeys/struct.go
index d688501b7..88fd16afb 100644
--- a/iSolarCloud/AppService/getApiCallsForAppkeys/struct.go
+++ b/iSolarCloud/AppService/getApiCallsForAppkeys/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAreaInfoCodeByCounty/struct.go b/iSolarCloud/AppService/getAreaInfoCodeByCounty/struct.go
index eb75af695..742afe9c1 100644
--- a/iSolarCloud/AppService/getAreaInfoCodeByCounty/struct.go
+++ b/iSolarCloud/AppService/getAreaInfoCodeByCounty/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAreaList/data.go b/iSolarCloud/AppService/getAreaList/data.go
index e8894094f..272774c6d 100644
--- a/iSolarCloud/AppService/getAreaList/data.go
+++ b/iSolarCloud/AppService/getAreaList/data.go
@@ -4,8 +4,8 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/getAreaList"
@@ -34,44 +34,19 @@ type ResultData struct {
P83049 valueTypes.UnitValue `json:"p83049"`
P83050 valueTypes.UnitValue `json:"p83050"`
P83051 valueTypes.UnitValue `json:"p83051"`
- PlanMonth string `json:"plan_month"`
+ PlanMonth valueTypes.String `json:"plan_month"`
StationCount valueTypes.Integer `json:"station_count"`
TodayEnergy valueTypes.UnitValue `json:"today_energy"`
TotalEnergy valueTypes.UnitValue `json:"total_energy"`
- } `json:"pageList"`
- RowCount valueTypes.Integer `json:"rowCount"`
+ } `json:"pageList" PointId:"page_list" PointNameFromChild:"OrgID" PointNameFromAppend:"false"`
+ RowCount valueTypes.Integer `json:"rowCount" PointIgnore:"true"`
}
func (e *ResultData) IsValid() error {
var err error
- // switch {
- // case e.Dummy == "":
- // break
- // default:
- // err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
- // }
return err
}
-// type DecodeResultData ResultData
-//
-// func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-// }
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
diff --git a/iSolarCloud/AppService/getAreaList/struct.go b/iSolarCloud/AppService/getAreaList/struct.go
index e8122e564..8ce2e00a8 100644
--- a/iSolarCloud/AppService/getAreaList/struct.go
+++ b/iSolarCloud/AppService/getAreaList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getAutoCreatePowerStation/struct.go b/iSolarCloud/AppService/getAutoCreatePowerStation/struct.go
index 7e2a005b4..0833902e3 100644
--- a/iSolarCloud/AppService/getAutoCreatePowerStation/struct.go
+++ b/iSolarCloud/AppService/getAutoCreatePowerStation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getBackReadValue/struct.go b/iSolarCloud/AppService/getBackReadValue/struct.go
index b99094f8b..53a8c0613 100644
--- a/iSolarCloud/AppService/getBackReadValue/struct.go
+++ b/iSolarCloud/AppService/getBackReadValue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getBatchNewestPointData/struct.go b/iSolarCloud/AppService/getBatchNewestPointData/struct.go
index a242fbd59..d5fd4fe4a 100644
--- a/iSolarCloud/AppService/getBatchNewestPointData/struct.go
+++ b/iSolarCloud/AppService/getBatchNewestPointData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCallApiResidueTimes/struct.go b/iSolarCloud/AppService/getCallApiResidueTimes/struct.go
index 56f150c28..331e53809 100644
--- a/iSolarCloud/AppService/getCallApiResidueTimes/struct.go
+++ b/iSolarCloud/AppService/getCallApiResidueTimes/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getChangedPsListByTime/struct.go b/iSolarCloud/AppService/getChangedPsListByTime/struct.go
index 7fe2fc2cb..9201890f6 100644
--- a/iSolarCloud/AppService/getChangedPsListByTime/struct.go
+++ b/iSolarCloud/AppService/getChangedPsListByTime/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getChnnlListByPsId/data.go b/iSolarCloud/AppService/getChnnlListByPsId/data.go
index 23eabc8a9..3e39fcccb 100644
--- a/iSolarCloud/AppService/getChnnlListByPsId/data.go
+++ b/iSolarCloud/AppService/getChnnlListByPsId/data.go
@@ -4,16 +4,16 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/devService/getChnnlListByPsId"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ PsId valueTypes.Integer `json:"ps_id" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -41,30 +41,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
}
return entries
diff --git a/iSolarCloud/AppService/getChnnlListByPsId/struct.go b/iSolarCloud/AppService/getChnnlListByPsId/struct.go
index 3ed182ad7..a473ae999 100644
--- a/iSolarCloud/AppService/getChnnlListByPsId/struct.go
+++ b/iSolarCloud/AppService/getChnnlListByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCloudList/struct.go b/iSolarCloud/AppService/getCloudList/struct.go
index e9ae76262..25d54d3c5 100644
--- a/iSolarCloud/AppService/getCloudList/struct.go
+++ b/iSolarCloud/AppService/getCloudList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCloudServiceMappingConfig/struct.go b/iSolarCloud/AppService/getCloudServiceMappingConfig/struct.go
index c4b12d0f4..18c51846e 100644
--- a/iSolarCloud/AppService/getCloudServiceMappingConfig/struct.go
+++ b/iSolarCloud/AppService/getCloudServiceMappingConfig/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/struct.go b/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/struct.go
index e65ba6934..bea4b76b3 100644
--- a/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/struct.go
+++ b/iSolarCloud/AppService/getCommunicationDeviceConfigInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCommunicationModuleMonitorData/struct.go b/iSolarCloud/AppService/getCommunicationModuleMonitorData/struct.go
index ea9e94d84..f15bf7ca6 100644
--- a/iSolarCloud/AppService/getCommunicationModuleMonitorData/struct.go
+++ b/iSolarCloud/AppService/getCommunicationModuleMonitorData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getComponentModelFactory/struct.go b/iSolarCloud/AppService/getComponentModelFactory/struct.go
index 0beb0c4c3..6233ffe8d 100644
--- a/iSolarCloud/AppService/getComponentModelFactory/struct.go
+++ b/iSolarCloud/AppService/getComponentModelFactory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getConfigList/struct.go b/iSolarCloud/AppService/getConfigList/struct.go
index 31e58258e..78873ca21 100644
--- a/iSolarCloud/AppService/getConfigList/struct.go
+++ b/iSolarCloud/AppService/getConfigList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/struct.go b/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/struct.go
index af8d3082d..21e6cacad 100644
--- a/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/struct.go
+++ b/iSolarCloud/AppService/getConnectionInfoBySnAndLocalPort/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCountDown/struct.go b/iSolarCloud/AppService/getCountDown/struct.go
index c5606f5f2..3966abe83 100644
--- a/iSolarCloud/AppService/getCountDown/struct.go
+++ b/iSolarCloud/AppService/getCountDown/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCountryServiceInfo/struct.go b/iSolarCloud/AppService/getCountryServiceInfo/struct.go
index e0f947a5a..79382f566 100644
--- a/iSolarCloud/AppService/getCountryServiceInfo/struct.go
+++ b/iSolarCloud/AppService/getCountryServiceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCounty/struct.go b/iSolarCloud/AppService/getCounty/struct.go
index 9ad74f83f..41508bd40 100644
--- a/iSolarCloud/AppService/getCounty/struct.go
+++ b/iSolarCloud/AppService/getCounty/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCustomerEmployee/struct.go b/iSolarCloud/AppService/getCustomerEmployee/struct.go
index 4f8e3391d..113ac887b 100644
--- a/iSolarCloud/AppService/getCustomerEmployee/struct.go
+++ b/iSolarCloud/AppService/getCustomerEmployee/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getCustomerList/struct.go b/iSolarCloud/AppService/getCustomerList/struct.go
index c5ece6404..8b9d584a8 100644
--- a/iSolarCloud/AppService/getCustomerList/struct.go
+++ b/iSolarCloud/AppService/getCustomerList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDataFromHBase/struct.go b/iSolarCloud/AppService/getDataFromHBase/struct.go
index c245b5394..008ab3668 100644
--- a/iSolarCloud/AppService/getDataFromHBase/struct.go
+++ b/iSolarCloud/AppService/getDataFromHBase/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDataFromHbaseByRowKey/struct.go b/iSolarCloud/AppService/getDataFromHbaseByRowKey/struct.go
index b8943b84a..3f23b0469 100644
--- a/iSolarCloud/AppService/getDataFromHbaseByRowKey/struct.go
+++ b/iSolarCloud/AppService/getDataFromHbaseByRowKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevInstalledPowerByPsId/struct.go b/iSolarCloud/AppService/getDevInstalledPowerByPsId/struct.go
index eadb1515a..3c2f253b3 100644
--- a/iSolarCloud/AppService/getDevInstalledPowerByPsId/struct.go
+++ b/iSolarCloud/AppService/getDevInstalledPowerByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevRecord/struct.go b/iSolarCloud/AppService/getDevRecord/struct.go
index abd849fd1..e95065123 100644
--- a/iSolarCloud/AppService/getDevRecord/struct.go
+++ b/iSolarCloud/AppService/getDevRecord/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevRunRecordList/struct.go b/iSolarCloud/AppService/getDevRunRecordList/struct.go
index 020d08293..daba2c734 100644
--- a/iSolarCloud/AppService/getDevRunRecordList/struct.go
+++ b/iSolarCloud/AppService/getDevRunRecordList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevSimByList/struct.go b/iSolarCloud/AppService/getDevSimByList/struct.go
index 292c8cd5c..d57384923 100644
--- a/iSolarCloud/AppService/getDevSimByList/struct.go
+++ b/iSolarCloud/AppService/getDevSimByList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevSimList/struct.go b/iSolarCloud/AppService/getDevSimList/struct.go
index c272773db..b039ad25b 100644
--- a/iSolarCloud/AppService/getDevSimList/struct.go
+++ b/iSolarCloud/AppService/getDevSimList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceAccountById/struct.go b/iSolarCloud/AppService/getDeviceAccountById/struct.go
index 0b3cbdac8..da0e8032e 100644
--- a/iSolarCloud/AppService/getDeviceAccountById/struct.go
+++ b/iSolarCloud/AppService/getDeviceAccountById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceFaultStatisticsData/struct.go b/iSolarCloud/AppService/getDeviceFaultStatisticsData/struct.go
index 569d2cc0b..afa8ab56c 100644
--- a/iSolarCloud/AppService/getDeviceFaultStatisticsData/struct.go
+++ b/iSolarCloud/AppService/getDeviceFaultStatisticsData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceInfo/struct.go b/iSolarCloud/AppService/getDeviceInfo/struct.go
index 6f30bf85e..a7f4190b0 100644
--- a/iSolarCloud/AppService/getDeviceInfo/struct.go
+++ b/iSolarCloud/AppService/getDeviceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceList/struct.go b/iSolarCloud/AppService/getDeviceList/struct.go
index a05fe0baa..b15afee7b 100644
--- a/iSolarCloud/AppService/getDeviceList/struct.go
+++ b/iSolarCloud/AppService/getDeviceList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceModelInfoList/struct.go b/iSolarCloud/AppService/getDeviceModelInfoList/struct.go
index 4e9f07a2f..e59705e3c 100644
--- a/iSolarCloud/AppService/getDeviceModelInfoList/struct.go
+++ b/iSolarCloud/AppService/getDeviceModelInfoList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevicePointMinuteDataList/struct.go b/iSolarCloud/AppService/getDevicePointMinuteDataList/struct.go
index dc9715384..c2e2c1480 100644
--- a/iSolarCloud/AppService/getDevicePointMinuteDataList/struct.go
+++ b/iSolarCloud/AppService/getDevicePointMinuteDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevicePoints/struct.go b/iSolarCloud/AppService/getDevicePoints/struct.go
index 98556f6c4..f32c319aa 100644
--- a/iSolarCloud/AppService/getDevicePoints/struct.go
+++ b/iSolarCloud/AppService/getDevicePoints/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDevicePropertys/struct.go b/iSolarCloud/AppService/getDevicePropertys/struct.go
index 8fec71e8d..48560ca18 100644
--- a/iSolarCloud/AppService/getDevicePropertys/struct.go
+++ b/iSolarCloud/AppService/getDevicePropertys/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceRepairDetail/struct.go b/iSolarCloud/AppService/getDeviceRepairDetail/struct.go
index 4b9cb9917..58554fddc 100644
--- a/iSolarCloud/AppService/getDeviceRepairDetail/struct.go
+++ b/iSolarCloud/AppService/getDeviceRepairDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceTechBranchCount/struct.go b/iSolarCloud/AppService/getDeviceTechBranchCount/struct.go
index 512e7350d..0664319b4 100644
--- a/iSolarCloud/AppService/getDeviceTechBranchCount/struct.go
+++ b/iSolarCloud/AppService/getDeviceTechBranchCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceTypeInfoList/struct.go b/iSolarCloud/AppService/getDeviceTypeInfoList/struct.go
index d3563dc23..e7774f003 100644
--- a/iSolarCloud/AppService/getDeviceTypeInfoList/struct.go
+++ b/iSolarCloud/AppService/getDeviceTypeInfoList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDeviceTypeList/struct.go b/iSolarCloud/AppService/getDeviceTypeList/struct.go
index e72a5c129..3cd89375a 100644
--- a/iSolarCloud/AppService/getDeviceTypeList/struct.go
+++ b/iSolarCloud/AppService/getDeviceTypeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getDstInfo/struct.go b/iSolarCloud/AppService/getDstInfo/struct.go
index 95698b272..0505156f6 100644
--- a/iSolarCloud/AppService/getDstInfo/struct.go
+++ b/iSolarCloud/AppService/getDstInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getElectricitySettlementData/struct.go b/iSolarCloud/AppService/getElectricitySettlementData/struct.go
index e052ee3d5..345e2f4ca 100644
--- a/iSolarCloud/AppService/getElectricitySettlementData/struct.go
+++ b/iSolarCloud/AppService/getElectricitySettlementData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getElectricitySettlementDetailData/struct.go b/iSolarCloud/AppService/getElectricitySettlementDetailData/struct.go
index 44461785b..471461b1f 100644
--- a/iSolarCloud/AppService/getElectricitySettlementDetailData/struct.go
+++ b/iSolarCloud/AppService/getElectricitySettlementDetailData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getEncryptPublicKey/struct.go b/iSolarCloud/AppService/getEncryptPublicKey/struct.go
index 5262d77f5..d9275b2e1 100644
--- a/iSolarCloud/AppService/getEncryptPublicKey/struct.go
+++ b/iSolarCloud/AppService/getEncryptPublicKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFaultCount/struct.go b/iSolarCloud/AppService/getFaultCount/struct.go
index 9018c03f3..345b0615d 100644
--- a/iSolarCloud/AppService/getFaultCount/struct.go
+++ b/iSolarCloud/AppService/getFaultCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFaultDetail/struct.go b/iSolarCloud/AppService/getFaultDetail/struct.go
index e6cf36b62..7236e624f 100644
--- a/iSolarCloud/AppService/getFaultDetail/struct.go
+++ b/iSolarCloud/AppService/getFaultDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFaultMsgByFaultCode/struct.go b/iSolarCloud/AppService/getFaultMsgByFaultCode/struct.go
index e4f91436d..e31f7ca02 100644
--- a/iSolarCloud/AppService/getFaultMsgByFaultCode/struct.go
+++ b/iSolarCloud/AppService/getFaultMsgByFaultCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/struct.go b/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/struct.go
index 34749a22b..4e4252205 100644
--- a/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/struct.go
+++ b/iSolarCloud/AppService/getFaultMsgListByPageWithYYYYMM/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/struct.go b/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/struct.go
index 0c53efca4..6c5a07b03 100644
--- a/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/struct.go
+++ b/iSolarCloud/AppService/getFaultMsgListWithYYYYMM/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFaultPlanList/struct.go b/iSolarCloud/AppService/getFaultPlanList/struct.go
index 38df6ada0..dc0f9da39 100644
--- a/iSolarCloud/AppService/getFaultPlanList/struct.go
+++ b/iSolarCloud/AppService/getFaultPlanList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFileOperationRecordOne/struct.go b/iSolarCloud/AppService/getFileOperationRecordOne/struct.go
index e970a3e64..dda0da5dc 100644
--- a/iSolarCloud/AppService/getFileOperationRecordOne/struct.go
+++ b/iSolarCloud/AppService/getFileOperationRecordOne/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getFormulaFaultAnalyseList/struct.go b/iSolarCloud/AppService/getFormulaFaultAnalyseList/struct.go
index 66a6417fb..b0e2d7bc6 100644
--- a/iSolarCloud/AppService/getFormulaFaultAnalyseList/struct.go
+++ b/iSolarCloud/AppService/getFormulaFaultAnalyseList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getGroupStringCheckResult/struct.go b/iSolarCloud/AppService/getGroupStringCheckResult/struct.go
index cf2d07c5c..8cd959ac6 100644
--- a/iSolarCloud/AppService/getGroupStringCheckResult/struct.go
+++ b/iSolarCloud/AppService/getGroupStringCheckResult/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getGroupStringCheckRule/struct.go b/iSolarCloud/AppService/getGroupStringCheckRule/struct.go
index 33014e4f2..3fc4bdfb1 100644
--- a/iSolarCloud/AppService/getGroupStringCheckRule/struct.go
+++ b/iSolarCloud/AppService/getGroupStringCheckRule/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHisData/struct.go b/iSolarCloud/AppService/getHisData/struct.go
index ec52f7025..75ca06186 100644
--- a/iSolarCloud/AppService/getHisData/struct.go
+++ b/iSolarCloud/AppService/getHisData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHistoryInfo/struct.go b/iSolarCloud/AppService/getHistoryInfo/struct.go
index 215076dfc..8f48e21a3 100644
--- a/iSolarCloud/AppService/getHistoryInfo/struct.go
+++ b/iSolarCloud/AppService/getHistoryInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdEvaluation/struct.go b/iSolarCloud/AppService/getHouseholdEvaluation/struct.go
index 63d8ceade..efd87f32d 100644
--- a/iSolarCloud/AppService/getHouseholdEvaluation/struct.go
+++ b/iSolarCloud/AppService/getHouseholdEvaluation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdLeaveMessage/struct.go b/iSolarCloud/AppService/getHouseholdLeaveMessage/struct.go
index 21a25908a..141d16e2a 100644
--- a/iSolarCloud/AppService/getHouseholdLeaveMessage/struct.go
+++ b/iSolarCloud/AppService/getHouseholdLeaveMessage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdOpinionFeedback/struct.go b/iSolarCloud/AppService/getHouseholdOpinionFeedback/struct.go
index 7c362c197..3a31b3fb6 100644
--- a/iSolarCloud/AppService/getHouseholdOpinionFeedback/struct.go
+++ b/iSolarCloud/AppService/getHouseholdOpinionFeedback/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/struct.go b/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/struct.go
index 4b5d5664d..2425f0bcc 100644
--- a/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/struct.go
+++ b/iSolarCloud/AppService/getHouseholdPsInstallerByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdStoragePsReport/struct.go b/iSolarCloud/AppService/getHouseholdStoragePsReport/struct.go
index a3fc44134..e9a618675 100644
--- a/iSolarCloud/AppService/getHouseholdStoragePsReport/struct.go
+++ b/iSolarCloud/AppService/getHouseholdStoragePsReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdUserInfo/struct.go b/iSolarCloud/AppService/getHouseholdUserInfo/struct.go
index 9294bea76..209e78f8e 100644
--- a/iSolarCloud/AppService/getHouseholdUserInfo/struct.go
+++ b/iSolarCloud/AppService/getHouseholdUserInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdWorkOrderInfo/struct.go b/iSolarCloud/AppService/getHouseholdWorkOrderInfo/struct.go
index 9df571902..c80639925 100644
--- a/iSolarCloud/AppService/getHouseholdWorkOrderInfo/struct.go
+++ b/iSolarCloud/AppService/getHouseholdWorkOrderInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getHouseholdWorkOrderList/struct.go b/iSolarCloud/AppService/getHouseholdWorkOrderList/struct.go
index 0f1299c94..68904bd0c 100644
--- a/iSolarCloud/AppService/getHouseholdWorkOrderList/struct.go
+++ b/iSolarCloud/AppService/getHouseholdWorkOrderList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getI18nConfigByType/struct.go b/iSolarCloud/AppService/getI18nConfigByType/struct.go
index dbe1d1119..b03c9aa4a 100644
--- a/iSolarCloud/AppService/getI18nConfigByType/struct.go
+++ b/iSolarCloud/AppService/getI18nConfigByType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getI18nFileInfo/struct.go b/iSolarCloud/AppService/getI18nFileInfo/struct.go
index 087cc340b..36e3cfce5 100644
--- a/iSolarCloud/AppService/getI18nFileInfo/struct.go
+++ b/iSolarCloud/AppService/getI18nFileInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getI18nInfoByKey/struct.go b/iSolarCloud/AppService/getI18nInfoByKey/struct.go
index a7f971a4b..a35c95a7a 100644
--- a/iSolarCloud/AppService/getI18nInfoByKey/struct.go
+++ b/iSolarCloud/AppService/getI18nInfoByKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getI18nVersion/struct.go b/iSolarCloud/AppService/getI18nVersion/struct.go
index 4a574dd63..cddcdad53 100644
--- a/iSolarCloud/AppService/getI18nVersion/struct.go
+++ b/iSolarCloud/AppService/getI18nVersion/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getIncomeSettingInfos/struct.go b/iSolarCloud/AppService/getIncomeSettingInfos/struct.go
index 994ed79ed..cde173a9b 100644
--- a/iSolarCloud/AppService/getIncomeSettingInfos/struct.go
+++ b/iSolarCloud/AppService/getIncomeSettingInfos/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInfoFromAMap/struct.go b/iSolarCloud/AppService/getInfoFromAMap/struct.go
index 64f1e4deb..afb7982e0 100644
--- a/iSolarCloud/AppService/getInfoFromAMap/struct.go
+++ b/iSolarCloud/AppService/getInfoFromAMap/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInfomationFromRedis/struct.go b/iSolarCloud/AppService/getInfomationFromRedis/struct.go
index 6635fd4d7..fd97ae68f 100644
--- a/iSolarCloud/AppService/getInfomationFromRedis/struct.go
+++ b/iSolarCloud/AppService/getInfomationFromRedis/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInstallInfoList/struct.go b/iSolarCloud/AppService/getInstallInfoList/struct.go
index eebb65281..89187c215 100644
--- a/iSolarCloud/AppService/getInstallInfoList/struct.go
+++ b/iSolarCloud/AppService/getInstallInfoList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go b/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go
index 67f515796..be3822b18 100644
--- a/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go
+++ b/iSolarCloud/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInvertDataList/struct.go b/iSolarCloud/AppService/getInvertDataList/struct.go
index c05e227cf..aba8868d8 100644
--- a/iSolarCloud/AppService/getInvertDataList/struct.go
+++ b/iSolarCloud/AppService/getInvertDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInverterDataCount/struct.go b/iSolarCloud/AppService/getInverterDataCount/struct.go
index 7b99e7a49..e529e7042 100644
--- a/iSolarCloud/AppService/getInverterDataCount/struct.go
+++ b/iSolarCloud/AppService/getInverterDataCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInverterProcess/struct.go b/iSolarCloud/AppService/getInverterProcess/struct.go
index 614994d5c..4468d999a 100644
--- a/iSolarCloud/AppService/getInverterProcess/struct.go
+++ b/iSolarCloud/AppService/getInverterProcess/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getInverterUuidBytotalId/struct.go b/iSolarCloud/AppService/getInverterUuidBytotalId/struct.go
index 82774945c..6e502ceb5 100644
--- a/iSolarCloud/AppService/getInverterUuidBytotalId/struct.go
+++ b/iSolarCloud/AppService/getInverterUuidBytotalId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getIvEchartsData/struct.go b/iSolarCloud/AppService/getIvEchartsData/struct.go
index 48c15592a..aa5b5083e 100644
--- a/iSolarCloud/AppService/getIvEchartsData/struct.go
+++ b/iSolarCloud/AppService/getIvEchartsData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getIvEchartsDataById/struct.go b/iSolarCloud/AppService/getIvEchartsDataById/struct.go
index 4e40e1891..2878854ab 100644
--- a/iSolarCloud/AppService/getIvEchartsDataById/struct.go
+++ b/iSolarCloud/AppService/getIvEchartsDataById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getKpiInfo/struct.go b/iSolarCloud/AppService/getKpiInfo/struct.go
index 32d207911..8d1cbcb62 100644
--- a/iSolarCloud/AppService/getKpiInfo/struct.go
+++ b/iSolarCloud/AppService/getKpiInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getListMiFromHBase/struct.go b/iSolarCloud/AppService/getListMiFromHBase/struct.go
index c081f334c..9f95a47f5 100644
--- a/iSolarCloud/AppService/getListMiFromHBase/struct.go
+++ b/iSolarCloud/AppService/getListMiFromHBase/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getMapInfo/struct.go b/iSolarCloud/AppService/getMapInfo/struct.go
index baa0a5bf6..1934021b9 100644
--- a/iSolarCloud/AppService/getMapInfo/struct.go
+++ b/iSolarCloud/AppService/getMapInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getMapMiFromHBase/struct.go b/iSolarCloud/AppService/getMapMiFromHBase/struct.go
index 552ca6a97..7ca2b2d76 100644
--- a/iSolarCloud/AppService/getMapMiFromHBase/struct.go
+++ b/iSolarCloud/AppService/getMapMiFromHBase/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getMenuAndPrivileges/struct.go b/iSolarCloud/AppService/getMenuAndPrivileges/struct.go
index 5566010b1..ad345e070 100644
--- a/iSolarCloud/AppService/getMenuAndPrivileges/struct.go
+++ b/iSolarCloud/AppService/getMenuAndPrivileges/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getMicrogridEStoragePsReport/struct.go b/iSolarCloud/AppService/getMicrogridEStoragePsReport/struct.go
index a80058e62..8d7119712 100644
--- a/iSolarCloud/AppService/getMicrogridEStoragePsReport/struct.go
+++ b/iSolarCloud/AppService/getMicrogridEStoragePsReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getModuleLogInfo/struct.go b/iSolarCloud/AppService/getModuleLogInfo/struct.go
index 902f66875..414cbe808 100644
--- a/iSolarCloud/AppService/getModuleLogInfo/struct.go
+++ b/iSolarCloud/AppService/getModuleLogInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getModuleLogTaskList/struct.go b/iSolarCloud/AppService/getModuleLogTaskList/struct.go
index 5a6892b81..f67d5df32 100644
--- a/iSolarCloud/AppService/getModuleLogTaskList/struct.go
+++ b/iSolarCloud/AppService/getModuleLogTaskList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getNationProvJSON/struct.go b/iSolarCloud/AppService/getNationProvJSON/struct.go
index 88fe67538..1547a47bb 100644
--- a/iSolarCloud/AppService/getNationProvJSON/struct.go
+++ b/iSolarCloud/AppService/getNationProvJSON/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getNeedOpAsynOpRecordList/struct.go b/iSolarCloud/AppService/getNeedOpAsynOpRecordList/struct.go
index cc3e0d339..6538be7b3 100644
--- a/iSolarCloud/AppService/getNeedOpAsynOpRecordList/struct.go
+++ b/iSolarCloud/AppService/getNeedOpAsynOpRecordList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getNoticeInfo/struct.go b/iSolarCloud/AppService/getNoticeInfo/struct.go
index f9afe8ac6..b8b677cbb 100644
--- a/iSolarCloud/AppService/getNoticeInfo/struct.go
+++ b/iSolarCloud/AppService/getNoticeInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getNumberOfServiceCalls/struct.go b/iSolarCloud/AppService/getNumberOfServiceCalls/struct.go
index 1d60013d1..e8a0272ec 100644
--- a/iSolarCloud/AppService/getNumberOfServiceCalls/struct.go
+++ b/iSolarCloud/AppService/getNumberOfServiceCalls/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOSSConfig/struct.go b/iSolarCloud/AppService/getOSSConfig/struct.go
index a62cffb57..4d6db3000 100644
--- a/iSolarCloud/AppService/getOSSConfig/struct.go
+++ b/iSolarCloud/AppService/getOSSConfig/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOperRuleDetail/struct.go b/iSolarCloud/AppService/getOperRuleDetail/struct.go
index cd0616912..aa6266bdb 100644
--- a/iSolarCloud/AppService/getOperRuleDetail/struct.go
+++ b/iSolarCloud/AppService/getOperRuleDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOperateBillFileId/struct.go b/iSolarCloud/AppService/getOperateBillFileId/struct.go
index ae7d150dd..108087c2a 100644
--- a/iSolarCloud/AppService/getOperateBillFileId/struct.go
+++ b/iSolarCloud/AppService/getOperateBillFileId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOperateTicketForDetail/struct.go b/iSolarCloud/AppService/getOperateTicketForDetail/struct.go
index 7e587f507..5c9fd34c2 100644
--- a/iSolarCloud/AppService/getOperateTicketForDetail/struct.go
+++ b/iSolarCloud/AppService/getOperateTicketForDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrCreateNetEaseUserToken/struct.go b/iSolarCloud/AppService/getOrCreateNetEaseUserToken/struct.go
index b5035355e..1010ad51f 100644
--- a/iSolarCloud/AppService/getOrCreateNetEaseUserToken/struct.go
+++ b/iSolarCloud/AppService/getOrCreateNetEaseUserToken/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrderDataList/struct.go b/iSolarCloud/AppService/getOrderDataList/struct.go
index 14961498c..63e68547e 100644
--- a/iSolarCloud/AppService/getOrderDataList/struct.go
+++ b/iSolarCloud/AppService/getOrderDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrderDataSql2/struct.go b/iSolarCloud/AppService/getOrderDataSql2/struct.go
index 93955c289..399daf261 100644
--- a/iSolarCloud/AppService/getOrderDataSql2/struct.go
+++ b/iSolarCloud/AppService/getOrderDataSql2/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrderDatas/struct.go b/iSolarCloud/AppService/getOrderDatas/struct.go
index 1ac83ef6d..3037f6efc 100644
--- a/iSolarCloud/AppService/getOrderDatas/struct.go
+++ b/iSolarCloud/AppService/getOrderDatas/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrderDetail/struct.go b/iSolarCloud/AppService/getOrderDetail/struct.go
index 508ddd7e5..171ff6d3c 100644
--- a/iSolarCloud/AppService/getOrderDetail/struct.go
+++ b/iSolarCloud/AppService/getOrderDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrderStatistics/struct.go b/iSolarCloud/AppService/getOrderStatistics/struct.go
index 4d525487d..73bf41f8a 100644
--- a/iSolarCloud/AppService/getOrderStatistics/struct.go
+++ b/iSolarCloud/AppService/getOrderStatistics/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrgIdNameByUserId/struct.go b/iSolarCloud/AppService/getOrgIdNameByUserId/struct.go
index 20f0a11e4..166704c06 100644
--- a/iSolarCloud/AppService/getOrgIdNameByUserId/struct.go
+++ b/iSolarCloud/AppService/getOrgIdNameByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/struct.go b/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/struct.go
index b579f151b..c3097f7aa 100644
--- a/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/struct.go
+++ b/iSolarCloud/AppService/getOrgInfoByDealerOrgCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrgListByName/struct.go b/iSolarCloud/AppService/getOrgListByName/struct.go
index 54126fc1e..3f22dcfc0 100644
--- a/iSolarCloud/AppService/getOrgListByName/struct.go
+++ b/iSolarCloud/AppService/getOrgListByName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrgListByUserId/struct.go b/iSolarCloud/AppService/getOrgListByUserId/struct.go
index 6b0458c9c..49f1a3168 100644
--- a/iSolarCloud/AppService/getOrgListByUserId/struct.go
+++ b/iSolarCloud/AppService/getOrgListByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOrgListForUser/struct.go b/iSolarCloud/AppService/getOrgListForUser/struct.go
index 552574099..5b313c4df 100644
--- a/iSolarCloud/AppService/getOrgListForUser/struct.go
+++ b/iSolarCloud/AppService/getOrgListForUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOssObjectStream/struct.go b/iSolarCloud/AppService/getOssObjectStream/struct.go
index 930570647..7328ee21f 100644
--- a/iSolarCloud/AppService/getOssObjectStream/struct.go
+++ b/iSolarCloud/AppService/getOssObjectStream/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getOwnerFaultConfigList/struct.go b/iSolarCloud/AppService/getOwnerFaultConfigList/struct.go
index df50379c5..31050e2a9 100644
--- a/iSolarCloud/AppService/getOwnerFaultConfigList/struct.go
+++ b/iSolarCloud/AppService/getOwnerFaultConfigList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPListinfoFromMysql/struct.go b/iSolarCloud/AppService/getPListinfoFromMysql/struct.go
index 443bc62f3..94b6e4f28 100644
--- a/iSolarCloud/AppService/getPListinfoFromMysql/struct.go
+++ b/iSolarCloud/AppService/getPListinfoFromMysql/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/struct.go b/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/struct.go
index 7bcc7f1dd..afbc96236 100644
--- a/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/struct.go
+++ b/iSolarCloud/AppService/getParamSetTemplate4NewProtocol/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getParamSetTemplatePointInfo/struct.go b/iSolarCloud/AppService/getParamSetTemplatePointInfo/struct.go
index f803ab5dc..847d0d9ce 100644
--- a/iSolarCloud/AppService/getParamSetTemplatePointInfo/struct.go
+++ b/iSolarCloud/AppService/getParamSetTemplatePointInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getParamterSettingBase/struct.go b/iSolarCloud/AppService/getParamterSettingBase/struct.go
index 35a4ea565..0fc05641d 100644
--- a/iSolarCloud/AppService/getParamterSettingBase/struct.go
+++ b/iSolarCloud/AppService/getParamterSettingBase/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPhotoInfo/struct.go b/iSolarCloud/AppService/getPhotoInfo/struct.go
index fa4e859fc..0b32b9883 100644
--- a/iSolarCloud/AppService/getPhotoInfo/struct.go
+++ b/iSolarCloud/AppService/getPhotoInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPlanedOrNotPsList/struct.go b/iSolarCloud/AppService/getPlanedOrNotPsList/struct.go
index 46e42ab73..cd67556b9 100644
--- a/iSolarCloud/AppService/getPlanedOrNotPsList/struct.go
+++ b/iSolarCloud/AppService/getPlanedOrNotPsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPlantReportPDFList/struct.go b/iSolarCloud/AppService/getPlantReportPDFList/struct.go
index 286290757..3ef3dae7c 100644
--- a/iSolarCloud/AppService/getPlantReportPDFList/struct.go
+++ b/iSolarCloud/AppService/getPlantReportPDFList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerChargeSettingInfo/struct.go b/iSolarCloud/AppService/getPowerChargeSettingInfo/struct.go
index 0d046c6e7..f25095549 100644
--- a/iSolarCloud/AppService/getPowerChargeSettingInfo/struct.go
+++ b/iSolarCloud/AppService/getPowerChargeSettingInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerDeviceModelTechList/struct.go b/iSolarCloud/AppService/getPowerDeviceModelTechList/struct.go
index 66dcc823a..bfbe10e0c 100644
--- a/iSolarCloud/AppService/getPowerDeviceModelTechList/struct.go
+++ b/iSolarCloud/AppService/getPowerDeviceModelTechList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerDeviceModelTree/struct.go b/iSolarCloud/AppService/getPowerDeviceModelTree/struct.go
index 3a494e04b..1bebc5b7f 100644
--- a/iSolarCloud/AppService/getPowerDeviceModelTree/struct.go
+++ b/iSolarCloud/AppService/getPowerDeviceModelTree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerDevicePointInfo/struct.go b/iSolarCloud/AppService/getPowerDevicePointInfo/struct.go
index 53455f746..f2d0b4435 100644
--- a/iSolarCloud/AppService/getPowerDevicePointInfo/struct.go
+++ b/iSolarCloud/AppService/getPowerDevicePointInfo/struct.go
@@ -371,3 +371,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerDevicePointNames/struct.go b/iSolarCloud/AppService/getPowerDevicePointNames/struct.go
index d05399fa9..afbbbf4b5 100644
--- a/iSolarCloud/AppService/getPowerDevicePointNames/struct.go
+++ b/iSolarCloud/AppService/getPowerDevicePointNames/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/struct.go b/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/struct.go
index 5b556c7d0..b7ecba700 100644
--- a/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/struct.go
+++ b/iSolarCloud/AppService/getPowerDeviceSetTaskDetailList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerDeviceSetTaskList/struct.go b/iSolarCloud/AppService/getPowerDeviceSetTaskList/struct.go
index 1f8081b0b..8f8c1788d 100644
--- a/iSolarCloud/AppService/getPowerDeviceSetTaskList/struct.go
+++ b/iSolarCloud/AppService/getPowerDeviceSetTaskList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/struct.go b/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/struct.go
index 89eb06641..222100567 100644
--- a/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/struct.go
+++ b/iSolarCloud/AppService/getPowerFormulaFaultAnalyse/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerPictureList/struct.go b/iSolarCloud/AppService/getPowerPictureList/struct.go
index 0b31006cb..a7cdcde4d 100644
--- a/iSolarCloud/AppService/getPowerPictureList/struct.go
+++ b/iSolarCloud/AppService/getPowerPictureList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/struct.go b/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/struct.go
index 235eb1876..aa45a453a 100644
--- a/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/struct.go
+++ b/iSolarCloud/AppService/getPowerRobotInfoByRobotSn/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/struct.go b/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/struct.go
index 93555d404..05ada688d 100644
--- a/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/struct.go
+++ b/iSolarCloud/AppService/getPowerRobotSweepAttrByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerRobotSweepStrategy/struct.go b/iSolarCloud/AppService/getPowerRobotSweepStrategy/struct.go
index b87807101..d1a14783d 100644
--- a/iSolarCloud/AppService/getPowerRobotSweepStrategy/struct.go
+++ b/iSolarCloud/AppService/getPowerRobotSweepStrategy/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerRobotSweepStrategyList/struct.go b/iSolarCloud/AppService/getPowerRobotSweepStrategyList/struct.go
index 459d6c2c3..b34eb5a00 100644
--- a/iSolarCloud/AppService/getPowerRobotSweepStrategyList/struct.go
+++ b/iSolarCloud/AppService/getPowerRobotSweepStrategyList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerSettingCharges/struct.go b/iSolarCloud/AppService/getPowerSettingCharges/struct.go
index a4e6ded6f..53bad36ab 100644
--- a/iSolarCloud/AppService/getPowerSettingCharges/struct.go
+++ b/iSolarCloud/AppService/getPowerSettingCharges/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerSettingHistoryRecords/struct.go b/iSolarCloud/AppService/getPowerSettingHistoryRecords/struct.go
index 38c4378ac..64b30faef 100644
--- a/iSolarCloud/AppService/getPowerSettingHistoryRecords/struct.go
+++ b/iSolarCloud/AppService/getPowerSettingHistoryRecords/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationBasicInfo/struct.go b/iSolarCloud/AppService/getPowerStationBasicInfo/struct.go
index 2cf175357..ea47a1fd2 100644
--- a/iSolarCloud/AppService/getPowerStationBasicInfo/struct.go
+++ b/iSolarCloud/AppService/getPowerStationBasicInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationData/struct.go b/iSolarCloud/AppService/getPowerStationData/struct.go
index e1162a552..caa14de8b 100644
--- a/iSolarCloud/AppService/getPowerStationData/struct.go
+++ b/iSolarCloud/AppService/getPowerStationData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationForHousehold/struct.go b/iSolarCloud/AppService/getPowerStationForHousehold/struct.go
index dd7fa2efc..6300da54b 100644
--- a/iSolarCloud/AppService/getPowerStationForHousehold/struct.go
+++ b/iSolarCloud/AppService/getPowerStationForHousehold/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationInfo/struct.go b/iSolarCloud/AppService/getPowerStationInfo/struct.go
index f9b5eb3ca..3292f4e10 100644
--- a/iSolarCloud/AppService/getPowerStationInfo/struct.go
+++ b/iSolarCloud/AppService/getPowerStationInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationPR/struct.go b/iSolarCloud/AppService/getPowerStationPR/struct.go
index b8f3d4fce..d7703dd6b 100644
--- a/iSolarCloud/AppService/getPowerStationPR/struct.go
+++ b/iSolarCloud/AppService/getPowerStationPR/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationTableDataSql/struct.go b/iSolarCloud/AppService/getPowerStationTableDataSql/struct.go
index 510f10e12..97e32c580 100644
--- a/iSolarCloud/AppService/getPowerStationTableDataSql/struct.go
+++ b/iSolarCloud/AppService/getPowerStationTableDataSql/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStationTableDataSqlCount/struct.go b/iSolarCloud/AppService/getPowerStationTableDataSqlCount/struct.go
index 135bbdb0d..6e29c5670 100644
--- a/iSolarCloud/AppService/getPowerStationTableDataSqlCount/struct.go
+++ b/iSolarCloud/AppService/getPowerStationTableDataSqlCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerStatistics/struct.go b/iSolarCloud/AppService/getPowerStatistics/struct.go
index d68754595..8c6785477 100644
--- a/iSolarCloud/AppService/getPowerStatistics/struct.go
+++ b/iSolarCloud/AppService/getPowerStatistics/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPowerTrendDayData/struct.go b/iSolarCloud/AppService/getPowerTrendDayData/struct.go
index cfc16e0f4..a8e778129 100644
--- a/iSolarCloud/AppService/getPowerTrendDayData/struct.go
+++ b/iSolarCloud/AppService/getPowerTrendDayData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPrivateCloudValidityPeriod/struct.go b/iSolarCloud/AppService/getPrivateCloudValidityPeriod/struct.go
index 952a321b9..3248f09f6 100644
--- a/iSolarCloud/AppService/getPrivateCloudValidityPeriod/struct.go
+++ b/iSolarCloud/AppService/getPrivateCloudValidityPeriod/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getProvInfoListByNationCode/struct.go b/iSolarCloud/AppService/getProvInfoListByNationCode/struct.go
index 493fa1909..4cc42d1f7 100644
--- a/iSolarCloud/AppService/getProvInfoListByNationCode/struct.go
+++ b/iSolarCloud/AppService/getProvInfoListByNationCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsAuthKey/struct.go b/iSolarCloud/AppService/getPsAuthKey/struct.go
index f03c6e7ce..6b1b5bb41 100644
--- a/iSolarCloud/AppService/getPsAuthKey/struct.go
+++ b/iSolarCloud/AppService/getPsAuthKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsCurveInfo/struct.go b/iSolarCloud/AppService/getPsCurveInfo/struct.go
index b5a6d534e..0f5499f52 100644
--- a/iSolarCloud/AppService/getPsCurveInfo/struct.go
+++ b/iSolarCloud/AppService/getPsCurveInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsDataSupplementTaskList/struct.go b/iSolarCloud/AppService/getPsDataSupplementTaskList/struct.go
index e58ee1b32..6fce0ba72 100644
--- a/iSolarCloud/AppService/getPsDataSupplementTaskList/struct.go
+++ b/iSolarCloud/AppService/getPsDataSupplementTaskList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsDetail/struct.go b/iSolarCloud/AppService/getPsDetail/struct.go
index e43a682e2..12da5cf3f 100644
--- a/iSolarCloud/AppService/getPsDetail/struct.go
+++ b/iSolarCloud/AppService/getPsDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsDetailByUserTokens/struct.go b/iSolarCloud/AppService/getPsDetailByUserTokens/struct.go
index 7a7448093..e0ba0b140 100644
--- a/iSolarCloud/AppService/getPsDetailByUserTokens/struct.go
+++ b/iSolarCloud/AppService/getPsDetailByUserTokens/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsDetailForSinglePage/struct.go b/iSolarCloud/AppService/getPsDetailForSinglePage/struct.go
index 0ec1b6c86..dadccbab9 100644
--- a/iSolarCloud/AppService/getPsDetailForSinglePage/struct.go
+++ b/iSolarCloud/AppService/getPsDetailForSinglePage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsDetailWithPsType/struct.go b/iSolarCloud/AppService/getPsDetailWithPsType/struct.go
index f74284cd3..ce5f0c061 100644
--- a/iSolarCloud/AppService/getPsDetailWithPsType/struct.go
+++ b/iSolarCloud/AppService/getPsDetailWithPsType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsHealthState/struct.go b/iSolarCloud/AppService/getPsHealthState/struct.go
index 6f6fee980..f1212bb6b 100644
--- a/iSolarCloud/AppService/getPsHealthState/struct.go
+++ b/iSolarCloud/AppService/getPsHealthState/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsInstallerByPsId/struct.go b/iSolarCloud/AppService/getPsInstallerByPsId/struct.go
index e8367db77..55ce61307 100644
--- a/iSolarCloud/AppService/getPsInstallerByPsId/struct.go
+++ b/iSolarCloud/AppService/getPsInstallerByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/struct.go b/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/struct.go
index 85599d6cd..36876ded5 100644
--- a/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/struct.go
+++ b/iSolarCloud/AppService/getPsInstallerOrgInfoByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsList/struct.go b/iSolarCloud/AppService/getPsList/struct.go
index f2150eff4..e05ed4e74 100644
--- a/iSolarCloud/AppService/getPsList/struct.go
+++ b/iSolarCloud/AppService/getPsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsListByName/struct.go b/iSolarCloud/AppService/getPsListByName/struct.go
index ec9a33fbd..05c665a8e 100644
--- a/iSolarCloud/AppService/getPsListByName/struct.go
+++ b/iSolarCloud/AppService/getPsListByName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsListForPsDataByPsId/struct.go b/iSolarCloud/AppService/getPsListForPsDataByPsId/struct.go
index 75760a3f5..4f8e8859d 100644
--- a/iSolarCloud/AppService/getPsListForPsDataByPsId/struct.go
+++ b/iSolarCloud/AppService/getPsListForPsDataByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsListStaticData/struct.go b/iSolarCloud/AppService/getPsListStaticData/struct.go
index 45e82ba3c..631133589 100644
--- a/iSolarCloud/AppService/getPsListStaticData/struct.go
+++ b/iSolarCloud/AppService/getPsListStaticData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsReport/struct.go b/iSolarCloud/AppService/getPsReport/struct.go
index dee1bc0a8..4ee1828a0 100644
--- a/iSolarCloud/AppService/getPsReport/struct.go
+++ b/iSolarCloud/AppService/getPsReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsUser/struct.go b/iSolarCloud/AppService/getPsUser/struct.go
index 228ef3900..63d3a8b59 100644
--- a/iSolarCloud/AppService/getPsUser/struct.go
+++ b/iSolarCloud/AppService/getPsUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getPsWeatherList/struct.go b/iSolarCloud/AppService/getPsWeatherList/struct.go
index 82de402d5..627035ac3 100644
--- a/iSolarCloud/AppService/getPsWeatherList/struct.go
+++ b/iSolarCloud/AppService/getPsWeatherList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRechargeOrderDetail/struct.go b/iSolarCloud/AppService/getRechargeOrderDetail/struct.go
index 96ea93368..490820ab5 100644
--- a/iSolarCloud/AppService/getRechargeOrderDetail/struct.go
+++ b/iSolarCloud/AppService/getRechargeOrderDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRechargeOrderItemDeviceList/struct.go b/iSolarCloud/AppService/getRechargeOrderItemDeviceList/struct.go
index 40b7126db..d9ac3d292 100644
--- a/iSolarCloud/AppService/getRechargeOrderItemDeviceList/struct.go
+++ b/iSolarCloud/AppService/getRechargeOrderItemDeviceList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRechargeOrderList/struct.go b/iSolarCloud/AppService/getRechargeOrderList/struct.go
index c1d1eb104..999dd5b83 100644
--- a/iSolarCloud/AppService/getRechargeOrderList/struct.go
+++ b/iSolarCloud/AppService/getRechargeOrderList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRegionalTree/struct.go b/iSolarCloud/AppService/getRegionalTree/struct.go
index 29e7eba3c..4166e38c8 100644
--- a/iSolarCloud/AppService/getRegionalTree/struct.go
+++ b/iSolarCloud/AppService/getRegionalTree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRemoteParamSettingList/struct.go b/iSolarCloud/AppService/getRemoteParamSettingList/struct.go
index 68d85e23b..2c8f8d741 100644
--- a/iSolarCloud/AppService/getRemoteParamSettingList/struct.go
+++ b/iSolarCloud/AppService/getRemoteParamSettingList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRemoteUpgradeDeviceList/struct.go b/iSolarCloud/AppService/getRemoteUpgradeDeviceList/struct.go
index 368a57d39..d9f8923f1 100644
--- a/iSolarCloud/AppService/getRemoteUpgradeDeviceList/struct.go
+++ b/iSolarCloud/AppService/getRemoteUpgradeDeviceList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/struct.go b/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/struct.go
index 465edf89b..973909dd7 100644
--- a/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/struct.go
+++ b/iSolarCloud/AppService/getRemoteUpgradeScheduleDetails/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/struct.go b/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/struct.go
index c58aa5e6a..7862ebb81 100644
--- a/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/struct.go
+++ b/iSolarCloud/AppService/getRemoteUpgradeSubTasksList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRemoteUpgradeTaskList/struct.go b/iSolarCloud/AppService/getRemoteUpgradeTaskList/struct.go
index d31f33b51..362b56ea1 100644
--- a/iSolarCloud/AppService/getRemoteUpgradeTaskList/struct.go
+++ b/iSolarCloud/AppService/getRemoteUpgradeTaskList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getReportData/data.go b/iSolarCloud/AppService/getReportData/data.go
index ee95d6ddc..d7c98b923 100644
--- a/iSolarCloud/AppService/getReportData/data.go
+++ b/iSolarCloud/AppService/getReportData/data.go
@@ -202,24 +202,6 @@ func (e *EndPoint) GetData() api.DataMap {
dt := valueTypes.NewDateTime(valueTypes.Now)
name := pkg + "." + e.Request.PsId.String()
entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
-
- // pkg := apiReflect.GetName("", *e)
- // entries.StructToPoints(e.Response.ResultData, pkg, e.Request.PsId.String(), valueTypes.NewDateTime(""))
- //
- // s := valueTypes.SizeOfArrayLength(e.Response.ResultData.DataList)
- // for _, v := range e.Response.ResultData.DataList {
- // entries.StructToPoints(v, api.JoinWithDots(s, valueTypes.DateTimeLayoutDay, pkg, "DataList", v.PsId, v.DateId), v.PsId.String(), valueTypes.NewDateTime(""))
- // }
- //
- // s = valueTypes.SizeOfArrayLength(e.Response.ResultData.Info)
- // for i, v := range e.Response.ResultData.Info {
- // entries.StructToPoints(v, api.JoinWithDots(s, valueTypes.DateTimeLayoutDay, pkg, "Info", v.PsId, i), v.PsId.String(), valueTypes.NewDateTime(""))
- // }
- //
- // s = valueTypes.SizeOfArrayLength(e.Response.ResultData.Total)
- // for i, v := range e.Response.ResultData.Total {
- // entries.StructToPoints(v, api.JoinWithDots(s, valueTypes.DateTimeLayoutDay, pkg, "Total", v.PsId, i), v.PsId.String(), valueTypes.NewDateTime(""))
- // }
}
return entries
diff --git a/iSolarCloud/AppService/getReportData/struct.go b/iSolarCloud/AppService/getReportData/struct.go
index f33541a94..a5f104cda 100644
--- a/iSolarCloud/AppService/getReportData/struct.go
+++ b/iSolarCloud/AppService/getReportData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getReportEmailConfigInfo/struct.go b/iSolarCloud/AppService/getReportEmailConfigInfo/struct.go
index 4e0113425..417a1a951 100644
--- a/iSolarCloud/AppService/getReportEmailConfigInfo/struct.go
+++ b/iSolarCloud/AppService/getReportEmailConfigInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getReportExportColumns/struct.go b/iSolarCloud/AppService/getReportExportColumns/struct.go
index 83cb9c90f..02637ed1f 100644
--- a/iSolarCloud/AppService/getReportExportColumns/struct.go
+++ b/iSolarCloud/AppService/getReportExportColumns/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getReportListByUserId/struct.go b/iSolarCloud/AppService/getReportListByUserId/struct.go
index c2c6c9b2e..e19df2f8e 100644
--- a/iSolarCloud/AppService/getReportListByUserId/struct.go
+++ b/iSolarCloud/AppService/getReportListByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRobotDynamicCleaningView/struct.go b/iSolarCloud/AppService/getRobotDynamicCleaningView/struct.go
index 4259489fe..184397af3 100644
--- a/iSolarCloud/AppService/getRobotDynamicCleaningView/struct.go
+++ b/iSolarCloud/AppService/getRobotDynamicCleaningView/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRobotNumAndSweepCapacity/struct.go b/iSolarCloud/AppService/getRobotNumAndSweepCapacity/struct.go
index 9822059b5..942a3ceb5 100644
--- a/iSolarCloud/AppService/getRobotNumAndSweepCapacity/struct.go
+++ b/iSolarCloud/AppService/getRobotNumAndSweepCapacity/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getRuleUnit/struct.go b/iSolarCloud/AppService/getRuleUnit/struct.go
index 3f3f33858..da2595ba6 100644
--- a/iSolarCloud/AppService/getRuleUnit/struct.go
+++ b/iSolarCloud/AppService/getRuleUnit/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSendReportConfigCron/struct.go b/iSolarCloud/AppService/getSendReportConfigCron/struct.go
index 18287a505..28559dda9 100644
--- a/iSolarCloud/AppService/getSendReportConfigCron/struct.go
+++ b/iSolarCloud/AppService/getSendReportConfigCron/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSerialNum/struct.go b/iSolarCloud/AppService/getSerialNum/struct.go
index be38d904b..0b263c5e6 100644
--- a/iSolarCloud/AppService/getSerialNum/struct.go
+++ b/iSolarCloud/AppService/getSerialNum/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getShieldMapConditionList/struct.go b/iSolarCloud/AppService/getShieldMapConditionList/struct.go
index 5bbded1c1..e5e81832e 100644
--- a/iSolarCloud/AppService/getShieldMapConditionList/struct.go
+++ b/iSolarCloud/AppService/getShieldMapConditionList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSimIdBySnList/struct.go b/iSolarCloud/AppService/getSimIdBySnList/struct.go
index c78fac9c7..bb536470b 100644
--- a/iSolarCloud/AppService/getSimIdBySnList/struct.go
+++ b/iSolarCloud/AppService/getSimIdBySnList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSingleIVData/struct.go b/iSolarCloud/AppService/getSingleIVData/struct.go
index 1cda7e4b5..f68d0fdde 100644
--- a/iSolarCloud/AppService/getSingleIVData/struct.go
+++ b/iSolarCloud/AppService/getSingleIVData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSnChangeRecord/struct.go b/iSolarCloud/AppService/getSnChangeRecord/struct.go
index 2483fa6e1..def22b778 100644
--- a/iSolarCloud/AppService/getSnChangeRecord/struct.go
+++ b/iSolarCloud/AppService/getSnChangeRecord/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSnConnectionInfo/struct.go b/iSolarCloud/AppService/getSnConnectionInfo/struct.go
index e38174a40..2d1f5e0d0 100644
--- a/iSolarCloud/AppService/getSnConnectionInfo/struct.go
+++ b/iSolarCloud/AppService/getSnConnectionInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getStationInfoSql/struct.go b/iSolarCloud/AppService/getStationInfoSql/struct.go
index 8335fb6f3..588ca5930 100644
--- a/iSolarCloud/AppService/getStationInfoSql/struct.go
+++ b/iSolarCloud/AppService/getStationInfoSql/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSungwsConfigCache/struct.go b/iSolarCloud/AppService/getSungwsConfigCache/struct.go
index 9e8ea912b..55c0d3b6d 100644
--- a/iSolarCloud/AppService/getSungwsConfigCache/struct.go
+++ b/iSolarCloud/AppService/getSungwsConfigCache/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSungwsGlobalConfigCache/struct.go b/iSolarCloud/AppService/getSungwsGlobalConfigCache/struct.go
index 4f7ecc5ef..806993357 100644
--- a/iSolarCloud/AppService/getSungwsGlobalConfigCache/struct.go
+++ b/iSolarCloud/AppService/getSungwsGlobalConfigCache/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSweepDevParamSetTemplate/struct.go b/iSolarCloud/AppService/getSweepDevParamSetTemplate/struct.go
index 7c17b3631..cc4bdec03 100644
--- a/iSolarCloud/AppService/getSweepDevParamSetTemplate/struct.go
+++ b/iSolarCloud/AppService/getSweepDevParamSetTemplate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSweepRobotDevList/struct.go b/iSolarCloud/AppService/getSweepRobotDevList/struct.go
index c64cd6f8c..37e1ef3a8 100644
--- a/iSolarCloud/AppService/getSweepRobotDevList/struct.go
+++ b/iSolarCloud/AppService/getSweepRobotDevList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSysMsg/struct.go b/iSolarCloud/AppService/getSysMsg/struct.go
index 1086917d6..06f26bd4d 100644
--- a/iSolarCloud/AppService/getSysMsg/struct.go
+++ b/iSolarCloud/AppService/getSysMsg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSysOrgNewList/struct.go b/iSolarCloud/AppService/getSysOrgNewList/struct.go
index 0713688c2..1e15ffb64 100644
--- a/iSolarCloud/AppService/getSysOrgNewList/struct.go
+++ b/iSolarCloud/AppService/getSysOrgNewList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSysOrgNewOne/struct.go b/iSolarCloud/AppService/getSysOrgNewOne/struct.go
index e4137b854..851dab5af 100644
--- a/iSolarCloud/AppService/getSysOrgNewOne/struct.go
+++ b/iSolarCloud/AppService/getSysOrgNewOne/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getSysUserById/struct.go b/iSolarCloud/AppService/getSysUserById/struct.go
index 5b546985b..11c7f194a 100644
--- a/iSolarCloud/AppService/getSysUserById/struct.go
+++ b/iSolarCloud/AppService/getSysUserById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getTableDataSql/struct.go b/iSolarCloud/AppService/getTableDataSql/struct.go
index 400326d99..489c69b0e 100644
--- a/iSolarCloud/AppService/getTableDataSql/struct.go
+++ b/iSolarCloud/AppService/getTableDataSql/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getTableDataSqlCount/struct.go b/iSolarCloud/AppService/getTableDataSqlCount/struct.go
index 51ad4401b..5f795f8b6 100644
--- a/iSolarCloud/AppService/getTableDataSqlCount/struct.go
+++ b/iSolarCloud/AppService/getTableDataSqlCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getTemplateByInfoType/struct.go b/iSolarCloud/AppService/getTemplateByInfoType/struct.go
index 68359e7ce..c81dc7e8a 100644
--- a/iSolarCloud/AppService/getTemplateByInfoType/struct.go
+++ b/iSolarCloud/AppService/getTemplateByInfoType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getTemplateList/struct.go b/iSolarCloud/AppService/getTemplateList/struct.go
index 2bebba975..cfd573a7f 100644
--- a/iSolarCloud/AppService/getTemplateList/struct.go
+++ b/iSolarCloud/AppService/getTemplateList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUUIDByUpuuid/struct.go b/iSolarCloud/AppService/getUUIDByUpuuid/struct.go
index 4d613e902..4e8d25530 100644
--- a/iSolarCloud/AppService/getUUIDByUpuuid/struct.go
+++ b/iSolarCloud/AppService/getUUIDByUpuuid/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUpTimePoint/struct.go b/iSolarCloud/AppService/getUpTimePoint/struct.go
index 63708aa4b..f1f37ef21 100644
--- a/iSolarCloud/AppService/getUpTimePoint/struct.go
+++ b/iSolarCloud/AppService/getUpTimePoint/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserById/struct.go b/iSolarCloud/AppService/getUserById/struct.go
index cff0da6ea..3f6420c28 100644
--- a/iSolarCloud/AppService/getUserById/struct.go
+++ b/iSolarCloud/AppService/getUserById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserByInstaller/struct.go b/iSolarCloud/AppService/getUserByInstaller/struct.go
index 58fd30f1b..533d2e4d8 100644
--- a/iSolarCloud/AppService/getUserByInstaller/struct.go
+++ b/iSolarCloud/AppService/getUserByInstaller/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserDevOnlineOffineCount/struct.go b/iSolarCloud/AppService/getUserDevOnlineOffineCount/struct.go
index e113f7feb..e6708e46b 100644
--- a/iSolarCloud/AppService/getUserDevOnlineOffineCount/struct.go
+++ b/iSolarCloud/AppService/getUserDevOnlineOffineCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserGDPRAttrs/struct.go b/iSolarCloud/AppService/getUserGDPRAttrs/struct.go
index c77a8956b..b18663c59 100644
--- a/iSolarCloud/AppService/getUserGDPRAttrs/struct.go
+++ b/iSolarCloud/AppService/getUserGDPRAttrs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserHavePowerStationCount/struct.go b/iSolarCloud/AppService/getUserHavePowerStationCount/struct.go
index acae53f15..fec2f397b 100644
--- a/iSolarCloud/AppService/getUserHavePowerStationCount/struct.go
+++ b/iSolarCloud/AppService/getUserHavePowerStationCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserInfoByUserAccounts/struct.go b/iSolarCloud/AppService/getUserInfoByUserAccounts/struct.go
index 069d69177..a3d8d31b5 100644
--- a/iSolarCloud/AppService/getUserInfoByUserAccounts/struct.go
+++ b/iSolarCloud/AppService/getUserInfoByUserAccounts/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserList/struct.go b/iSolarCloud/AppService/getUserList/struct.go
index be4d8097d..b4aaec862 100644
--- a/iSolarCloud/AppService/getUserList/struct.go
+++ b/iSolarCloud/AppService/getUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getUserPsOrderList/struct.go b/iSolarCloud/AppService/getUserPsOrderList/struct.go
index e6a4d0d05..6bffc0090 100644
--- a/iSolarCloud/AppService/getUserPsOrderList/struct.go
+++ b/iSolarCloud/AppService/getUserPsOrderList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getValFromHBase/struct.go b/iSolarCloud/AppService/getValFromHBase/struct.go
index 61ce10ac9..2e405f816 100644
--- a/iSolarCloud/AppService/getValFromHBase/struct.go
+++ b/iSolarCloud/AppService/getValFromHBase/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getValidateCode/struct.go b/iSolarCloud/AppService/getValidateCode/struct.go
index fccc1a7f2..eabe50573 100644
--- a/iSolarCloud/AppService/getValidateCode/struct.go
+++ b/iSolarCloud/AppService/getValidateCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getValidateCodeAtRegister/struct.go b/iSolarCloud/AppService/getValidateCodeAtRegister/struct.go
index 8117884c9..99ff2e635 100644
--- a/iSolarCloud/AppService/getValidateCodeAtRegister/struct.go
+++ b/iSolarCloud/AppService/getValidateCodeAtRegister/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getWeatherInfo/struct.go b/iSolarCloud/AppService/getWeatherInfo/struct.go
index 5a17471a9..c536e743d 100644
--- a/iSolarCloud/AppService/getWeatherInfo/struct.go
+++ b/iSolarCloud/AppService/getWeatherInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getWechatPushConfig/struct.go b/iSolarCloud/AppService/getWechatPushConfig/struct.go
index 27e5fd932..144b4f835 100644
--- a/iSolarCloud/AppService/getWechatPushConfig/struct.go
+++ b/iSolarCloud/AppService/getWechatPushConfig/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/getWorkInfo/struct.go b/iSolarCloud/AppService/getWorkInfo/struct.go
index bf902196b..f105674fd 100644
--- a/iSolarCloud/AppService/getWorkInfo/struct.go
+++ b/iSolarCloud/AppService/getWorkInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/groupStringCheck/struct.go b/iSolarCloud/AppService/groupStringCheck/struct.go
index 14fd1b994..0b6bb7e78 100644
--- a/iSolarCloud/AppService/groupStringCheck/struct.go
+++ b/iSolarCloud/AppService/groupStringCheck/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/handleDevByCommunicationSN/struct.go b/iSolarCloud/AppService/handleDevByCommunicationSN/struct.go
index 7660fb3a8..6835feb27 100644
--- a/iSolarCloud/AppService/handleDevByCommunicationSN/struct.go
+++ b/iSolarCloud/AppService/handleDevByCommunicationSN/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/householdResetPassBySN/struct.go b/iSolarCloud/AppService/householdResetPassBySN/struct.go
index d480dd2b4..5b3316582 100644
--- a/iSolarCloud/AppService/householdResetPassBySN/struct.go
+++ b/iSolarCloud/AppService/householdResetPassBySN/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/immediatePayment/struct.go b/iSolarCloud/AppService/immediatePayment/struct.go
index ca73f3460..0fd45f221 100644
--- a/iSolarCloud/AppService/immediatePayment/struct.go
+++ b/iSolarCloud/AppService/immediatePayment/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/importExcelData/struct.go b/iSolarCloud/AppService/importExcelData/struct.go
index a202f9a2c..90ef4f1d9 100644
--- a/iSolarCloud/AppService/importExcelData/struct.go
+++ b/iSolarCloud/AppService/importExcelData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/incomeStatistics/struct.go b/iSolarCloud/AppService/incomeStatistics/struct.go
index c046af0fe..73f4c855f 100644
--- a/iSolarCloud/AppService/incomeStatistics/struct.go
+++ b/iSolarCloud/AppService/incomeStatistics/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/informPush/struct.go b/iSolarCloud/AppService/informPush/struct.go
index 888a07b97..eba7f3f2e 100644
--- a/iSolarCloud/AppService/informPush/struct.go
+++ b/iSolarCloud/AppService/informPush/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/insertEmgOrgInfo/struct.go b/iSolarCloud/AppService/insertEmgOrgInfo/struct.go
index e83b93458..cd4293a35 100644
--- a/iSolarCloud/AppService/insertEmgOrgInfo/struct.go
+++ b/iSolarCloud/AppService/insertEmgOrgInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/struct.go b/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/struct.go
index e948d1703..d2023b59d 100644
--- a/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/struct.go
+++ b/iSolarCloud/AppService/insightSynDeviceStructure2Cloud/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/intoDataToHbase/struct.go b/iSolarCloud/AppService/intoDataToHbase/struct.go
index b5ac91aff..69886f83f 100644
--- a/iSolarCloud/AppService/intoDataToHbase/struct.go
+++ b/iSolarCloud/AppService/intoDataToHbase/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/ipLocationQuery/struct.go b/iSolarCloud/AppService/ipLocationQuery/struct.go
index ad8998f79..09aba0e91 100644
--- a/iSolarCloud/AppService/ipLocationQuery/struct.go
+++ b/iSolarCloud/AppService/ipLocationQuery/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/isHave2GSn/struct.go b/iSolarCloud/AppService/isHave2GSn/struct.go
index 62a360de0..d77e17c33 100644
--- a/iSolarCloud/AppService/isHave2GSn/struct.go
+++ b/iSolarCloud/AppService/isHave2GSn/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/struct.go b/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/struct.go
index 9fd3ffb22..47e46f63a 100644
--- a/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/struct.go
+++ b/iSolarCloud/AppService/judgeDevIsHasInitSetTemplate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/judgeIsSettingMan/struct.go b/iSolarCloud/AppService/judgeIsSettingMan/struct.go
index 7c6034e50..e6a705040 100644
--- a/iSolarCloud/AppService/judgeIsSettingMan/struct.go
+++ b/iSolarCloud/AppService/judgeIsSettingMan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/listOssFiles/struct.go b/iSolarCloud/AppService/listOssFiles/struct.go
index bc1a0c7f3..fec634923 100644
--- a/iSolarCloud/AppService/listOssFiles/struct.go
+++ b/iSolarCloud/AppService/listOssFiles/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/loadAreaInfo/struct.go b/iSolarCloud/AppService/loadAreaInfo/struct.go
index 963941fb2..99d0644d4 100644
--- a/iSolarCloud/AppService/loadAreaInfo/struct.go
+++ b/iSolarCloud/AppService/loadAreaInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/loadPowerStation/struct.go b/iSolarCloud/AppService/loadPowerStation/struct.go
index 2d9ab4aa9..9b44a10de 100644
--- a/iSolarCloud/AppService/loadPowerStation/struct.go
+++ b/iSolarCloud/AppService/loadPowerStation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/login/struct.go b/iSolarCloud/AppService/login/struct.go
index 582c4f20b..194d4a439 100644
--- a/iSolarCloud/AppService/login/struct.go
+++ b/iSolarCloud/AppService/login/struct.go
@@ -383,3 +383,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/loginByToken/struct.go b/iSolarCloud/AppService/loginByToken/struct.go
index cee343b7f..9c2c74499 100644
--- a/iSolarCloud/AppService/loginByToken/struct.go
+++ b/iSolarCloud/AppService/loginByToken/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/logout/struct.go b/iSolarCloud/AppService/logout/struct.go
index 6d122c9e4..d9ecc2c0b 100644
--- a/iSolarCloud/AppService/logout/struct.go
+++ b/iSolarCloud/AppService/logout/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/mobilePhoneHasBound/struct.go b/iSolarCloud/AppService/mobilePhoneHasBound/struct.go
index fe06c4477..05a67efd2 100644
--- a/iSolarCloud/AppService/mobilePhoneHasBound/struct.go
+++ b/iSolarCloud/AppService/mobilePhoneHasBound/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifiedDeviceInfo/struct.go b/iSolarCloud/AppService/modifiedDeviceInfo/struct.go
index b6babfba3..c2aa1ccb0 100644
--- a/iSolarCloud/AppService/modifiedDeviceInfo/struct.go
+++ b/iSolarCloud/AppService/modifiedDeviceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifyEmgOrgStruc/struct.go b/iSolarCloud/AppService/modifyEmgOrgStruc/struct.go
index 88578ab23..123ad0d25 100644
--- a/iSolarCloud/AppService/modifyEmgOrgStruc/struct.go
+++ b/iSolarCloud/AppService/modifyEmgOrgStruc/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifyFaultPlan/struct.go b/iSolarCloud/AppService/modifyFaultPlan/struct.go
index 9fa1880a4..b9c1e23af 100644
--- a/iSolarCloud/AppService/modifyFaultPlan/struct.go
+++ b/iSolarCloud/AppService/modifyFaultPlan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifyOnDutyInfo/struct.go b/iSolarCloud/AppService/modifyOnDutyInfo/struct.go
index a4d8e7569..2d05f7fa9 100644
--- a/iSolarCloud/AppService/modifyOnDutyInfo/struct.go
+++ b/iSolarCloud/AppService/modifyOnDutyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifyPassword/struct.go b/iSolarCloud/AppService/modifyPassword/struct.go
index e4e2f1433..0fc9a2121 100644
--- a/iSolarCloud/AppService/modifyPassword/struct.go
+++ b/iSolarCloud/AppService/modifyPassword/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifyPersonalUnitList/struct.go b/iSolarCloud/AppService/modifyPersonalUnitList/struct.go
index 30ffde465..3af223d0d 100644
--- a/iSolarCloud/AppService/modifyPersonalUnitList/struct.go
+++ b/iSolarCloud/AppService/modifyPersonalUnitList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/modifyPsUser/struct.go b/iSolarCloud/AppService/modifyPsUser/struct.go
index 794c27248..e585ef13c 100644
--- a/iSolarCloud/AppService/modifyPsUser/struct.go
+++ b/iSolarCloud/AppService/modifyPsUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/moduleLogParamSet/struct.go b/iSolarCloud/AppService/moduleLogParamSet/struct.go
index bf27d69fb..ce0dd2ebd 100644
--- a/iSolarCloud/AppService/moduleLogParamSet/struct.go
+++ b/iSolarCloud/AppService/moduleLogParamSet/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/operateOssFile/struct.go b/iSolarCloud/AppService/operateOssFile/struct.go
index a55b4d2af..c17187df5 100644
--- a/iSolarCloud/AppService/operateOssFile/struct.go
+++ b/iSolarCloud/AppService/operateOssFile/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/operationPowerRobotSweepStrategy/struct.go b/iSolarCloud/AppService/operationPowerRobotSweepStrategy/struct.go
index e6be57a0b..959d8b5c6 100644
--- a/iSolarCloud/AppService/operationPowerRobotSweepStrategy/struct.go
+++ b/iSolarCloud/AppService/operationPowerRobotSweepStrategy/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/orgPowerReport/struct.go b/iSolarCloud/AppService/orgPowerReport/struct.go
index f1fbd3a1f..fb193a044 100644
--- a/iSolarCloud/AppService/orgPowerReport/struct.go
+++ b/iSolarCloud/AppService/orgPowerReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/paramSetTryAgain/struct.go b/iSolarCloud/AppService/paramSetTryAgain/struct.go
index e89da20db..9079bbb84 100644
--- a/iSolarCloud/AppService/paramSetTryAgain/struct.go
+++ b/iSolarCloud/AppService/paramSetTryAgain/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/paramSetting/struct.go b/iSolarCloud/AppService/paramSetting/struct.go
index 4e40f5b06..4278b8cb7 100644
--- a/iSolarCloud/AppService/paramSetting/struct.go
+++ b/iSolarCloud/AppService/paramSetting/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/planPower/struct.go b/iSolarCloud/AppService/planPower/struct.go
index fed138fd6..dd671f638 100644
--- a/iSolarCloud/AppService/planPower/struct.go
+++ b/iSolarCloud/AppService/planPower/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/powerDevicePointList/struct.go b/iSolarCloud/AppService/powerDevicePointList/struct.go
index d52a47b26..98f2f1ac4 100644
--- a/iSolarCloud/AppService/powerDevicePointList/struct.go
+++ b/iSolarCloud/AppService/powerDevicePointList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/powerTrendChartData/struct.go b/iSolarCloud/AppService/powerTrendChartData/struct.go
index 3db5932eb..9ff17ec6b 100644
--- a/iSolarCloud/AppService/powerTrendChartData/struct.go
+++ b/iSolarCloud/AppService/powerTrendChartData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/psForcastInfo/data.go b/iSolarCloud/AppService/psForcastInfo/data.go
index 8d5c92cdc..2706d0079 100644
--- a/iSolarCloud/AppService/psForcastInfo/data.go
+++ b/iSolarCloud/AppService/psForcastInfo/data.go
@@ -32,29 +32,29 @@ type ResultData struct {
City valueTypes.String `json:"city"`
Code valueTypes.Integer `json:"code"`
CodeName valueTypes.String `json:"code_name"`
- DateTime valueTypes.DateTime `json:"date_time"`
+ DateTime valueTypes.DateTime `json:"date_time" PointIgnore:"true"`
Direction valueTypes.Float `json:"direction"`
- High valueTypes.Float `json:"high"`
- Highc valueTypes.Float `json:"highc"`
+ High valueTypes.Float `json:"high" PointUnit:"F"`
+ Highc valueTypes.Float `json:"highc" PointUnit:"C"`
Humidity valueTypes.Float `json:"humidity"`
- Low valueTypes.Float `json:"low"`
- Lowc valueTypes.Float `json:"lowc"`
- Pressure valueTypes.Float `json:"pressure"`
+ Low valueTypes.Float `json:"low PointUnit:"F""`
+ Lowc valueTypes.Float `json:"lowc" PointUnit:"C"`
+ Pressure valueTypes.Float `json:"pressure" PointUnit:"hPa"`
PsKnowledge valueTypes.String `json:"ps_knowledge"`
Rising valueTypes.Bool `json:"rising"`
- Speed valueTypes.Float `json:"speed" PointUnitFrom:"speed_unit"`
+ Speed valueTypes.Float `json:"speed" PointUnitFrom:"SpeedUnit"`
SpeedUnit valueTypes.String `json:"speed_unit"`
- SpeedOriginal valueTypes.Float `json:"speed_original" PointUnitFrom:"speed_original_unit"`
- SpeedOriginalUnit valueTypes.String `json:"speed_original_unit"`
+ SpeedOriginal valueTypes.Float `json:"speed_original" PointUnitFrom:"SpeedOriginalUnit"`
+ SpeedOriginalUnit valueTypes.String `json:"speed_original_unit" PointIgnore:"true"`
Sunrise valueTypes.Time `json:"sunrise"`
Sunset valueTypes.Time `json:"sunset"`
Visibility valueTypes.Float `json:"visibility"`
WeatherDesc valueTypes.String `json:"weather_desc"`
WeatherURL valueTypes.String `json:"weather_url"`
- } `json:"areaForcastList"`
+ } `json:"areaForcastList" PointNameFromChild:"DateTime" PointNameDateFormat:"20060102"`
StationsCityCode []struct {
City valueTypes.String `json:"city"`
PsID valueTypes.Integer `json:"ps_id"`
diff --git a/iSolarCloud/AppService/psForcastInfo/struct.go b/iSolarCloud/AppService/psForcastInfo/struct.go
index aff7321a9..8b480b96b 100644
--- a/iSolarCloud/AppService/psForcastInfo/struct.go
+++ b/iSolarCloud/AppService/psForcastInfo/struct.go
@@ -354,3 +354,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/psHourPointsValue/struct.go b/iSolarCloud/AppService/psHourPointsValue/struct.go
index 86efdec81..106c00b87 100644
--- a/iSolarCloud/AppService/psHourPointsValue/struct.go
+++ b/iSolarCloud/AppService/psHourPointsValue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryAllPsIdAndName/data.go b/iSolarCloud/AppService/queryAllPsIdAndName/data.go
index b8aa42a6c..423bcf67f 100644
--- a/iSolarCloud/AppService/queryAllPsIdAndName/data.go
+++ b/iSolarCloud/AppService/queryAllPsIdAndName/data.go
@@ -4,8 +4,8 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/queryAllPsIdAndName"
@@ -25,9 +25,9 @@ func (rd RequestData) Help() string {
type ResultData struct {
PageList []struct {
- PsID valueTypes.Integer `json:"ps_id"`
- PsName string `json:"ps_name"`
- } `json:"pageList"`
+ PsId valueTypes.Integer `json:"ps_id"`
+ PsName valueTypes.String `json:"ps_name"`
+ } `json:"pageList" PointNameFromChild:"PsId" PointNameFromAppend:"false"`
}
func (e *ResultData) IsValid() error {
@@ -41,30 +41,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/AppService/queryAllPsIdAndName/struct.go b/iSolarCloud/AppService/queryAllPsIdAndName/struct.go
index c0f019c93..f4dc051ad 100644
--- a/iSolarCloud/AppService/queryAllPsIdAndName/struct.go
+++ b/iSolarCloud/AppService/queryAllPsIdAndName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryBatchCreatePsTaskList/struct.go b/iSolarCloud/AppService/queryBatchCreatePsTaskList/struct.go
index 1ca6bdd7c..e999670eb 100644
--- a/iSolarCloud/AppService/queryBatchCreatePsTaskList/struct.go
+++ b/iSolarCloud/AppService/queryBatchCreatePsTaskList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/struct.go b/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/struct.go
index 674c4a416..99f474872 100644
--- a/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/struct.go
+++ b/iSolarCloud/AppService/queryBatchSpeedyAddPowerStationResult/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryCardStatusCTCC/struct.go b/iSolarCloud/AppService/queryCardStatusCTCC/struct.go
index 754ecc835..ea778dbdc 100644
--- a/iSolarCloud/AppService/queryCardStatusCTCC/struct.go
+++ b/iSolarCloud/AppService/queryCardStatusCTCC/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryChildAccountList/struct.go b/iSolarCloud/AppService/queryChildAccountList/struct.go
index 2e37353a7..02effd10b 100644
--- a/iSolarCloud/AppService/queryChildAccountList/struct.go
+++ b/iSolarCloud/AppService/queryChildAccountList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryCompensationRecordData/struct.go b/iSolarCloud/AppService/queryCompensationRecordData/struct.go
index de1417849..a6783fe14 100644
--- a/iSolarCloud/AppService/queryCompensationRecordData/struct.go
+++ b/iSolarCloud/AppService/queryCompensationRecordData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryCompensationRecordList/struct.go b/iSolarCloud/AppService/queryCompensationRecordList/struct.go
index 67472c59b..bebc2171c 100644
--- a/iSolarCloud/AppService/queryCompensationRecordList/struct.go
+++ b/iSolarCloud/AppService/queryCompensationRecordList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryComponent/struct.go b/iSolarCloud/AppService/queryComponent/struct.go
index 2b15f7eee..5e18d91fb 100644
--- a/iSolarCloud/AppService/queryComponent/struct.go
+++ b/iSolarCloud/AppService/queryComponent/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryComponentTechnicalParam/struct.go b/iSolarCloud/AppService/queryComponentTechnicalParam/struct.go
index f6b7df67f..d3eb16cda 100644
--- a/iSolarCloud/AppService/queryComponentTechnicalParam/struct.go
+++ b/iSolarCloud/AppService/queryComponentTechnicalParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryCountryGridAndRelation/struct.go b/iSolarCloud/AppService/queryCountryGridAndRelation/struct.go
index e929613a7..d6c8e35be 100644
--- a/iSolarCloud/AppService/queryCountryGridAndRelation/struct.go
+++ b/iSolarCloud/AppService/queryCountryGridAndRelation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryCountryList/struct.go b/iSolarCloud/AppService/queryCountryList/struct.go
index 42d02099b..4b56fe1b3 100644
--- a/iSolarCloud/AppService/queryCountryList/struct.go
+++ b/iSolarCloud/AppService/queryCountryList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryCtrlTaskById/struct.go b/iSolarCloud/AppService/queryCtrlTaskById/struct.go
index f01716dc7..c973cad86 100644
--- a/iSolarCloud/AppService/queryCtrlTaskById/struct.go
+++ b/iSolarCloud/AppService/queryCtrlTaskById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceInfo/struct.go b/iSolarCloud/AppService/queryDeviceInfo/struct.go
index a1f6e2c02..1a918267f 100644
--- a/iSolarCloud/AppService/queryDeviceInfo/struct.go
+++ b/iSolarCloud/AppService/queryDeviceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceInfoForApp/struct.go b/iSolarCloud/AppService/queryDeviceInfoForApp/struct.go
index 9d609cd16..004c1b006 100644
--- a/iSolarCloud/AppService/queryDeviceInfoForApp/struct.go
+++ b/iSolarCloud/AppService/queryDeviceInfoForApp/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceList/struct.go b/iSolarCloud/AppService/queryDeviceList/struct.go
index 6852847d6..2ac9a574f 100644
--- a/iSolarCloud/AppService/queryDeviceList/struct.go
+++ b/iSolarCloud/AppService/queryDeviceList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceListByUserId/struct.go b/iSolarCloud/AppService/queryDeviceListByUserId/struct.go
index bbf0d47e8..ccbcad7c2 100644
--- a/iSolarCloud/AppService/queryDeviceListByUserId/struct.go
+++ b/iSolarCloud/AppService/queryDeviceListByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceListForApp/struct.go b/iSolarCloud/AppService/queryDeviceListForApp/struct.go
index 45398436b..ff9e80a2c 100644
--- a/iSolarCloud/AppService/queryDeviceListForApp/struct.go
+++ b/iSolarCloud/AppService/queryDeviceListForApp/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceModelTechnical/struct.go b/iSolarCloud/AppService/queryDeviceModelTechnical/struct.go
index bbbdbb1a1..d53a3e9a9 100644
--- a/iSolarCloud/AppService/queryDeviceModelTechnical/struct.go
+++ b/iSolarCloud/AppService/queryDeviceModelTechnical/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDevicePointDayMonthYearDataList/struct.go b/iSolarCloud/AppService/queryDevicePointDayMonthYearDataList/struct.go
index d011da5fc..3250ad20a 100644
--- a/iSolarCloud/AppService/queryDevicePointDayMonthYearDataList/struct.go
+++ b/iSolarCloud/AppService/queryDevicePointDayMonthYearDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDevicePointMinuteDataList/struct.go b/iSolarCloud/AppService/queryDevicePointMinuteDataList/struct.go
index f81bee8b8..6c5525c3f 100644
--- a/iSolarCloud/AppService/queryDevicePointMinuteDataList/struct.go
+++ b/iSolarCloud/AppService/queryDevicePointMinuteDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/struct.go b/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/struct.go
index cc095b1e9..e39a12b1b 100644
--- a/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/struct.go
+++ b/iSolarCloud/AppService/queryDevicePointsDayMonthYearDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/struct.go b/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/struct.go
index 2094a8d9f..146daab57 100644
--- a/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/struct.go
+++ b/iSolarCloud/AppService/queryDeviceRealTimeDataByPsKeys/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceRepairList/struct.go b/iSolarCloud/AppService/queryDeviceRepairList/struct.go
index 44f86ba62..44ebdd9d0 100644
--- a/iSolarCloud/AppService/queryDeviceRepairList/struct.go
+++ b/iSolarCloud/AppService/queryDeviceRepairList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryDeviceTypeInfoList/struct.go b/iSolarCloud/AppService/queryDeviceTypeInfoList/struct.go
index 4c07820b6..ee35ef004 100644
--- a/iSolarCloud/AppService/queryDeviceTypeInfoList/struct.go
+++ b/iSolarCloud/AppService/queryDeviceTypeInfoList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryEnvironmentList/struct.go b/iSolarCloud/AppService/queryEnvironmentList/struct.go
index ddb723c0f..7fb8ff679 100644
--- a/iSolarCloud/AppService/queryEnvironmentList/struct.go
+++ b/iSolarCloud/AppService/queryEnvironmentList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFaultList/struct.go b/iSolarCloud/AppService/queryFaultList/struct.go
index 128ab599e..c881d1f46 100644
--- a/iSolarCloud/AppService/queryFaultList/struct.go
+++ b/iSolarCloud/AppService/queryFaultList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFaultPlanDetail/struct.go b/iSolarCloud/AppService/queryFaultPlanDetail/struct.go
index f24ae4e9e..2c6c27677 100644
--- a/iSolarCloud/AppService/queryFaultPlanDetail/struct.go
+++ b/iSolarCloud/AppService/queryFaultPlanDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFaultRepairSteps/struct.go b/iSolarCloud/AppService/queryFaultRepairSteps/struct.go
index bd295df89..7f12f74f3 100644
--- a/iSolarCloud/AppService/queryFaultRepairSteps/struct.go
+++ b/iSolarCloud/AppService/queryFaultRepairSteps/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/struct.go b/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/struct.go
index c6a8727ab..2f496870b 100644
--- a/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/struct.go
+++ b/iSolarCloud/AppService/queryFaultTypeAndLevelByCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFaultTypeByDevice/struct.go b/iSolarCloud/AppService/queryFaultTypeByDevice/struct.go
index 4d5f667a7..9e241326c 100644
--- a/iSolarCloud/AppService/queryFaultTypeByDevice/struct.go
+++ b/iSolarCloud/AppService/queryFaultTypeByDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFaultTypeByDevicePage/struct.go b/iSolarCloud/AppService/queryFaultTypeByDevicePage/struct.go
index 24c1e300c..696bc75b3 100644
--- a/iSolarCloud/AppService/queryFaultTypeByDevicePage/struct.go
+++ b/iSolarCloud/AppService/queryFaultTypeByDevicePage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryFirmwareFilesPage/struct.go b/iSolarCloud/AppService/queryFirmwareFilesPage/struct.go
index f39e3eab0..5e8106b77 100644
--- a/iSolarCloud/AppService/queryFirmwareFilesPage/struct.go
+++ b/iSolarCloud/AppService/queryFirmwareFilesPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryInfotoAlert/struct.go b/iSolarCloud/AppService/queryInfotoAlert/struct.go
index d5ba26e12..007749388 100644
--- a/iSolarCloud/AppService/queryInfotoAlert/struct.go
+++ b/iSolarCloud/AppService/queryInfotoAlert/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryInverterModelList/struct.go b/iSolarCloud/AppService/queryInverterModelList/struct.go
index 5c910d3d0..d144880e4 100644
--- a/iSolarCloud/AppService/queryInverterModelList/struct.go
+++ b/iSolarCloud/AppService/queryInverterModelList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryInverterVersionList/struct.go b/iSolarCloud/AppService/queryInverterVersionList/struct.go
index f105ab44b..d2310576c 100644
--- a/iSolarCloud/AppService/queryInverterVersionList/struct.go
+++ b/iSolarCloud/AppService/queryInverterVersionList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryM2MCardInfoCMCC/struct.go b/iSolarCloud/AppService/queryM2MCardInfoCMCC/struct.go
index 14b44737f..54682a591 100644
--- a/iSolarCloud/AppService/queryM2MCardInfoCMCC/struct.go
+++ b/iSolarCloud/AppService/queryM2MCardInfoCMCC/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/struct.go b/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/struct.go
index 0b3f43434..82f399d07 100644
--- a/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/struct.go
+++ b/iSolarCloud/AppService/queryM2MCardTermInfoCMCC/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryModelInfoByModelId/struct.go b/iSolarCloud/AppService/queryModelInfoByModelId/struct.go
index 6b0dbc460..a12cc6ead 100644
--- a/iSolarCloud/AppService/queryModelInfoByModelId/struct.go
+++ b/iSolarCloud/AppService/queryModelInfoByModelId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryMutiPointDataList/struct.go b/iSolarCloud/AppService/queryMutiPointDataList/struct.go
index de3f587ae..aff48ca42 100644
--- a/iSolarCloud/AppService/queryMutiPointDataList/struct.go
+++ b/iSolarCloud/AppService/queryMutiPointDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryNoticeList/struct.go b/iSolarCloud/AppService/queryNoticeList/struct.go
index 7700f171b..290152f6e 100644
--- a/iSolarCloud/AppService/queryNoticeList/struct.go
+++ b/iSolarCloud/AppService/queryNoticeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryNumberOfRenewalReminders/struct.go b/iSolarCloud/AppService/queryNumberOfRenewalReminders/struct.go
index eceaee743..609973df6 100644
--- a/iSolarCloud/AppService/queryNumberOfRenewalReminders/struct.go
+++ b/iSolarCloud/AppService/queryNumberOfRenewalReminders/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOperRules/struct.go b/iSolarCloud/AppService/queryOperRules/struct.go
index 2084a5138..d4dedbd9e 100644
--- a/iSolarCloud/AppService/queryOperRules/struct.go
+++ b/iSolarCloud/AppService/queryOperRules/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOrderList/struct.go b/iSolarCloud/AppService/queryOrderList/struct.go
index 26743840b..11e9cd42b 100644
--- a/iSolarCloud/AppService/queryOrderList/struct.go
+++ b/iSolarCloud/AppService/queryOrderList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOrderStep/struct.go b/iSolarCloud/AppService/queryOrderStep/struct.go
index 3aa3e4a7c..b5ca2f946 100644
--- a/iSolarCloud/AppService/queryOrderStep/struct.go
+++ b/iSolarCloud/AppService/queryOrderStep/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOrgGenerationReport/struct.go b/iSolarCloud/AppService/queryOrgGenerationReport/struct.go
index 99e2d0e49..4e1835757 100644
--- a/iSolarCloud/AppService/queryOrgGenerationReport/struct.go
+++ b/iSolarCloud/AppService/queryOrgGenerationReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOrgInfoList/struct.go b/iSolarCloud/AppService/queryOrgInfoList/struct.go
index c0f318f24..5d0817943 100644
--- a/iSolarCloud/AppService/queryOrgInfoList/struct.go
+++ b/iSolarCloud/AppService/queryOrgInfoList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOrgPowerElecPercent/struct.go b/iSolarCloud/AppService/queryOrgPowerElecPercent/struct.go
index 627ee598b..223ec13e7 100644
--- a/iSolarCloud/AppService/queryOrgPowerElecPercent/struct.go
+++ b/iSolarCloud/AppService/queryOrgPowerElecPercent/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryOrgPsCompensationRecordList/struct.go b/iSolarCloud/AppService/queryOrgPsCompensationRecordList/struct.go
index 71fdcf80b..c422a8d78 100644
--- a/iSolarCloud/AppService/queryOrgPsCompensationRecordList/struct.go
+++ b/iSolarCloud/AppService/queryOrgPsCompensationRecordList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryParamSettingTask/struct.go b/iSolarCloud/AppService/queryParamSettingTask/struct.go
index 64f23eb78..35f3a9864 100644
--- a/iSolarCloud/AppService/queryParamSettingTask/struct.go
+++ b/iSolarCloud/AppService/queryParamSettingTask/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPersonalUnitList/struct.go b/iSolarCloud/AppService/queryPersonalUnitList/struct.go
index 2444a5dc8..2c3dc6550 100644
--- a/iSolarCloud/AppService/queryPersonalUnitList/struct.go
+++ b/iSolarCloud/AppService/queryPersonalUnitList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPointDataTopOne/struct.go b/iSolarCloud/AppService/queryPointDataTopOne/struct.go
index 17e20703c..e928f65a7 100644
--- a/iSolarCloud/AppService/queryPointDataTopOne/struct.go
+++ b/iSolarCloud/AppService/queryPointDataTopOne/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPowerStationInfo/data.go b/iSolarCloud/AppService/queryPowerStationInfo/data.go
index 5f1d81992..a7b98cb1e 100644
--- a/iSolarCloud/AppService/queryPowerStationInfo/data.go
+++ b/iSolarCloud/AppService/queryPowerStationInfo/data.go
@@ -4,8 +4,8 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/queryPowerStationInfo"
@@ -13,7 +13,7 @@ const Disabled = false
type RequestData struct {
PsId valueTypes.Integer `json:"ps_id"`
- Sn string `json:"sn"`
+ Sn valueTypes.String `json:"sn"`
}
func (rd RequestData) IsValid() error {
@@ -25,136 +25,135 @@ func (rd RequestData) Help() string {
return ret
}
-
-type ResultData struct {
- LbsAreaCode interface{} `json:"LbsAreaCode"`
- LbsCountry interface{} `json:"LbsCountry"`
- AccessType interface{} `json:"access_type"`
- AreaID interface{} `json:"area_id"`
- ArrearsStatus valueTypes.Integer `json:"arrears_status"`
- BatteryType string `json:"battery_type"`
- CityCode interface{} `json:"city_code"`
- CityName interface{} `json:"city_name"`
- ComponentArea interface{} `json:"component_area"`
- ComponentStatus valueTypes.Integer `json:"component_status"`
- ConnectType valueTypes.Integer `json:"connect_type"`
- ConnectTypeDesc string `json:"connect_type_desc"`
- ContactName string `json:"contact_name"`
- CountryID valueTypes.Integer `json:"country_id"`
- Description interface{} `json:"description"`
- DesignCapacity valueTypes.Float `json:"design_capacity"`
- DesignCapacityBattery string `json:"design_capacity_battery"`
- DistrictCode interface{} `json:"district_code"`
- DistrictName interface{} `json:"district_name"`
- DivisionCode interface{} `json:"division_code"`
- Email string `json:"email"`
- EnergyScheme interface{} `json:"energy_scheme"`
- ExpectInstallDate valueTypes.DateTime `json:"expect_install_date"`
- GcjLatitude valueTypes.Float `json:"gcj_latitude"`
- GcjLongitude valueTypes.Float `json:"gcj_longitude"`
- GprsLatitude valueTypes.Float `json:"gprs_latitude"`
- GprsLongitude valueTypes.Float `json:"gprs_longitude"`
- GridLevel interface{} `json:"grid_level"`
- Images []interface{} `json:"images"`
- InstallDate valueTypes.DateTime `json:"install_date"`
- InstallDateZone string `json:"install_date_zone"`
- InverterCount valueTypes.Integer `json:"inverter_count"`
- InvestmentType valueTypes.Integer `json:"investment_type"`
- InvestmentTypeDesc string `json:"investment_type_desc"`
- IsAgreeGdpr valueTypes.Bool `json:"is_agree_gdpr"`
- IsGdpr valueTypes.Bool `json:"is_gdpr"`
- IsNewVersion valueTypes.Bool `json:"is_new_version"`
- IsOpenProtocol valueTypes.Bool `json:"is_open_protocol"`
- IsPsCreateUser valueTypes.Bool `json:"is_ps_create_user"`
- IsPsOwner valueTypes.Bool `json:"is_ps_owner"`
- IsReceiveNotice valueTypes.Bool `json:"is_receive_notice"`
- IsSharePosition valueTypes.Bool `json:"is_share_position"`
- IsValidMobileEmail valueTypes.Bool `json:"is_valid_mobile_email"`
- Latitude valueTypes.Float `json:"latitude"`
- Longitude valueTypes.Float `json:"longitude"`
- MapLatitude valueTypes.Float `json:"map_latitude"`
- MapLongitude valueTypes.Float `json:"map_longitude"`
- MlpeFlag valueTypes.Integer `json:"mlpe_flag"`
- MobleTel interface{} `json:"moble_tel"`
- MobleTelBak interface{} `json:"moble_tel_bak"`
- ModuleModelID interface{} `json:"module_model_id"`
- ModuleModelName interface{} `json:"module_model_name"`
- Nmi string `json:"nmi"`
- OperationBusName interface{} `json:"operation_bus_name"`
- OrgIndexCode []string `json:"org_index_code"`
- OwnerContact interface{} `json:"owner_contact"`
- ParamIncomeUnit valueTypes.Integer `json:"param_income_unit"`
- ParamIncomeUnitName string `json:"param_income_unit_name"`
- ProvinceCode interface{} `json:"province_code"`
- ProvinceName interface{} `json:"province_name"`
- PsBuildDate valueTypes.DateTime `json:"ps_build_date"`
- PsCountryID valueTypes.Integer `json:"ps_country_id"`
- PsCreateUserID valueTypes.Integer `json:"ps_create_user_id"`
- PsCurrentTimeZone string `json:"ps_current_time_zone"`
+type ResultData struct {
+ LbsAreaCode interface{} `json:"LbsAreaCode"`
+ LbsCountry interface{} `json:"LbsCountry"`
+ AccessType interface{} `json:"access_type"`
+ AreaID interface{} `json:"area_id"`
+ ArrearsStatus valueTypes.Integer `json:"arrears_status"`
+ BatteryType valueTypes.String `json:"battery_type"`
+ CityCode interface{} `json:"city_code"`
+ CityName interface{} `json:"city_name"`
+ ComponentArea interface{} `json:"component_area"`
+ ComponentStatus valueTypes.Integer `json:"component_status"`
+ ConnectType valueTypes.Integer `json:"connect_type"`
+ ConnectTypeDesc valueTypes.String `json:"connect_type_desc"`
+ ContactName valueTypes.String `json:"contact_name"`
+ CountryID valueTypes.Integer `json:"country_id"`
+ Description interface{} `json:"description"`
+ DesignCapacity valueTypes.Float `json:"design_capacity" PointUnit:"W"` // @TODO - When this is set to valueTypes.Integer, we get a failure.
+ DesignCapacityBattery valueTypes.Float `json:"design_capacity_battery" PointUnit:"W"`
+ DistrictCode interface{} `json:"district_code"`
+ DistrictName interface{} `json:"district_name"`
+ DivisionCode interface{} `json:"division_code"`
+ Email valueTypes.String `json:"email"`
+ EnergyScheme interface{} `json:"energy_scheme"`
+ ExpectInstallDate valueTypes.DateTime `json:"expect_install_date"`
+ GcjLatitude valueTypes.Float `json:"gcj_latitude"`
+ GcjLongitude valueTypes.Float `json:"gcj_longitude"`
+ GprsLatitude valueTypes.Float `json:"gprs_latitude"`
+ GprsLongitude valueTypes.Float `json:"gprs_longitude"`
+ GridLevel interface{} `json:"grid_level"`
+ Images []interface{} `json:"images"`
+ InstallDate valueTypes.DateTime `json:"install_date"`
+ InstallDateZone valueTypes.DateTime `json:"install_date_zone"`
+ InverterCount valueTypes.Integer `json:"inverter_count"`
+ InvestmentType valueTypes.Integer `json:"investment_type"`
+ InvestmentTypeDesc valueTypes.String `json:"investment_type_desc"`
+ IsAgreeGdpr valueTypes.Bool `json:"is_agree_gdpr"`
+ IsGdpr valueTypes.Bool `json:"is_gdpr"`
+ IsNewVersion valueTypes.Bool `json:"is_new_version"`
+ IsOpenProtocol valueTypes.Bool `json:"is_open_protocol"`
+ IsPsCreateUser valueTypes.Bool `json:"is_ps_create_user"`
+ IsPsOwner valueTypes.Bool `json:"is_ps_owner"`
+ IsReceiveNotice valueTypes.Bool `json:"is_receive_notice"`
+ IsSharePosition valueTypes.Bool `json:"is_share_position"`
+ IsValidMobileEmail valueTypes.Bool `json:"is_valid_mobile_email"`
+ Latitude valueTypes.Float `json:"latitude"`
+ Longitude valueTypes.Float `json:"longitude"`
+ MapLatitude valueTypes.Float `json:"map_latitude"`
+ MapLongitude valueTypes.Float `json:"map_longitude"`
+ MlpeFlag valueTypes.Bool `json:"mlpe_flag"`
+ MobleTel interface{} `json:"moble_tel"`
+ MobleTelBak interface{} `json:"moble_tel_bak"`
+ ModuleModelID interface{} `json:"module_model_id"`
+ ModuleModelName interface{} `json:"module_model_name"`
+ Nmi valueTypes.String `json:"nmi"`
+ OperationBusName interface{} `json:"operation_bus_name"`
+ OrgIndexCode []valueTypes.String `json:"org_index_code"`
+ OwnerContact interface{} `json:"owner_contact"`
+ ParamIncomeUnit valueTypes.Integer `json:"param_income_unit"`
+ ParamIncomeUnitName valueTypes.String `json:"param_income_unit_name"`
+ ProvinceCode interface{} `json:"province_code"`
+ ProvinceName interface{} `json:"province_name"`
+ PsBuildDate valueTypes.DateTime `json:"ps_build_date"`
+ PsCountryID valueTypes.Integer `json:"ps_country_id"`
+ PsCreateUserID valueTypes.Integer `json:"ps_create_user_id"`
+ PsCurrentTimeZone valueTypes.String `json:"ps_current_time_zone"`
PsDirectOrgList []struct {
- OrgID valueTypes.Integer `json:"org_id"`
- OrgIndexCode string `json:"org_index_code"`
- OrgName string `json:"org_name"`
+ OrgID valueTypes.Integer `json:"org_id"`
+ OrgIndexCode valueTypes.String `json:"org_index_code"`
+ OrgName valueTypes.String `json:"org_name"`
} `json:"ps_direct_org_list"`
- PsHolder string `json:"ps_holder"`
- PsID valueTypes.Integer `json:"ps_id"`
- PsInstalledPower valueTypes.Float `json:"ps_installed_power"`
- PsKey valueTypes.PsKey `json:"ps_key"`
- PsLocation string `json:"ps_location"`
- PsName string `json:"ps_name"`
+ PsHolder valueTypes.String `json:"ps_holder"`
+ PsID valueTypes.Integer `json:"ps_id"`
+ PsInstalledPower valueTypes.Float `json:"ps_installed_power"`
+ PsKey valueTypes.PsKey `json:"ps_key"`
+ PsLocation valueTypes.String `json:"ps_location"`
+ PsName valueTypes.String `json:"ps_name"`
PsOrgInfo []struct {
- DealerOrgCode string `json:"dealer_org_code"`
- Installer string `json:"installer"`
- InstallerEmail string `json:"installer_email"`
- InstallerPhone string `json:"installer_phone"`
- OrgID valueTypes.Integer `json:"org_id"`
- OrgIndexCode string `json:"org_index_code"`
- OrgName string `json:"org_name"`
- PsDealerOrgCode string `json:"ps_dealer_org_code"`
- UpOrgID valueTypes.Integer `json:"up_org_id"`
+ DealerOrgCode valueTypes.String `json:"dealer_org_code"`
+ Installer valueTypes.String `json:"installer"`
+ InstallerEmail valueTypes.String `json:"installer_email"`
+ InstallerPhone valueTypes.String `json:"installer_phone"`
+ OrgID valueTypes.Integer `json:"org_id"`
+ OrgIndexCode valueTypes.String `json:"org_index_code"`
+ OrgName valueTypes.String `json:"org_name"`
+ PsDealerOrgCode valueTypes.String `json:"ps_dealer_org_code"`
+ UpOrgID valueTypes.Integer `json:"up_org_id"`
} `json:"ps_org_info"`
- PsPrice string `json:"ps_price"`
- PsPriceKwh string `json:"ps_price_kwh"`
+ PsPrice valueTypes.Float `json:"ps_price"`
+ PsPriceKwh valueTypes.Float `json:"ps_price_kwh"`
PsType valueTypes.Integer `json:"ps_type"`
- PsTypeDesc string `json:"ps_type_desc"`
- PsTypeName string `json:"ps_type_name"`
+ PsTypeDesc valueTypes.String `json:"ps_type_desc"`
+ PsTypeName valueTypes.String `json:"ps_type_name"`
PsUserID valueTypes.Integer `json:"ps_user_id"`
- RecoreCreateTime string `json:"recore_create_time"`
+ RecoreCreateTime valueTypes.DateTime `json:"recore_create_time"`
SafeStartDate valueTypes.DateTime `json:"safe_start_date"`
SelectedOrgList []struct {
- OrgID valueTypes.Integer `json:"org_id"`
- OrgIndexCode string `json:"org_index_code"`
- OrgName string `json:"org_name"`
+ OrgID valueTypes.Integer `json:"org_id"`
+ OrgIndexCode valueTypes.String `json:"org_index_code"`
+ OrgName valueTypes.String `json:"org_name"`
} `json:"selectedOrgList"`
- SetUserOrg string `json:"set_user_org"`
- ShareType string `json:"share_type"`
- ShareUserType interface{} `json:"share_user_type"`
- ShippingAddress string `json:"shipping_address"`
- ShippingZipCode string `json:"shipping_zip_code"`
- Sn string `json:"sn"`
+ SetUserOrg valueTypes.Integer `json:"set_user_org"`
+ ShareType valueTypes.Integer `json:"share_type"`
+ ShareUserType interface{} `json:"share_user_type"`
+ ShippingAddress valueTypes.String `json:"shipping_address"`
+ ShippingZipCode valueTypes.String `json:"shipping_zip_code"`
+ Sn valueTypes.String `json:"sn"`
SnDetailList []struct {
- CommunicateDeviceType valueTypes.Integer `json:"communicate_device_type"`
- CommunicateDeviceTypeName string `json:"communicate_device_type_name"`
- ID valueTypes.Integer `json:"id"`
- IsEnable valueTypes.Bool `json:"is_enable"`
- Sn string `json:"sn"`
+ CommunicateDeviceType valueTypes.Integer `json:"communicate_device_type"`
+ CommunicateDeviceTypeName valueTypes.String `json:"communicate_device_type_name"`
+ ID valueTypes.Integer `json:"id"`
+ IsEnable valueTypes.Bool `json:"is_enable"`
+ Sn valueTypes.String `json:"sn"`
} `json:"sn_detail_list"`
- SummerTimeState valueTypes.Integer `json:"summer_time_state"`
- SummerTimeZone string `json:"summer_time_zone"`
+ SummerTimeState valueTypes.Bool `json:"summer_time_state"`
+ SummerTimeZone valueTypes.String `json:"summer_time_zone"`
SummerTimeZoneID valueTypes.Integer `json:"summer_time_zone_id"`
TimeZoneID valueTypes.Integer `json:"time_zone_id"`
- Timezone string `json:"timezone"`
- UserAccount string `json:"user_account"`
+ Timezone valueTypes.String `json:"timezone"`
+ UserAccount valueTypes.String `json:"user_account"`
UserCapacityStatus valueTypes.Integer `json:"user_capacity_status"`
- UserEnglishName interface{} `json:"user_english_name"`
- UserLanguage string `json:"user_language"`
- UserMobleTel interface{} `json:"user_moble_tel"`
- UserName string `json:"user_name"`
- UserTelNationCode interface{} `json:"user_tel_nation_code"`
- ValidFlag valueTypes.Integer `json:"valid_flag"`
+ UserEnglishName interface{} `json:"user_english_name"`
+ UserLanguage valueTypes.String `json:"user_language"`
+ UserMobleTel interface{} `json:"user_moble_tel"`
+ UserName valueTypes.String `json:"user_name"`
+ UserTelNationCode interface{} `json:"user_tel_nation_code"`
+ ValidFlag valueTypes.Bool `json:"valid_flag"`
WgsLatitude valueTypes.Float `json:"wgs_latitude"`
WgsLongitude valueTypes.Float `json:"wgs_longitude"`
- ZipCode string `json:"zip_code"`
+ ZipCode valueTypes.String `json:"zip_code"`
}
func (e *ResultData) IsValid() error {
@@ -168,30 +167,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
}
return entries
diff --git a/iSolarCloud/AppService/queryPowerStationInfo/struct.go b/iSolarCloud/AppService/queryPowerStationInfo/struct.go
index 4ac046bda..edb9f718b 100644
--- a/iSolarCloud/AppService/queryPowerStationInfo/struct.go
+++ b/iSolarCloud/AppService/queryPowerStationInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/struct.go b/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/struct.go
index 676f94ca6..f732e9c75 100644
--- a/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/struct.go
+++ b/iSolarCloud/AppService/queryPsAreaByUserIdAndAreaCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsCompensationRecordList/struct.go b/iSolarCloud/AppService/queryPsCompensationRecordList/struct.go
index fd9115b83..490f1e605 100644
--- a/iSolarCloud/AppService/queryPsCompensationRecordList/struct.go
+++ b/iSolarCloud/AppService/queryPsCompensationRecordList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsDataByDate/struct.go b/iSolarCloud/AppService/queryPsDataByDate/struct.go
index a8c4bf727..4850e5675 100644
--- a/iSolarCloud/AppService/queryPsDataByDate/struct.go
+++ b/iSolarCloud/AppService/queryPsDataByDate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsIdList/data.go b/iSolarCloud/AppService/queryPsIdList/data.go
index 3596ed520..2817be120 100644
--- a/iSolarCloud/AppService/queryPsIdList/data.go
+++ b/iSolarCloud/AppService/queryPsIdList/data.go
@@ -4,8 +4,8 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/queryPsIdList"
@@ -25,7 +25,7 @@ func (rd RequestData) Help() string {
}
-type ResultData []string
+type ResultData []valueTypes.String // @TODO - Fix this up!
func (e *ResultData) IsValid() error {
var err error
@@ -38,30 +38,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/AppService/queryPsIdList/struct.go b/iSolarCloud/AppService/queryPsIdList/struct.go
index cbe58ef44..71e2bf378 100644
--- a/iSolarCloud/AppService/queryPsIdList/struct.go
+++ b/iSolarCloud/AppService/queryPsIdList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/struct.go b/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/struct.go
index 3d0df69ba..a88a7732b 100644
--- a/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/struct.go
+++ b/iSolarCloud/AppService/queryPsListByUserIdAndAreaCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsNameByPsId/data.go b/iSolarCloud/AppService/queryPsNameByPsId/data.go
index afa8598d3..2c9be6942 100644
--- a/iSolarCloud/AppService/queryPsNameByPsId/data.go
+++ b/iSolarCloud/AppService/queryPsNameByPsId/data.go
@@ -4,16 +4,16 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/devService/queryPsNameByPsId"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ PsId valueTypes.Integer `json:"ps_id" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -41,30 +41,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/AppService/queryPsNameByPsId/struct.go b/iSolarCloud/AppService/queryPsNameByPsId/struct.go
index 06497dc0d..c0f097c35 100644
--- a/iSolarCloud/AppService/queryPsNameByPsId/struct.go
+++ b/iSolarCloud/AppService/queryPsNameByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsPrByDate/struct.go b/iSolarCloud/AppService/queryPsPrByDate/struct.go
index 943526d12..0ad9dafa2 100644
--- a/iSolarCloud/AppService/queryPsPrByDate/struct.go
+++ b/iSolarCloud/AppService/queryPsPrByDate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsProfit/data.go b/iSolarCloud/AppService/queryPsProfit/data.go
index 40449ba2d..d0fcb15b3 100644
--- a/iSolarCloud/AppService/queryPsProfit/data.go
+++ b/iSolarCloud/AppService/queryPsProfit/data.go
@@ -4,8 +4,8 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/queryPsProfit"
@@ -36,32 +36,32 @@ func (rd RequestData) Help() string {
return ret
}
-
-type ResultData struct {
+type ResultData struct {
ActualList []struct {
- CuspNetPowerQuantity interface{} `json:"cusp_net_power_quantity"`
- CuspPowerQuantity interface{} `json:"cusp_power_quantity"`
- CuspUsePowerQuantity interface{} `json:"cusp_use_power_quantity"`
- DateID valueTypes.Integer `json:"date_id"`
- FlatNetPowerQuantity valueTypes.Float `json:"flat_net_power_quantity"`
- FlatPowerQuantity valueTypes.Float `json:"flat_power_quantity"`
- FlatUsePowerQuantity valueTypes.Float `json:"flat_use_power_quantity"`
- NetPowerProfit valueTypes.Float `json:"net_power_profit"`
- NetPowerQuantityTotal valueTypes.Float `json:"net_power_quantity_total"`
- PeakNetPowerQuantity interface{} `json:"peak_net_power_quantity"`
- PeakPowerQuantity interface{} `json:"peak_power_quantity"`
- PeakUsePowerQuantity interface{} `json:"peak_use_power_quantity"`
- PowerQuantityTotal valueTypes.Float `json:"power_quantity_total"`
- SubsidyProfit interface{} `json:"subsidy_profit"`
- TotalProfit valueTypes.Float `json:"total_profit"`
- UpdateTime string `json:"update_time"`
- UsePowerByDiscountProfit valueTypes.Float `json:"use_power_by_discount_profit"`
- UsePowerProfit valueTypes.Float `json:"use_power_profit"`
- UsePowerQuantityTotal valueTypes.Float `json:"use_power_quantity_total"`
- ValleyNetPowerQuantity interface{} `json:"valley_net_power_quantity"`
- ValleyPowerQuantity interface{} `json:"valley_power_quantity"`
- ValleyUsePowerQuantity interface{} `json:"valley_use_power_quantity"`
- } `json:"actual_list"`
+ CuspNetPowerQuantity interface{} `json:"cusp_net_power_quantity"`
+ CuspPowerQuantity interface{} `json:"cusp_power_quantity"`
+ CuspUsePowerQuantity interface{} `json:"cusp_use_power_quantity"`
+ DateID valueTypes.DateTime `json:"date_id"`
+ FlatNetPowerQuantity valueTypes.Float `json:"flat_net_power_quantity"`
+ FlatPowerQuantity valueTypes.Float `json:"flat_power_quantity"`
+ FlatUsePowerQuantity valueTypes.Float `json:"flat_use_power_quantity"`
+ NetPowerProfit valueTypes.Float `json:"net_power_profit"`
+ NetPowerQuantityTotal valueTypes.Float `json:"net_power_quantity_total"`
+ PeakNetPowerQuantity interface{} `json:"peak_net_power_quantity"`
+ PeakPowerQuantity interface{} `json:"peak_power_quantity"`
+ PeakUsePowerQuantity interface{} `json:"peak_use_power_quantity"`
+ PowerQuantityTotal valueTypes.Float `json:"power_quantity_total"`
+ SubsidyProfit interface{} `json:"subsidy_profit"`
+ TotalProfit valueTypes.Float `json:"total_profit"`
+ UpdateTime valueTypes.DateTime `json:"update_time"`
+ UsePowerByDiscountProfit valueTypes.Float `json:"use_power_by_discount_profit"`
+ UsePowerProfit valueTypes.Float `json:"use_power_profit"`
+ UsePowerQuantityTotal valueTypes.Float `json:"use_power_quantity_total"`
+ ValleyNetPowerQuantity interface{} `json:"valley_net_power_quantity"`
+ ValleyPowerQuantity interface{} `json:"valley_power_quantity"`
+ ValleyUsePowerQuantity interface{} `json:"valley_use_power_quantity"`
+ } `json:"actual_list" PointId:"actual" PointIgnoreIfNilFromChild:"UpdateTime" PointNameFromChild:"DateId" PointNameDateFormat:"20060102" PointNameFromAppend:"true"`
+ // Need to fix this output - PointNameFromChild:"DateId" isn't working.
PlanList []interface{} `json:"plan_list"`
}
@@ -76,30 +76,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
}
return entries
diff --git a/iSolarCloud/AppService/queryPsProfit/struct.go b/iSolarCloud/AppService/queryPsProfit/struct.go
index 0d635394b..da90da63f 100644
--- a/iSolarCloud/AppService/queryPsProfit/struct.go
+++ b/iSolarCloud/AppService/queryPsProfit/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go b/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go
index 355802867..5f0b510c7 100644
--- a/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go
+++ b/iSolarCloud/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPsStructureList/struct.go b/iSolarCloud/AppService/queryPsStructureList/struct.go
index aa6b26ac0..417a1735b 100644
--- a/iSolarCloud/AppService/queryPsStructureList/struct.go
+++ b/iSolarCloud/AppService/queryPsStructureList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPuuidsByCommandTotalId/struct.go b/iSolarCloud/AppService/queryPuuidsByCommandTotalId/struct.go
index 646119973..cc0a621fb 100644
--- a/iSolarCloud/AppService/queryPuuidsByCommandTotalId/struct.go
+++ b/iSolarCloud/AppService/queryPuuidsByCommandTotalId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/struct.go b/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/struct.go
index 4d6381773..06cf91ab7 100644
--- a/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/struct.go
+++ b/iSolarCloud/AppService/queryPuuidsByCommandTotalId2/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryRepairRuleList/struct.go b/iSolarCloud/AppService/queryRepairRuleList/struct.go
index 3850baf0c..5d6e13af7 100644
--- a/iSolarCloud/AppService/queryRepairRuleList/struct.go
+++ b/iSolarCloud/AppService/queryRepairRuleList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryReportListForManagementPage/struct.go b/iSolarCloud/AppService/queryReportListForManagementPage/struct.go
index 951897a68..1753c13e0 100644
--- a/iSolarCloud/AppService/queryReportListForManagementPage/struct.go
+++ b/iSolarCloud/AppService/queryReportListForManagementPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryReportMsg/struct.go b/iSolarCloud/AppService/queryReportMsg/struct.go
index 72501469d..27a1ff04c 100644
--- a/iSolarCloud/AppService/queryReportMsg/struct.go
+++ b/iSolarCloud/AppService/queryReportMsg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/querySharingPs/struct.go b/iSolarCloud/AppService/querySharingPs/struct.go
index 1d75dc7bd..7ab4a6b99 100644
--- a/iSolarCloud/AppService/querySharingPs/struct.go
+++ b/iSolarCloud/AppService/querySharingPs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/querySysAdvancedParam/struct.go b/iSolarCloud/AppService/querySysAdvancedParam/struct.go
index 9a0f85110..9b85f4763 100644
--- a/iSolarCloud/AppService/querySysAdvancedParam/struct.go
+++ b/iSolarCloud/AppService/querySysAdvancedParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryTimeBySN/struct.go b/iSolarCloud/AppService/queryTimeBySN/struct.go
index cfdb2312c..a2bf58f4b 100644
--- a/iSolarCloud/AppService/queryTimeBySN/struct.go
+++ b/iSolarCloud/AppService/queryTimeBySN/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryTrafficByDateCTCC/struct.go b/iSolarCloud/AppService/queryTrafficByDateCTCC/struct.go
index 9e28e4b14..25bf1ae8b 100644
--- a/iSolarCloud/AppService/queryTrafficByDateCTCC/struct.go
+++ b/iSolarCloud/AppService/queryTrafficByDateCTCC/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryTrafficCTCC/struct.go b/iSolarCloud/AppService/queryTrafficCTCC/struct.go
index 197e71af1..ce67db5da 100644
--- a/iSolarCloud/AppService/queryTrafficCTCC/struct.go
+++ b/iSolarCloud/AppService/queryTrafficCTCC/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUnitList/struct.go b/iSolarCloud/AppService/queryUnitList/struct.go
index 840b7012e..f22bca0fb 100644
--- a/iSolarCloud/AppService/queryUnitList/struct.go
+++ b/iSolarCloud/AppService/queryUnitList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUnitUuidBytotalId/struct.go b/iSolarCloud/AppService/queryUnitUuidBytotalId/struct.go
index 3f7fd7099..a146084b4 100644
--- a/iSolarCloud/AppService/queryUnitUuidBytotalId/struct.go
+++ b/iSolarCloud/AppService/queryUnitUuidBytotalId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserBtnPri/struct.go b/iSolarCloud/AppService/queryUserBtnPri/struct.go
index 7af102919..75953d51d 100644
--- a/iSolarCloud/AppService/queryUserBtnPri/struct.go
+++ b/iSolarCloud/AppService/queryUserBtnPri/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserByUserIds/struct.go b/iSolarCloud/AppService/queryUserByUserIds/struct.go
index df7bada6c..5fa09e373 100644
--- a/iSolarCloud/AppService/queryUserByUserIds/struct.go
+++ b/iSolarCloud/AppService/queryUserByUserIds/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserExtensionAttribute/struct.go b/iSolarCloud/AppService/queryUserExtensionAttribute/struct.go
index 5ad1cd560..e54a3c792 100644
--- a/iSolarCloud/AppService/queryUserExtensionAttribute/struct.go
+++ b/iSolarCloud/AppService/queryUserExtensionAttribute/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserForStep/struct.go b/iSolarCloud/AppService/queryUserForStep/struct.go
index 12467dbd4..3ca9f1010 100644
--- a/iSolarCloud/AppService/queryUserForStep/struct.go
+++ b/iSolarCloud/AppService/queryUserForStep/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserList/struct.go b/iSolarCloud/AppService/queryUserList/struct.go
index c8ed21c1b..e365bc59b 100644
--- a/iSolarCloud/AppService/queryUserList/struct.go
+++ b/iSolarCloud/AppService/queryUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserProcessPri/struct.go b/iSolarCloud/AppService/queryUserProcessPri/struct.go
index 04e96400d..29526fcc6 100644
--- a/iSolarCloud/AppService/queryUserProcessPri/struct.go
+++ b/iSolarCloud/AppService/queryUserProcessPri/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUserWechatBindRel/struct.go b/iSolarCloud/AppService/queryUserWechatBindRel/struct.go
index 82ddf48d5..bfd0ecdf8 100644
--- a/iSolarCloud/AppService/queryUserWechatBindRel/struct.go
+++ b/iSolarCloud/AppService/queryUserWechatBindRel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/struct.go b/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/struct.go
index fe9e95c16..2c6832604 100644
--- a/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/struct.go
+++ b/iSolarCloud/AppService/queryUuidByTotalIdAndUuid/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/rechargeOrderSetMeal/struct.go b/iSolarCloud/AppService/rechargeOrderSetMeal/struct.go
index 757de3f83..78a14cbdf 100644
--- a/iSolarCloud/AppService/rechargeOrderSetMeal/struct.go
+++ b/iSolarCloud/AppService/rechargeOrderSetMeal/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/renewSendReportConfirmEmail/struct.go b/iSolarCloud/AppService/renewSendReportConfirmEmail/struct.go
index cd7db17ea..935c2a68f 100644
--- a/iSolarCloud/AppService/renewSendReportConfirmEmail/struct.go
+++ b/iSolarCloud/AppService/renewSendReportConfirmEmail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/reportList/struct.go b/iSolarCloud/AppService/reportList/struct.go
index 97d37fcc3..3c41f16cd 100644
--- a/iSolarCloud/AppService/reportList/struct.go
+++ b/iSolarCloud/AppService/reportList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveCustomerEmployee/struct.go b/iSolarCloud/AppService/saveCustomerEmployee/struct.go
index b8a9965f8..5bd0b63f1 100644
--- a/iSolarCloud/AppService/saveCustomerEmployee/struct.go
+++ b/iSolarCloud/AppService/saveCustomerEmployee/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveDevSimList/struct.go b/iSolarCloud/AppService/saveDevSimList/struct.go
index 4a1f4a598..c70c299ee 100644
--- a/iSolarCloud/AppService/saveDevSimList/struct.go
+++ b/iSolarCloud/AppService/saveDevSimList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveDeviceAccountBatchData/struct.go b/iSolarCloud/AppService/saveDeviceAccountBatchData/struct.go
index 8b0693744..67610e42f 100644
--- a/iSolarCloud/AppService/saveDeviceAccountBatchData/struct.go
+++ b/iSolarCloud/AppService/saveDeviceAccountBatchData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveEnviromentIncomeInfos/struct.go b/iSolarCloud/AppService/saveEnviromentIncomeInfos/struct.go
index ab78bd428..68bb83385 100644
--- a/iSolarCloud/AppService/saveEnviromentIncomeInfos/struct.go
+++ b/iSolarCloud/AppService/saveEnviromentIncomeInfos/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveEnvironmentCurve/struct.go b/iSolarCloud/AppService/saveEnvironmentCurve/struct.go
index 83ea8c0db..194f7d6f9 100644
--- a/iSolarCloud/AppService/saveEnvironmentCurve/struct.go
+++ b/iSolarCloud/AppService/saveEnvironmentCurve/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveFirmwareFile/struct.go b/iSolarCloud/AppService/saveFirmwareFile/struct.go
index 4ff599ed7..5a5d67459 100644
--- a/iSolarCloud/AppService/saveFirmwareFile/struct.go
+++ b/iSolarCloud/AppService/saveFirmwareFile/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveIncomeSettingInfos/struct.go b/iSolarCloud/AppService/saveIncomeSettingInfos/struct.go
index cb7f56452..84ba580ae 100644
--- a/iSolarCloud/AppService/saveIncomeSettingInfos/struct.go
+++ b/iSolarCloud/AppService/saveIncomeSettingInfos/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/struct.go b/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/struct.go
index 629493a9c..a263ee163 100644
--- a/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/struct.go
+++ b/iSolarCloud/AppService/saveOrUpdateGroupStringCheckRule/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveParamModel/struct.go b/iSolarCloud/AppService/saveParamModel/struct.go
index 3a9cd009c..77aad848d 100644
--- a/iSolarCloud/AppService/saveParamModel/struct.go
+++ b/iSolarCloud/AppService/saveParamModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/savePowerCharges/struct.go b/iSolarCloud/AppService/savePowerCharges/struct.go
index 0fad9ba4a..93dba77c6 100644
--- a/iSolarCloud/AppService/savePowerCharges/struct.go
+++ b/iSolarCloud/AppService/savePowerCharges/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/savePowerDevicePoint/struct.go b/iSolarCloud/AppService/savePowerDevicePoint/struct.go
index 3b120d6bb..4ff2f0d6e 100644
--- a/iSolarCloud/AppService/savePowerDevicePoint/struct.go
+++ b/iSolarCloud/AppService/savePowerDevicePoint/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/savePowerRobotInfo/struct.go b/iSolarCloud/AppService/savePowerRobotInfo/struct.go
index 61b99c7f2..4f994f75e 100644
--- a/iSolarCloud/AppService/savePowerRobotInfo/struct.go
+++ b/iSolarCloud/AppService/savePowerRobotInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/savePowerRobotSweepAttr/struct.go b/iSolarCloud/AppService/savePowerRobotSweepAttr/struct.go
index 15dee17db..c029da97e 100644
--- a/iSolarCloud/AppService/savePowerRobotSweepAttr/struct.go
+++ b/iSolarCloud/AppService/savePowerRobotSweepAttr/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/savePowerSettingCharges/struct.go b/iSolarCloud/AppService/savePowerSettingCharges/struct.go
index ab4d7cc19..30623d249 100644
--- a/iSolarCloud/AppService/savePowerSettingCharges/struct.go
+++ b/iSolarCloud/AppService/savePowerSettingCharges/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/savePowerSettingInfo/struct.go b/iSolarCloud/AppService/savePowerSettingInfo/struct.go
index 46338a100..77022b1ec 100644
--- a/iSolarCloud/AppService/savePowerSettingInfo/struct.go
+++ b/iSolarCloud/AppService/savePowerSettingInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveProductionBatchData/struct.go b/iSolarCloud/AppService/saveProductionBatchData/struct.go
index 7b307342e..21d43709d 100644
--- a/iSolarCloud/AppService/saveProductionBatchData/struct.go
+++ b/iSolarCloud/AppService/saveProductionBatchData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveRechargeOrderObj/struct.go b/iSolarCloud/AppService/saveRechargeOrderObj/struct.go
index 67cb5e375..29ef3c4d9 100644
--- a/iSolarCloud/AppService/saveRechargeOrderObj/struct.go
+++ b/iSolarCloud/AppService/saveRechargeOrderObj/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveRechargeOrderOtherInfo/struct.go b/iSolarCloud/AppService/saveRechargeOrderOtherInfo/struct.go
index 4682ea68a..0e25590d8 100644
--- a/iSolarCloud/AppService/saveRechargeOrderOtherInfo/struct.go
+++ b/iSolarCloud/AppService/saveRechargeOrderOtherInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveRepair/struct.go b/iSolarCloud/AppService/saveRepair/struct.go
index 95c1ec847..35428c9b0 100644
--- a/iSolarCloud/AppService/saveRepair/struct.go
+++ b/iSolarCloud/AppService/saveRepair/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveReportExportColumns/struct.go b/iSolarCloud/AppService/saveReportExportColumns/struct.go
index 880021264..d74dc404d 100644
--- a/iSolarCloud/AppService/saveReportExportColumns/struct.go
+++ b/iSolarCloud/AppService/saveReportExportColumns/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveSetParam/struct.go b/iSolarCloud/AppService/saveSetParam/struct.go
index c51af6b25..2a2b50de0 100644
--- a/iSolarCloud/AppService/saveSetParam/struct.go
+++ b/iSolarCloud/AppService/saveSetParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveSysUserMsg/struct.go b/iSolarCloud/AppService/saveSysUserMsg/struct.go
index fcd95ab88..6bac0a128 100644
--- a/iSolarCloud/AppService/saveSysUserMsg/struct.go
+++ b/iSolarCloud/AppService/saveSysUserMsg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/saveTemplate/struct.go b/iSolarCloud/AppService/saveTemplate/struct.go
index ab2c52f1d..7574c2912 100644
--- a/iSolarCloud/AppService/saveTemplate/struct.go
+++ b/iSolarCloud/AppService/saveTemplate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/searchM2MMonthFlowCMCC/struct.go b/iSolarCloud/AppService/searchM2MMonthFlowCMCC/struct.go
index ca2adf601..44eeeb8bd 100644
--- a/iSolarCloud/AppService/searchM2MMonthFlowCMCC/struct.go
+++ b/iSolarCloud/AppService/searchM2MMonthFlowCMCC/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/selectSysTranslationNames/struct.go b/iSolarCloud/AppService/selectSysTranslationNames/struct.go
index 7699fabe0..b32acafc3 100644
--- a/iSolarCloud/AppService/selectSysTranslationNames/struct.go
+++ b/iSolarCloud/AppService/selectSysTranslationNames/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sendPsTimeZoneInstruction/struct.go b/iSolarCloud/AppService/sendPsTimeZoneInstruction/struct.go
index 0e02e7154..1d253fdb3 100644
--- a/iSolarCloud/AppService/sendPsTimeZoneInstruction/struct.go
+++ b/iSolarCloud/AppService/sendPsTimeZoneInstruction/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/setUpFormulaFaultAnalyse/struct.go b/iSolarCloud/AppService/setUpFormulaFaultAnalyse/struct.go
index 8534030c3..6ba4fbc88 100644
--- a/iSolarCloud/AppService/setUpFormulaFaultAnalyse/struct.go
+++ b/iSolarCloud/AppService/setUpFormulaFaultAnalyse/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/setUserGDPRAttrs/struct.go b/iSolarCloud/AppService/setUserGDPRAttrs/struct.go
index 8035dc6c7..24404739b 100644
--- a/iSolarCloud/AppService/setUserGDPRAttrs/struct.go
+++ b/iSolarCloud/AppService/setUserGDPRAttrs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/settingNotice/struct.go b/iSolarCloud/AppService/settingNotice/struct.go
index c622773bb..f11e20f79 100644
--- a/iSolarCloud/AppService/settingNotice/struct.go
+++ b/iSolarCloud/AppService/settingNotice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/shareMyPs/struct.go b/iSolarCloud/AppService/shareMyPs/struct.go
index 0f08d2840..dace248be 100644
--- a/iSolarCloud/AppService/shareMyPs/struct.go
+++ b/iSolarCloud/AppService/shareMyPs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sharePsBySN/struct.go b/iSolarCloud/AppService/sharePsBySN/struct.go
index 5a044cda2..e994b2b33 100644
--- a/iSolarCloud/AppService/sharePsBySN/struct.go
+++ b/iSolarCloud/AppService/sharePsBySN/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/showInverterByUnit/struct.go b/iSolarCloud/AppService/showInverterByUnit/struct.go
index 446540ed9..aee788a04 100644
--- a/iSolarCloud/AppService/showInverterByUnit/struct.go
+++ b/iSolarCloud/AppService/showInverterByUnit/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/showOnlineUsers/struct.go b/iSolarCloud/AppService/showOnlineUsers/struct.go
index 39c8eb52d..be9addec0 100644
--- a/iSolarCloud/AppService/showOnlineUsers/struct.go
+++ b/iSolarCloud/AppService/showOnlineUsers/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/showWarning/struct.go b/iSolarCloud/AppService/showWarning/struct.go
index c4fcfb010..f5ab0fbaf 100644
--- a/iSolarCloud/AppService/showWarning/struct.go
+++ b/iSolarCloud/AppService/showWarning/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/snIsExist/struct.go b/iSolarCloud/AppService/snIsExist/struct.go
index 3cc017b18..4b46d1c36 100644
--- a/iSolarCloud/AppService/snIsExist/struct.go
+++ b/iSolarCloud/AppService/snIsExist/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/snsIsExist/struct.go b/iSolarCloud/AppService/snsIsExist/struct.go
index 256b55a2d..28fa40573 100644
--- a/iSolarCloud/AppService/snsIsExist/struct.go
+++ b/iSolarCloud/AppService/snsIsExist/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/speedyAddPowerStation/struct.go b/iSolarCloud/AppService/speedyAddPowerStation/struct.go
index cf5cf522d..8b7a4a0ae 100644
--- a/iSolarCloud/AppService/speedyAddPowerStation/struct.go
+++ b/iSolarCloud/AppService/speedyAddPowerStation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/stationDeviceHistoryDataList/struct.go b/iSolarCloud/AppService/stationDeviceHistoryDataList/struct.go
index 6863d53aa..1912ce4fe 100644
--- a/iSolarCloud/AppService/stationDeviceHistoryDataList/struct.go
+++ b/iSolarCloud/AppService/stationDeviceHistoryDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/stationUnitsList/struct.go b/iSolarCloud/AppService/stationUnitsList/struct.go
index 3573007f7..c4e19d865 100644
--- a/iSolarCloud/AppService/stationUnitsList/struct.go
+++ b/iSolarCloud/AppService/stationUnitsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/stationsDiscreteData/struct.go b/iSolarCloud/AppService/stationsDiscreteData/struct.go
index a0a54f782..9c2b02062 100644
--- a/iSolarCloud/AppService/stationsDiscreteData/struct.go
+++ b/iSolarCloud/AppService/stationsDiscreteData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/stationsIncomeList/struct.go b/iSolarCloud/AppService/stationsIncomeList/struct.go
index 85158392e..2754ba050 100644
--- a/iSolarCloud/AppService/stationsIncomeList/struct.go
+++ b/iSolarCloud/AppService/stationsIncomeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/stationsPointReport/struct.go b/iSolarCloud/AppService/stationsPointReport/struct.go
index 9e61afbaa..326868985 100644
--- a/iSolarCloud/AppService/stationsPointReport/struct.go
+++ b/iSolarCloud/AppService/stationsPointReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/stationsYearPlanReport/struct.go b/iSolarCloud/AppService/stationsYearPlanReport/struct.go
index 279cd9c26..bc6faf7f7 100644
--- a/iSolarCloud/AppService/stationsYearPlanReport/struct.go
+++ b/iSolarCloud/AppService/stationsYearPlanReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sureAndImportSelettlementData/struct.go b/iSolarCloud/AppService/sureAndImportSelettlementData/struct.go
index ab3e7039a..06ab7f9e8 100644
--- a/iSolarCloud/AppService/sureAndImportSelettlementData/struct.go
+++ b/iSolarCloud/AppService/sureAndImportSelettlementData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sweepDevParamSet/struct.go b/iSolarCloud/AppService/sweepDevParamSet/struct.go
index 16ca2a647..72fd8ab70 100644
--- a/iSolarCloud/AppService/sweepDevParamSet/struct.go
+++ b/iSolarCloud/AppService/sweepDevParamSet/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sweepDevRunControl/struct.go b/iSolarCloud/AppService/sweepDevRunControl/struct.go
index 7d7b0efa6..064dfe416 100644
--- a/iSolarCloud/AppService/sweepDevRunControl/struct.go
+++ b/iSolarCloud/AppService/sweepDevRunControl/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sweepDevStrategyIssue/struct.go b/iSolarCloud/AppService/sweepDevStrategyIssue/struct.go
index ab4107e27..50e240df5 100644
--- a/iSolarCloud/AppService/sweepDevStrategyIssue/struct.go
+++ b/iSolarCloud/AppService/sweepDevStrategyIssue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/sysTimeZoneList/struct.go b/iSolarCloud/AppService/sysTimeZoneList/struct.go
index 62ba6dd1e..70b77d86f 100644
--- a/iSolarCloud/AppService/sysTimeZoneList/struct.go
+++ b/iSolarCloud/AppService/sysTimeZoneList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/unLockUser/struct.go b/iSolarCloud/AppService/unLockUser/struct.go
index f18ddf21f..d49502187 100644
--- a/iSolarCloud/AppService/unLockUser/struct.go
+++ b/iSolarCloud/AppService/unLockUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/unlockChildAccount/struct.go b/iSolarCloud/AppService/unlockChildAccount/struct.go
index 1234829c1..d47c98975 100644
--- a/iSolarCloud/AppService/unlockChildAccount/struct.go
+++ b/iSolarCloud/AppService/unlockChildAccount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateCommunicationModuleState/struct.go b/iSolarCloud/AppService/updateCommunicationModuleState/struct.go
index 3ecbdd5d5..e6161b13d 100644
--- a/iSolarCloud/AppService/updateCommunicationModuleState/struct.go
+++ b/iSolarCloud/AppService/updateCommunicationModuleState/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateDevInstalledPower/struct.go b/iSolarCloud/AppService/updateDevInstalledPower/struct.go
index 86b07d862..7985a4562 100644
--- a/iSolarCloud/AppService/updateDevInstalledPower/struct.go
+++ b/iSolarCloud/AppService/updateDevInstalledPower/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateFault/struct.go b/iSolarCloud/AppService/updateFault/struct.go
index eee3ffa5c..852ac36b1 100644
--- a/iSolarCloud/AppService/updateFault/struct.go
+++ b/iSolarCloud/AppService/updateFault/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateFaultData/struct.go b/iSolarCloud/AppService/updateFaultData/struct.go
index 45292d5f4..e5bc531d0 100644
--- a/iSolarCloud/AppService/updateFaultData/struct.go
+++ b/iSolarCloud/AppService/updateFaultData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateFaultMsgByFaultCode/struct.go b/iSolarCloud/AppService/updateFaultMsgByFaultCode/struct.go
index 4b3e949c4..93a5ae928 100644
--- a/iSolarCloud/AppService/updateFaultMsgByFaultCode/struct.go
+++ b/iSolarCloud/AppService/updateFaultMsgByFaultCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateFaultStatus/struct.go b/iSolarCloud/AppService/updateFaultStatus/struct.go
index b9fff58f1..125844a74 100644
--- a/iSolarCloud/AppService/updateFaultStatus/struct.go
+++ b/iSolarCloud/AppService/updateFaultStatus/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateHouseholdWorkOrder/struct.go b/iSolarCloud/AppService/updateHouseholdWorkOrder/struct.go
index 627b92e03..f65887718 100644
--- a/iSolarCloud/AppService/updateHouseholdWorkOrder/struct.go
+++ b/iSolarCloud/AppService/updateHouseholdWorkOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateInverterSn2ModuleSn/struct.go b/iSolarCloud/AppService/updateInverterSn2ModuleSn/struct.go
index b84fdc9b9..914acfd15 100644
--- a/iSolarCloud/AppService/updateInverterSn2ModuleSn/struct.go
+++ b/iSolarCloud/AppService/updateInverterSn2ModuleSn/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateOperateTicketAttachmentId/struct.go b/iSolarCloud/AppService/updateOperateTicketAttachmentId/struct.go
index f7d830d56..591530785 100644
--- a/iSolarCloud/AppService/updateOperateTicketAttachmentId/struct.go
+++ b/iSolarCloud/AppService/updateOperateTicketAttachmentId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateOrderDeviceByCustomerService/struct.go b/iSolarCloud/AppService/updateOrderDeviceByCustomerService/struct.go
index 316396858..4d5592130 100644
--- a/iSolarCloud/AppService/updateOrderDeviceByCustomerService/struct.go
+++ b/iSolarCloud/AppService/updateOrderDeviceByCustomerService/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateOwnerFaultConfig/struct.go b/iSolarCloud/AppService/updateOwnerFaultConfig/struct.go
index 71e95726a..c22bff94e 100644
--- a/iSolarCloud/AppService/updateOwnerFaultConfig/struct.go
+++ b/iSolarCloud/AppService/updateOwnerFaultConfig/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateParamSettingSysMsg/struct.go b/iSolarCloud/AppService/updateParamSettingSysMsg/struct.go
index 6aea29a85..62cb389b9 100644
--- a/iSolarCloud/AppService/updateParamSettingSysMsg/struct.go
+++ b/iSolarCloud/AppService/updateParamSettingSysMsg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePlatformLevelFaultLevel/struct.go b/iSolarCloud/AppService/updatePlatformLevelFaultLevel/struct.go
index acbc3cdc5..77c801399 100644
--- a/iSolarCloud/AppService/updatePlatformLevelFaultLevel/struct.go
+++ b/iSolarCloud/AppService/updatePlatformLevelFaultLevel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePowerDevicePoint/struct.go b/iSolarCloud/AppService/updatePowerDevicePoint/struct.go
index a7b9e6efd..6cee67dc7 100644
--- a/iSolarCloud/AppService/updatePowerDevicePoint/struct.go
+++ b/iSolarCloud/AppService/updatePowerDevicePoint/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePowerRobotInfo/struct.go b/iSolarCloud/AppService/updatePowerRobotInfo/struct.go
index 2994873b4..e0ddf65a2 100644
--- a/iSolarCloud/AppService/updatePowerRobotInfo/struct.go
+++ b/iSolarCloud/AppService/updatePowerRobotInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePowerRobotSweepAttr/struct.go b/iSolarCloud/AppService/updatePowerRobotSweepAttr/struct.go
index 282964429..8c196f33c 100644
--- a/iSolarCloud/AppService/updatePowerRobotSweepAttr/struct.go
+++ b/iSolarCloud/AppService/updatePowerRobotSweepAttr/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePowerStationForHousehold/struct.go b/iSolarCloud/AppService/updatePowerStationForHousehold/struct.go
index 0cd0f4679..e4dad6d79 100644
--- a/iSolarCloud/AppService/updatePowerStationForHousehold/struct.go
+++ b/iSolarCloud/AppService/updatePowerStationForHousehold/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePowerStationInfo/struct.go b/iSolarCloud/AppService/updatePowerStationInfo/struct.go
index a2e0f76f3..428ab10bc 100644
--- a/iSolarCloud/AppService/updatePowerStationInfo/struct.go
+++ b/iSolarCloud/AppService/updatePowerStationInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updatePowerUserInfo/struct.go b/iSolarCloud/AppService/updatePowerUserInfo/struct.go
index edd2f8b61..867a5b487 100644
--- a/iSolarCloud/AppService/updatePowerUserInfo/struct.go
+++ b/iSolarCloud/AppService/updatePowerUserInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateReportConfigByEmailAddr/struct.go b/iSolarCloud/AppService/updateReportConfigByEmailAddr/struct.go
index 9980763e1..1ef67ac11 100644
--- a/iSolarCloud/AppService/updateReportConfigByEmailAddr/struct.go
+++ b/iSolarCloud/AppService/updateReportConfigByEmailAddr/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateShareAttr/struct.go b/iSolarCloud/AppService/updateShareAttr/struct.go
index 822404b48..fc94cd1a1 100644
--- a/iSolarCloud/AppService/updateShareAttr/struct.go
+++ b/iSolarCloud/AppService/updateShareAttr/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateSnIsSureFlag/struct.go b/iSolarCloud/AppService/updateSnIsSureFlag/struct.go
index 32cf2d314..ab1456cd4 100644
--- a/iSolarCloud/AppService/updateSnIsSureFlag/struct.go
+++ b/iSolarCloud/AppService/updateSnIsSureFlag/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateStationPics/struct.go b/iSolarCloud/AppService/updateStationPics/struct.go
index bd9cd54c6..939786b06 100644
--- a/iSolarCloud/AppService/updateStationPics/struct.go
+++ b/iSolarCloud/AppService/updateStationPics/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateSysAdvancedParam/struct.go b/iSolarCloud/AppService/updateSysAdvancedParam/struct.go
index e1f531249..ef321e33f 100644
--- a/iSolarCloud/AppService/updateSysAdvancedParam/struct.go
+++ b/iSolarCloud/AppService/updateSysAdvancedParam/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateSysOrgNew/struct.go b/iSolarCloud/AppService/updateSysOrgNew/struct.go
index f8e4f2490..4e3ff2746 100644
--- a/iSolarCloud/AppService/updateSysOrgNew/struct.go
+++ b/iSolarCloud/AppService/updateSysOrgNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateTemplate/struct.go b/iSolarCloud/AppService/updateTemplate/struct.go
index 4b11b98da..82e8437b0 100644
--- a/iSolarCloud/AppService/updateTemplate/struct.go
+++ b/iSolarCloud/AppService/updateTemplate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateUinfoNetEaseUser/struct.go b/iSolarCloud/AppService/updateUinfoNetEaseUser/struct.go
index 3be6b0dc3..01160ccb8 100644
--- a/iSolarCloud/AppService/updateUinfoNetEaseUser/struct.go
+++ b/iSolarCloud/AppService/updateUinfoNetEaseUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateUserExtensionAttribute/struct.go b/iSolarCloud/AppService/updateUserExtensionAttribute/struct.go
index f0e366d99..ed86a61ed 100644
--- a/iSolarCloud/AppService/updateUserExtensionAttribute/struct.go
+++ b/iSolarCloud/AppService/updateUserExtensionAttribute/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateUserLanguage/struct.go b/iSolarCloud/AppService/updateUserLanguage/struct.go
index eaac2becc..ea3653ce4 100644
--- a/iSolarCloud/AppService/updateUserLanguage/struct.go
+++ b/iSolarCloud/AppService/updateUserLanguage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateUserPosition/struct.go b/iSolarCloud/AppService/updateUserPosition/struct.go
index 23fba9e60..eb2ca37fb 100644
--- a/iSolarCloud/AppService/updateUserPosition/struct.go
+++ b/iSolarCloud/AppService/updateUserPosition/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/updateUserUpOrg/struct.go b/iSolarCloud/AppService/updateUserUpOrg/struct.go
index a9c7a017c..16f6914bd 100644
--- a/iSolarCloud/AppService/updateUserUpOrg/struct.go
+++ b/iSolarCloud/AppService/updateUserUpOrg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/upgrade/struct.go b/iSolarCloud/AppService/upgrade/struct.go
index c5eccfe45..67621893d 100644
--- a/iSolarCloud/AppService/upgrade/struct.go
+++ b/iSolarCloud/AppService/upgrade/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/upgrate/struct.go b/iSolarCloud/AppService/upgrate/struct.go
index 27a3d3924..52f2cb92c 100644
--- a/iSolarCloud/AppService/upgrate/struct.go
+++ b/iSolarCloud/AppService/upgrate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/uploadFileToOss/struct.go b/iSolarCloud/AppService/uploadFileToOss/struct.go
index f64dbfd3f..4d7903feb 100644
--- a/iSolarCloud/AppService/uploadFileToOss/struct.go
+++ b/iSolarCloud/AppService/uploadFileToOss/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/userAgreeGdprProtocol/struct.go b/iSolarCloud/AppService/userAgreeGdprProtocol/struct.go
index 2e684e092..cf1cce916 100644
--- a/iSolarCloud/AppService/userAgreeGdprProtocol/struct.go
+++ b/iSolarCloud/AppService/userAgreeGdprProtocol/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/userInfoUniqueCheck/struct.go b/iSolarCloud/AppService/userInfoUniqueCheck/struct.go
index c9f85d21c..5caa865cd 100644
--- a/iSolarCloud/AppService/userInfoUniqueCheck/struct.go
+++ b/iSolarCloud/AppService/userInfoUniqueCheck/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/userMailHasBound/struct.go b/iSolarCloud/AppService/userMailHasBound/struct.go
index 7b01c786a..2ea95b36d 100644
--- a/iSolarCloud/AppService/userMailHasBound/struct.go
+++ b/iSolarCloud/AppService/userMailHasBound/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/AppService/userRegister/struct.go b/iSolarCloud/AppService/userRegister/struct.go
index 4e240f2c3..baaf3ac9f 100644
--- a/iSolarCloud/AppService/userRegister/struct.go
+++ b/iSolarCloud/AppService/userRegister/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/struct.go b/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/struct.go
index 18f92fc45..214283e63 100644
--- a/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/struct.go
+++ b/iSolarCloud/MttvScreenService/accumEnergyPsKpiData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/addBuildProgressing/struct.go b/iSolarCloud/MttvScreenService/addBuildProgressing/struct.go
index 1319c19b7..95d41e509 100644
--- a/iSolarCloud/MttvScreenService/addBuildProgressing/struct.go
+++ b/iSolarCloud/MttvScreenService/addBuildProgressing/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/deleteBuildProgressing/struct.go b/iSolarCloud/MttvScreenService/deleteBuildProgressing/struct.go
index 9e65c421c..711ce54b4 100644
--- a/iSolarCloud/MttvScreenService/deleteBuildProgressing/struct.go
+++ b/iSolarCloud/MttvScreenService/deleteBuildProgressing/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/struct.go b/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/struct.go
index 66a32a818..55bf22ac2 100644
--- a/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/struct.go
+++ b/iSolarCloud/MttvScreenService/energyEquivalentHoursRanking/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/energyGetRankBySortName/struct.go b/iSolarCloud/MttvScreenService/energyGetRankBySortName/struct.go
index 783237528..eb8a63c47 100644
--- a/iSolarCloud/MttvScreenService/energyGetRankBySortName/struct.go
+++ b/iSolarCloud/MttvScreenService/energyGetRankBySortName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/energyPovertyAlleviation/struct.go b/iSolarCloud/MttvScreenService/energyPovertyAlleviation/struct.go
index b7abf41b1..fc881727b 100644
--- a/iSolarCloud/MttvScreenService/energyPovertyAlleviation/struct.go
+++ b/iSolarCloud/MttvScreenService/energyPovertyAlleviation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/struct.go b/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/struct.go
index 1666f58ae..b8a953c04 100644
--- a/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/struct.go
+++ b/iSolarCloud/MttvScreenService/energyPowerGenerationTrends/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/findSingleStationPR/struct.go b/iSolarCloud/MttvScreenService/findSingleStationPR/struct.go
index dd3cae9ab..6b3b0ffea 100644
--- a/iSolarCloud/MttvScreenService/findSingleStationPR/struct.go
+++ b/iSolarCloud/MttvScreenService/findSingleStationPR/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getCapabilityTrend/struct.go b/iSolarCloud/MttvScreenService/getCapabilityTrend/struct.go
index 14981aa31..59d2c0c38 100644
--- a/iSolarCloud/MttvScreenService/getCapabilityTrend/struct.go
+++ b/iSolarCloud/MttvScreenService/getCapabilityTrend/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/struct.go b/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/struct.go
index 51a23e801..ec34b808a 100644
--- a/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/struct.go
+++ b/iSolarCloud/MttvScreenService/getKpiByUserIdAndAreaCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getMapByUser/struct.go b/iSolarCloud/MttvScreenService/getMapByUser/struct.go
index e5610c654..b1a139ee1 100644
--- a/iSolarCloud/MttvScreenService/getMapByUser/struct.go
+++ b/iSolarCloud/MttvScreenService/getMapByUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getOrgProByUserId/struct.go b/iSolarCloud/MttvScreenService/getOrgProByUserId/struct.go
index 2cf9b3c19..8c8b77fc9 100644
--- a/iSolarCloud/MttvScreenService/getOrgProByUserId/struct.go
+++ b/iSolarCloud/MttvScreenService/getOrgProByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getPlanAndActualPower/struct.go b/iSolarCloud/MttvScreenService/getPlanAndActualPower/struct.go
index 226ea6381..28cc6efe7 100644
--- a/iSolarCloud/MttvScreenService/getPlanAndActualPower/struct.go
+++ b/iSolarCloud/MttvScreenService/getPlanAndActualPower/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getPsDeviceListValue/struct.go b/iSolarCloud/MttvScreenService/getPsDeviceListValue/struct.go
index 7d3cc200e..503cd8091 100644
--- a/iSolarCloud/MttvScreenService/getPsDeviceListValue/struct.go
+++ b/iSolarCloud/MttvScreenService/getPsDeviceListValue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/struct.go b/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/struct.go
index 1b67843f0..6e7ac3d99 100644
--- a/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/struct.go
+++ b/iSolarCloud/MttvScreenService/getPsInfoWithJoinGridByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/struct.go b/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/struct.go
index ef28a9e53..4f1179b8d 100644
--- a/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/struct.go
+++ b/iSolarCloud/MttvScreenService/getPsKpiForHoursByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getPsListByMapId/struct.go b/iSolarCloud/MttvScreenService/getPsListByMapId/struct.go
index 3a7627241..a12edbe82 100644
--- a/iSolarCloud/MttvScreenService/getPsListByMapId/struct.go
+++ b/iSolarCloud/MttvScreenService/getPsListByMapId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/struct.go b/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/struct.go
index 73d0e34b6..b07cd03bd 100644
--- a/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/struct.go
+++ b/iSolarCloud/MttvScreenService/getPsListByUserIdAndAreaCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/getTheoryAndActualPower/struct.go b/iSolarCloud/MttvScreenService/getTheoryAndActualPower/struct.go
index dbf667a20..2993d1718 100644
--- a/iSolarCloud/MttvScreenService/getTheoryAndActualPower/struct.go
+++ b/iSolarCloud/MttvScreenService/getTheoryAndActualPower/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/nextLevelOrgList/struct.go b/iSolarCloud/MttvScreenService/nextLevelOrgList/struct.go
index 8e973299e..48869a740 100644
--- a/iSolarCloud/MttvScreenService/nextLevelOrgList/struct.go
+++ b/iSolarCloud/MttvScreenService/nextLevelOrgList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/struct.go b/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/struct.go
index 58bd29cea..55e42773f 100644
--- a/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/struct.go
+++ b/iSolarCloud/MttvScreenService/nextLevelOrgStatisticalDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/orgPowerReport/struct.go b/iSolarCloud/MttvScreenService/orgPowerReport/struct.go
index f1fbd3a1f..fb193a044 100644
--- a/iSolarCloud/MttvScreenService/orgPowerReport/struct.go
+++ b/iSolarCloud/MttvScreenService/orgPowerReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/queryBuildProgressing/struct.go b/iSolarCloud/MttvScreenService/queryBuildProgressing/struct.go
index 7b1c26f30..9cbe53750 100644
--- a/iSolarCloud/MttvScreenService/queryBuildProgressing/struct.go
+++ b/iSolarCloud/MttvScreenService/queryBuildProgressing/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/queryBuildProgressingNew/struct.go b/iSolarCloud/MttvScreenService/queryBuildProgressingNew/struct.go
index f6328d2b6..b97933d0b 100644
--- a/iSolarCloud/MttvScreenService/queryBuildProgressingNew/struct.go
+++ b/iSolarCloud/MttvScreenService/queryBuildProgressingNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/queryBuildProgressingOne/struct.go b/iSolarCloud/MttvScreenService/queryBuildProgressingOne/struct.go
index 75a1c776f..21a6c7e08 100644
--- a/iSolarCloud/MttvScreenService/queryBuildProgressingOne/struct.go
+++ b/iSolarCloud/MttvScreenService/queryBuildProgressingOne/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/struct.go b/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/struct.go
index 3fc4e75d7..ddede316c 100644
--- a/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/struct.go
+++ b/iSolarCloud/MttvScreenService/queryNearlyTwoYearsGenAndPrft/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/struct.go b/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/struct.go
index fb57e719a..9dc4585b8 100644
--- a/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/struct.go
+++ b/iSolarCloud/MttvScreenService/querySaveEnergyPsSOH/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/struct.go b/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/struct.go
index bb887b36e..7db5f8b8e 100644
--- a/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/struct.go
+++ b/iSolarCloud/MttvScreenService/queryScreenUserMdIfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/saveOrUpdatePosition/struct.go b/iSolarCloud/MttvScreenService/saveOrUpdatePosition/struct.go
index 9b9d7ac12..d4ce2d9c2 100644
--- a/iSolarCloud/MttvScreenService/saveOrUpdatePosition/struct.go
+++ b/iSolarCloud/MttvScreenService/saveOrUpdatePosition/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/MttvScreenService/updateBuildProgressing/struct.go b/iSolarCloud/MttvScreenService/updateBuildProgressing/struct.go
index 20d92162b..f2f0c99ed 100644
--- a/iSolarCloud/MttvScreenService/updateBuildProgressing/struct.go
+++ b/iSolarCloud/MttvScreenService/updateBuildProgressing/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/NullArea/NullEndpoint/struct.go b/iSolarCloud/NullArea/NullEndpoint/struct.go
index f9ddac8bd..202edf0ea 100644
--- a/iSolarCloud/NullArea/NullEndpoint/struct.go
+++ b/iSolarCloud/NullArea/NullEndpoint/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/PowerPointService/queryPointDataTopOne/struct.go b/iSolarCloud/PowerPointService/queryPointDataTopOne/struct.go
index 17e20703c..e928f65a7 100644
--- a/iSolarCloud/PowerPointService/queryPointDataTopOne/struct.go
+++ b/iSolarCloud/PowerPointService/queryPointDataTopOne/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/addMaterial/struct.go b/iSolarCloud/WebAppService/addMaterial/struct.go
index 62009287d..a0214428b 100644
--- a/iSolarCloud/WebAppService/addMaterial/struct.go
+++ b/iSolarCloud/WebAppService/addMaterial/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/addOptTicketInfo/struct.go b/iSolarCloud/WebAppService/addOptTicketInfo/struct.go
index 1c1dd8735..693fa8322 100644
--- a/iSolarCloud/WebAppService/addOptTicketInfo/struct.go
+++ b/iSolarCloud/WebAppService/addOptTicketInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/addSpareParts/struct.go b/iSolarCloud/WebAppService/addSpareParts/struct.go
index 4192b7c37..645c3fca7 100644
--- a/iSolarCloud/WebAppService/addSpareParts/struct.go
+++ b/iSolarCloud/WebAppService/addSpareParts/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/associateQueryFaultNames/struct.go b/iSolarCloud/WebAppService/associateQueryFaultNames/struct.go
index ea4c81283..4ce73a3b8 100644
--- a/iSolarCloud/WebAppService/associateQueryFaultNames/struct.go
+++ b/iSolarCloud/WebAppService/associateQueryFaultNames/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/auditPsDeviceCheck/struct.go b/iSolarCloud/WebAppService/auditPsDeviceCheck/struct.go
index 901d09966..27ba9bca6 100644
--- a/iSolarCloud/WebAppService/auditPsDeviceCheck/struct.go
+++ b/iSolarCloud/WebAppService/auditPsDeviceCheck/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/calcOutputRankByDay/struct.go b/iSolarCloud/WebAppService/calcOutputRankByDay/struct.go
index 03b0e84c2..790392977 100644
--- a/iSolarCloud/WebAppService/calcOutputRankByDay/struct.go
+++ b/iSolarCloud/WebAppService/calcOutputRankByDay/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/changeReadStatus/struct.go b/iSolarCloud/WebAppService/changeReadStatus/struct.go
index 3e0983dc7..dc8ee9505 100644
--- a/iSolarCloud/WebAppService/changeReadStatus/struct.go
+++ b/iSolarCloud/WebAppService/changeReadStatus/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/checkMaterialName/struct.go b/iSolarCloud/WebAppService/checkMaterialName/struct.go
index 435dec897..b98e35465 100644
--- a/iSolarCloud/WebAppService/checkMaterialName/struct.go
+++ b/iSolarCloud/WebAppService/checkMaterialName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/confirmFault/struct.go b/iSolarCloud/WebAppService/confirmFault/struct.go
index c32a5b97d..be5652a97 100644
--- a/iSolarCloud/WebAppService/confirmFault/struct.go
+++ b/iSolarCloud/WebAppService/confirmFault/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/copeOperateTicket/struct.go b/iSolarCloud/WebAppService/copeOperateTicket/struct.go
index fce1351ea..584d01fdb 100644
--- a/iSolarCloud/WebAppService/copeOperateTicket/struct.go
+++ b/iSolarCloud/WebAppService/copeOperateTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/copySecondTypeTicket/struct.go b/iSolarCloud/WebAppService/copySecondTypeTicket/struct.go
index c9877d215..162eeafe0 100644
--- a/iSolarCloud/WebAppService/copySecondTypeTicket/struct.go
+++ b/iSolarCloud/WebAppService/copySecondTypeTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/copyWorkTicket/struct.go b/iSolarCloud/WebAppService/copyWorkTicket/struct.go
index 645e3a8e2..c1abe8304 100644
--- a/iSolarCloud/WebAppService/copyWorkTicket/struct.go
+++ b/iSolarCloud/WebAppService/copyWorkTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/delOptTicketInfo/struct.go b/iSolarCloud/WebAppService/delOptTicketInfo/struct.go
index 101433c0b..1f28ec7ca 100644
--- a/iSolarCloud/WebAppService/delOptTicketInfo/struct.go
+++ b/iSolarCloud/WebAppService/delOptTicketInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteDuty/struct.go b/iSolarCloud/WebAppService/deleteDuty/struct.go
index 440996d40..52d587e0a 100644
--- a/iSolarCloud/WebAppService/deleteDuty/struct.go
+++ b/iSolarCloud/WebAppService/deleteDuty/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteDutyMid/struct.go b/iSolarCloud/WebAppService/deleteDutyMid/struct.go
index 14960fd47..629b4179d 100644
--- a/iSolarCloud/WebAppService/deleteDutyMid/struct.go
+++ b/iSolarCloud/WebAppService/deleteDutyMid/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteMaterial/struct.go b/iSolarCloud/WebAppService/deleteMaterial/struct.go
index e451bbbd7..6fbd16332 100644
--- a/iSolarCloud/WebAppService/deleteMaterial/struct.go
+++ b/iSolarCloud/WebAppService/deleteMaterial/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteOrSharedSelfReport/struct.go b/iSolarCloud/WebAppService/deleteOrSharedSelfReport/struct.go
index f3e3d0f97..b3b1e1fa6 100644
--- a/iSolarCloud/WebAppService/deleteOrSharedSelfReport/struct.go
+++ b/iSolarCloud/WebAppService/deleteOrSharedSelfReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteSecondTypeTicket/struct.go b/iSolarCloud/WebAppService/deleteSecondTypeTicket/struct.go
index faac63f28..5bbc974cf 100644
--- a/iSolarCloud/WebAppService/deleteSecondTypeTicket/struct.go
+++ b/iSolarCloud/WebAppService/deleteSecondTypeTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteSparePartsById/struct.go b/iSolarCloud/WebAppService/deleteSparePartsById/struct.go
index e2bc0090c..9a8c167fc 100644
--- a/iSolarCloud/WebAppService/deleteSparePartsById/struct.go
+++ b/iSolarCloud/WebAppService/deleteSparePartsById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deleteWorkTicket/struct.go b/iSolarCloud/WebAppService/deleteWorkTicket/struct.go
index df6b6c550..90246cf6e 100644
--- a/iSolarCloud/WebAppService/deleteWorkTicket/struct.go
+++ b/iSolarCloud/WebAppService/deleteWorkTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/deviceFactoryList/struct.go b/iSolarCloud/WebAppService/deviceFactoryList/struct.go
index c49f41289..f289e201d 100644
--- a/iSolarCloud/WebAppService/deviceFactoryList/struct.go
+++ b/iSolarCloud/WebAppService/deviceFactoryList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/dispartDataPageList/struct.go b/iSolarCloud/WebAppService/dispartDataPageList/struct.go
index 48cc64872..52223d58f 100644
--- a/iSolarCloud/WebAppService/dispartDataPageList/struct.go
+++ b/iSolarCloud/WebAppService/dispartDataPageList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/executeTask/struct.go b/iSolarCloud/WebAppService/executeTask/struct.go
index 5f2f299b9..c0617e229 100644
--- a/iSolarCloud/WebAppService/executeTask/struct.go
+++ b/iSolarCloud/WebAppService/executeTask/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findCurrentTask/struct.go b/iSolarCloud/WebAppService/findCurrentTask/struct.go
index 8587ada36..3245e7b0b 100644
--- a/iSolarCloud/WebAppService/findCurrentTask/struct.go
+++ b/iSolarCloud/WebAppService/findCurrentTask/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findDeviceMessageByPskey/struct.go b/iSolarCloud/WebAppService/findDeviceMessageByPskey/struct.go
index e9fd96daf..12d5d6b2b 100644
--- a/iSolarCloud/WebAppService/findDeviceMessageByPskey/struct.go
+++ b/iSolarCloud/WebAppService/findDeviceMessageByPskey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findFactoryMessage/struct.go b/iSolarCloud/WebAppService/findFactoryMessage/struct.go
index 5417ed0e8..700663019 100644
--- a/iSolarCloud/WebAppService/findFactoryMessage/struct.go
+++ b/iSolarCloud/WebAppService/findFactoryMessage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findImgResources/struct.go b/iSolarCloud/WebAppService/findImgResources/struct.go
index 0a0ef33c9..b9acdee26 100644
--- a/iSolarCloud/WebAppService/findImgResources/struct.go
+++ b/iSolarCloud/WebAppService/findImgResources/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findMateiralSubType/struct.go b/iSolarCloud/WebAppService/findMateiralSubType/struct.go
index f2c203d01..955457c65 100644
--- a/iSolarCloud/WebAppService/findMateiralSubType/struct.go
+++ b/iSolarCloud/WebAppService/findMateiralSubType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findMaterialById/struct.go b/iSolarCloud/WebAppService/findMaterialById/struct.go
index e44852fe3..20802e999 100644
--- a/iSolarCloud/WebAppService/findMaterialById/struct.go
+++ b/iSolarCloud/WebAppService/findMaterialById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findMyDealedCurrentTask/struct.go b/iSolarCloud/WebAppService/findMyDealedCurrentTask/struct.go
index a1bc75bea..6917c4b45 100644
--- a/iSolarCloud/WebAppService/findMyDealedCurrentTask/struct.go
+++ b/iSolarCloud/WebAppService/findMyDealedCurrentTask/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findMyDealedImgResources/struct.go b/iSolarCloud/WebAppService/findMyDealedImgResources/struct.go
index 18603fb6c..6a07067cb 100644
--- a/iSolarCloud/WebAppService/findMyDealedImgResources/struct.go
+++ b/iSolarCloud/WebAppService/findMyDealedImgResources/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findSeriesInverterData/struct.go b/iSolarCloud/WebAppService/findSeriesInverterData/struct.go
index 158dc0f76..a17cd5df1 100644
--- a/iSolarCloud/WebAppService/findSeriesInverterData/struct.go
+++ b/iSolarCloud/WebAppService/findSeriesInverterData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/findWebRole/struct.go b/iSolarCloud/WebAppService/findWebRole/struct.go
index d3e62feed..48ab4f583 100644
--- a/iSolarCloud/WebAppService/findWebRole/struct.go
+++ b/iSolarCloud/WebAppService/findWebRole/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getAllPsFaultCount/struct.go b/iSolarCloud/WebAppService/getAllPsFaultCount/struct.go
index c1d534f16..ff886c7f6 100644
--- a/iSolarCloud/WebAppService/getAllPsFaultCount/struct.go
+++ b/iSolarCloud/WebAppService/getAllPsFaultCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/struct.go b/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/struct.go
index 8578fdd6c..fc125d1a2 100644
--- a/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/struct.go
+++ b/iSolarCloud/WebAppService/getAllPsFaultCountByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getAllPsList/struct.go b/iSolarCloud/WebAppService/getAllPsList/struct.go
index a34ff7f7f..3a907cf80 100644
--- a/iSolarCloud/WebAppService/getAllPsList/struct.go
+++ b/iSolarCloud/WebAppService/getAllPsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getAllStore/struct.go b/iSolarCloud/WebAppService/getAllStore/struct.go
index fa2cf53e3..fc7ffc469 100644
--- a/iSolarCloud/WebAppService/getAllStore/struct.go
+++ b/iSolarCloud/WebAppService/getAllStore/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getBaseDeviceInfo/struct.go b/iSolarCloud/WebAppService/getBaseDeviceInfo/struct.go
index db5f592ce..1e93104f2 100644
--- a/iSolarCloud/WebAppService/getBaseDeviceInfo/struct.go
+++ b/iSolarCloud/WebAppService/getBaseDeviceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getBoxData/struct.go b/iSolarCloud/WebAppService/getBoxData/struct.go
index 7d4efb4a1..a9a07dd4e 100644
--- a/iSolarCloud/WebAppService/getBoxData/struct.go
+++ b/iSolarCloud/WebAppService/getBoxData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getCBoxTree/struct.go b/iSolarCloud/WebAppService/getCBoxTree/struct.go
index 670e5cbb9..2f3c699ab 100644
--- a/iSolarCloud/WebAppService/getCBoxTree/struct.go
+++ b/iSolarCloud/WebAppService/getCBoxTree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getCheckDevTypeList/struct.go b/iSolarCloud/WebAppService/getCheckDevTypeList/struct.go
index 364bb7916..9e4ac1892 100644
--- a/iSolarCloud/WebAppService/getCheckDevTypeList/struct.go
+++ b/iSolarCloud/WebAppService/getCheckDevTypeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getCheckUserList/struct.go b/iSolarCloud/WebAppService/getCheckUserList/struct.go
index 380239ab6..be99abeab 100644
--- a/iSolarCloud/WebAppService/getCheckUserList/struct.go
+++ b/iSolarCloud/WebAppService/getCheckUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getChildOrg/struct.go b/iSolarCloud/WebAppService/getChildOrg/struct.go
index 32717b6c9..f86bfcd99 100644
--- a/iSolarCloud/WebAppService/getChildOrg/struct.go
+++ b/iSolarCloud/WebAppService/getChildOrg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getCo/struct.go b/iSolarCloud/WebAppService/getCo/struct.go
index 7de3152bf..31f943e86 100644
--- a/iSolarCloud/WebAppService/getCo/struct.go
+++ b/iSolarCloud/WebAppService/getCo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getCodeTreeMap/struct.go b/iSolarCloud/WebAppService/getCodeTreeMap/struct.go
index 539dfdbac..b2b3debed 100644
--- a/iSolarCloud/WebAppService/getCodeTreeMap/struct.go
+++ b/iSolarCloud/WebAppService/getCodeTreeMap/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDST/struct.go b/iSolarCloud/WebAppService/getDST/struct.go
index 76fab855a..e56192b3c 100644
--- a/iSolarCloud/WebAppService/getDST/struct.go
+++ b/iSolarCloud/WebAppService/getDST/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDataCounts/struct.go b/iSolarCloud/WebAppService/getDataCounts/struct.go
index 255be5f20..73355991b 100644
--- a/iSolarCloud/WebAppService/getDataCounts/struct.go
+++ b/iSolarCloud/WebAppService/getDataCounts/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDataInfo/struct.go b/iSolarCloud/WebAppService/getDataInfo/struct.go
index 005afe17c..6ae25b44d 100644
--- a/iSolarCloud/WebAppService/getDataInfo/struct.go
+++ b/iSolarCloud/WebAppService/getDataInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDevList/struct.go b/iSolarCloud/WebAppService/getDevList/struct.go
index c63b4ac18..96c743294 100644
--- a/iSolarCloud/WebAppService/getDevList/struct.go
+++ b/iSolarCloud/WebAppService/getDevList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDevName/struct.go b/iSolarCloud/WebAppService/getDevName/struct.go
index 0ff0659f6..7635e9a00 100644
--- a/iSolarCloud/WebAppService/getDevName/struct.go
+++ b/iSolarCloud/WebAppService/getDevName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDevTypeList/struct.go b/iSolarCloud/WebAppService/getDevTypeList/struct.go
index 33c37c174..6bc78fcf0 100644
--- a/iSolarCloud/WebAppService/getDevTypeList/struct.go
+++ b/iSolarCloud/WebAppService/getDevTypeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDeviceDataList/struct.go b/iSolarCloud/WebAppService/getDeviceDataList/struct.go
index 139870b45..12ae1c98b 100644
--- a/iSolarCloud/WebAppService/getDeviceDataList/struct.go
+++ b/iSolarCloud/WebAppService/getDeviceDataList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDeviceFactory/struct.go b/iSolarCloud/WebAppService/getDeviceFactory/struct.go
index 3ec3a5d55..b5a32f1e1 100644
--- a/iSolarCloud/WebAppService/getDeviceFactory/struct.go
+++ b/iSolarCloud/WebAppService/getDeviceFactory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDeviceInfoForCheck/struct.go b/iSolarCloud/WebAppService/getDeviceInfoForCheck/struct.go
index 9fa024511..fd16f69bf 100644
--- a/iSolarCloud/WebAppService/getDeviceInfoForCheck/struct.go
+++ b/iSolarCloud/WebAppService/getDeviceInfoForCheck/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDevicePointAttrs/struct.go b/iSolarCloud/WebAppService/getDevicePointAttrs/struct.go
index 51b8c2547..8d7b99a8c 100644
--- a/iSolarCloud/WebAppService/getDevicePointAttrs/struct.go
+++ b/iSolarCloud/WebAppService/getDevicePointAttrs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDeviceTreeChild/struct.go b/iSolarCloud/WebAppService/getDeviceTreeChild/struct.go
index b49651706..77dc229c6 100644
--- a/iSolarCloud/WebAppService/getDeviceTreeChild/struct.go
+++ b/iSolarCloud/WebAppService/getDeviceTreeChild/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDeviceUuid/struct.go b/iSolarCloud/WebAppService/getDeviceUuid/struct.go
index ce40b5775..86de3d0ca 100644
--- a/iSolarCloud/WebAppService/getDeviceUuid/struct.go
+++ b/iSolarCloud/WebAppService/getDeviceUuid/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDutyInfoById/struct.go b/iSolarCloud/WebAppService/getDutyInfoById/struct.go
index c8032607b..d1cf4890e 100644
--- a/iSolarCloud/WebAppService/getDutyInfoById/struct.go
+++ b/iSolarCloud/WebAppService/getDutyInfoById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getDutyOrgZtree/struct.go b/iSolarCloud/WebAppService/getDutyOrgZtree/struct.go
index 8c5926064..fa84ce135 100644
--- a/iSolarCloud/WebAppService/getDutyOrgZtree/struct.go
+++ b/iSolarCloud/WebAppService/getDutyOrgZtree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getElecEffectList/struct.go b/iSolarCloud/WebAppService/getElecEffectList/struct.go
index f9884d780..a9f965d1f 100644
--- a/iSolarCloud/WebAppService/getElecEffectList/struct.go
+++ b/iSolarCloud/WebAppService/getElecEffectList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getEnvironmentInfo/struct.go b/iSolarCloud/WebAppService/getEnvironmentInfo/struct.go
index f9057ae26..a7c7dca1f 100644
--- a/iSolarCloud/WebAppService/getEnvironmentInfo/struct.go
+++ b/iSolarCloud/WebAppService/getEnvironmentInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getFaultList/struct.go b/iSolarCloud/WebAppService/getFaultList/struct.go
index 90b290aa1..5b3e6ff35 100644
--- a/iSolarCloud/WebAppService/getFaultList/struct.go
+++ b/iSolarCloud/WebAppService/getFaultList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getFaultName/struct.go b/iSolarCloud/WebAppService/getFaultName/struct.go
index 51e6517d1..a1fb4aa94 100644
--- a/iSolarCloud/WebAppService/getFaultName/struct.go
+++ b/iSolarCloud/WebAppService/getFaultName/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getFaultOrder/struct.go b/iSolarCloud/WebAppService/getFaultOrder/struct.go
index aa73f3ceb..f6818a7b1 100644
--- a/iSolarCloud/WebAppService/getFaultOrder/struct.go
+++ b/iSolarCloud/WebAppService/getFaultOrder/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getFaultOrderByOrderId/struct.go b/iSolarCloud/WebAppService/getFaultOrderByOrderId/struct.go
index ddf30001a..b9aaf21d6 100644
--- a/iSolarCloud/WebAppService/getFaultOrderByOrderId/struct.go
+++ b/iSolarCloud/WebAppService/getFaultOrderByOrderId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getFaultOrderList/struct.go b/iSolarCloud/WebAppService/getFaultOrderList/struct.go
index 19a72f378..6386392db 100644
--- a/iSolarCloud/WebAppService/getFaultOrderList/struct.go
+++ b/iSolarCloud/WebAppService/getFaultOrderList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getFaultOrderStepList/struct.go b/iSolarCloud/WebAppService/getFaultOrderStepList/struct.go
index fb5711ae7..4ced4dc10 100644
--- a/iSolarCloud/WebAppService/getFaultOrderStepList/struct.go
+++ b/iSolarCloud/WebAppService/getFaultOrderStepList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getHTRoleList/struct.go b/iSolarCloud/WebAppService/getHTRoleList/struct.go
index efcd3f18b..f815c245f 100644
--- a/iSolarCloud/WebAppService/getHTRoleList/struct.go
+++ b/iSolarCloud/WebAppService/getHTRoleList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getHistoryComments/struct.go b/iSolarCloud/WebAppService/getHistoryComments/struct.go
index 3003665bf..9d04e34f2 100644
--- a/iSolarCloud/WebAppService/getHistoryComments/struct.go
+++ b/iSolarCloud/WebAppService/getHistoryComments/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getInfo/struct.go b/iSolarCloud/WebAppService/getInfo/struct.go
index a72056921..3f078634d 100644
--- a/iSolarCloud/WebAppService/getInfo/struct.go
+++ b/iSolarCloud/WebAppService/getInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getInverteTableListCount/struct.go b/iSolarCloud/WebAppService/getInverteTableListCount/struct.go
index 15c70a5d6..8b61c2b12 100644
--- a/iSolarCloud/WebAppService/getInverteTableListCount/struct.go
+++ b/iSolarCloud/WebAppService/getInverteTableListCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/struct.go b/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/struct.go
index 3349f10e8..df27b7a6e 100644
--- a/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/struct.go
+++ b/iSolarCloud/WebAppService/getInverterDiscreteDistributioList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getInverterDiscreteList/struct.go b/iSolarCloud/WebAppService/getInverterDiscreteList/struct.go
index 73ac980c9..a2411f18b 100644
--- a/iSolarCloud/WebAppService/getInverterDiscreteList/struct.go
+++ b/iSolarCloud/WebAppService/getInverterDiscreteList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getInverterFactoryList/struct.go b/iSolarCloud/WebAppService/getInverterFactoryList/struct.go
index 3a1df9921..eedc6531f 100644
--- a/iSolarCloud/WebAppService/getInverterFactoryList/struct.go
+++ b/iSolarCloud/WebAppService/getInverterFactoryList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getInverterInfo/struct.go b/iSolarCloud/WebAppService/getInverterInfo/struct.go
index 8f45e2e8b..e56ac4b9f 100644
--- a/iSolarCloud/WebAppService/getInverterInfo/struct.go
+++ b/iSolarCloud/WebAppService/getInverterInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getLoadCurveList/struct.go b/iSolarCloud/WebAppService/getLoadCurveList/struct.go
index 59d703888..f32d566ca 100644
--- a/iSolarCloud/WebAppService/getLoadCurveList/struct.go
+++ b/iSolarCloud/WebAppService/getLoadCurveList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/struct.go b/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/struct.go
index 7f4ca62ff..48b944401 100644
--- a/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/struct.go
+++ b/iSolarCloud/WebAppService/getMqttConfigInfoByAppkey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getMultiPowers/struct.go b/iSolarCloud/WebAppService/getMultiPowers/struct.go
index 08ca03f5d..49abeaaca 100644
--- a/iSolarCloud/WebAppService/getMultiPowers/struct.go
+++ b/iSolarCloud/WebAppService/getMultiPowers/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOndutyQuery/struct.go b/iSolarCloud/WebAppService/getOndutyQuery/struct.go
index d71a476ef..5ffc3f379 100644
--- a/iSolarCloud/WebAppService/getOndutyQuery/struct.go
+++ b/iSolarCloud/WebAppService/getOndutyQuery/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOperateTicketUserList/struct.go b/iSolarCloud/WebAppService/getOperateTicketUserList/struct.go
index 949973d93..ab8143872 100644
--- a/iSolarCloud/WebAppService/getOperateTicketUserList/struct.go
+++ b/iSolarCloud/WebAppService/getOperateTicketUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOptTicketsAttachments/struct.go b/iSolarCloud/WebAppService/getOptTicketsAttachments/struct.go
index 02b7e3d0d..e4b4af5f1 100644
--- a/iSolarCloud/WebAppService/getOptTicketsAttachments/struct.go
+++ b/iSolarCloud/WebAppService/getOptTicketsAttachments/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOrderCount/struct.go b/iSolarCloud/WebAppService/getOrderCount/struct.go
index 422b48ad6..d64709e99 100644
--- a/iSolarCloud/WebAppService/getOrderCount/struct.go
+++ b/iSolarCloud/WebAppService/getOrderCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOrderData/struct.go b/iSolarCloud/WebAppService/getOrderData/struct.go
index fc29b711c..ee5702af5 100644
--- a/iSolarCloud/WebAppService/getOrderData/struct.go
+++ b/iSolarCloud/WebAppService/getOrderData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOrderDataSize/struct.go b/iSolarCloud/WebAppService/getOrderDataSize/struct.go
index 78ccfde13..68ad11256 100644
--- a/iSolarCloud/WebAppService/getOrderDataSize/struct.go
+++ b/iSolarCloud/WebAppService/getOrderDataSize/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOrgPsEquipmentList/struct.go b/iSolarCloud/WebAppService/getOrgPsEquipmentList/struct.go
index 1cafa90ad..21fa3abcb 100644
--- a/iSolarCloud/WebAppService/getOrgPsEquipmentList/struct.go
+++ b/iSolarCloud/WebAppService/getOrgPsEquipmentList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/struct.go b/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/struct.go
index e4a56dee7..cbde62c44 100644
--- a/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/struct.go
+++ b/iSolarCloud/WebAppService/getOrgPsPowerGenerationSummaryReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getParentUidChain/struct.go b/iSolarCloud/WebAppService/getParentUidChain/struct.go
index 225356316..5699cc77d 100644
--- a/iSolarCloud/WebAppService/getParentUidChain/struct.go
+++ b/iSolarCloud/WebAppService/getParentUidChain/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerKwhkwpList/struct.go b/iSolarCloud/WebAppService/getPowerKwhkwpList/struct.go
index f4c326abd..e4a5ecb30 100644
--- a/iSolarCloud/WebAppService/getPowerKwhkwpList/struct.go
+++ b/iSolarCloud/WebAppService/getPowerKwhkwpList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerPrList/struct.go b/iSolarCloud/WebAppService/getPowerPrList/struct.go
index bdc04d677..e35a0e42c 100644
--- a/iSolarCloud/WebAppService/getPowerPrList/struct.go
+++ b/iSolarCloud/WebAppService/getPowerPrList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerPredictionInfo/struct.go b/iSolarCloud/WebAppService/getPowerPredictionInfo/struct.go
index 28bb62a49..a32844c3c 100644
--- a/iSolarCloud/WebAppService/getPowerPredictionInfo/struct.go
+++ b/iSolarCloud/WebAppService/getPowerPredictionInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerTrendDayData/struct.go b/iSolarCloud/WebAppService/getPowerTrendDayData/struct.go
index cfc16e0f4..a8e778129 100644
--- a/iSolarCloud/WebAppService/getPowerTrendDayData/struct.go
+++ b/iSolarCloud/WebAppService/getPowerTrendDayData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerTrendMonthData/struct.go b/iSolarCloud/WebAppService/getPowerTrendMonthData/struct.go
index a6c5ed609..64febb3f9 100644
--- a/iSolarCloud/WebAppService/getPowerTrendMonthData/struct.go
+++ b/iSolarCloud/WebAppService/getPowerTrendMonthData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerTrendYearData/struct.go b/iSolarCloud/WebAppService/getPowerTrendYearData/struct.go
index 93eda610a..96676e6d7 100644
--- a/iSolarCloud/WebAppService/getPowerTrendYearData/struct.go
+++ b/iSolarCloud/WebAppService/getPowerTrendYearData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPowerValue/struct.go b/iSolarCloud/WebAppService/getPowerValue/struct.go
index 097abf777..eb08613f8 100644
--- a/iSolarCloud/WebAppService/getPowerValue/struct.go
+++ b/iSolarCloud/WebAppService/getPowerValue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsBlock/struct.go b/iSolarCloud/WebAppService/getPsBlock/struct.go
index 565c263c2..275571b6a 100644
--- a/iSolarCloud/WebAppService/getPsBlock/struct.go
+++ b/iSolarCloud/WebAppService/getPsBlock/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsBlockData/struct.go b/iSolarCloud/WebAppService/getPsBlockData/struct.go
index d2439442c..29430cd2e 100644
--- a/iSolarCloud/WebAppService/getPsBlockData/struct.go
+++ b/iSolarCloud/WebAppService/getPsBlockData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsBlockTree/struct.go b/iSolarCloud/WebAppService/getPsBlockTree/struct.go
index 012c9fe99..1da5e9333 100644
--- a/iSolarCloud/WebAppService/getPsBlockTree/struct.go
+++ b/iSolarCloud/WebAppService/getPsBlockTree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsBoxListCount/struct.go b/iSolarCloud/WebAppService/getPsBoxListCount/struct.go
index 6f04eb7d5..1c89b76eb 100644
--- a/iSolarCloud/WebAppService/getPsBoxListCount/struct.go
+++ b/iSolarCloud/WebAppService/getPsBoxListCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsCBoxDetail/struct.go b/iSolarCloud/WebAppService/getPsCBoxDetail/struct.go
index cf1bfcda8..b2a3783f6 100644
--- a/iSolarCloud/WebAppService/getPsCBoxDetail/struct.go
+++ b/iSolarCloud/WebAppService/getPsCBoxDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsContact/struct.go b/iSolarCloud/WebAppService/getPsContact/struct.go
index 17323f748..65cc779fc 100644
--- a/iSolarCloud/WebAppService/getPsContact/struct.go
+++ b/iSolarCloud/WebAppService/getPsContact/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsDataVal/struct.go b/iSolarCloud/WebAppService/getPsDataVal/struct.go
index d57fa2a42..996a68e7d 100644
--- a/iSolarCloud/WebAppService/getPsDataVal/struct.go
+++ b/iSolarCloud/WebAppService/getPsDataVal/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsDeviceCheckList/struct.go b/iSolarCloud/WebAppService/getPsDeviceCheckList/struct.go
index 1955f9e6c..38dbea941 100644
--- a/iSolarCloud/WebAppService/getPsDeviceCheckList/struct.go
+++ b/iSolarCloud/WebAppService/getPsDeviceCheckList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsDeviceFaultList/struct.go b/iSolarCloud/WebAppService/getPsDeviceFaultList/struct.go
index 6dc40b8b6..5a7675f04 100644
--- a/iSolarCloud/WebAppService/getPsDeviceFaultList/struct.go
+++ b/iSolarCloud/WebAppService/getPsDeviceFaultList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsFaultList/struct.go b/iSolarCloud/WebAppService/getPsFaultList/struct.go
index 5ce4cc07b..9a6910424 100644
--- a/iSolarCloud/WebAppService/getPsFaultList/struct.go
+++ b/iSolarCloud/WebAppService/getPsFaultList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsIdByUserId/struct.go b/iSolarCloud/WebAppService/getPsIdByUserId/struct.go
index 12b45fd98..de64e1b9b 100644
--- a/iSolarCloud/WebAppService/getPsIdByUserId/struct.go
+++ b/iSolarCloud/WebAppService/getPsIdByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsIdState/data.go b/iSolarCloud/WebAppService/getPsIdState/data.go
index 422fd3f4d..551688bb8 100644
--- a/iSolarCloud/WebAppService/getPsIdState/data.go
+++ b/iSolarCloud/WebAppService/getPsIdState/data.go
@@ -4,16 +4,15 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
- "errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/powerStationService/getPsIdState"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ PsId valueTypes.Integer `json:"ps_id" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -27,44 +26,30 @@ func (rd RequestData) Help() string {
type ResultData struct {
- Dummy string `json:"dummy"`
+ AllPsCount valueTypes.Integer `json:"allPsCount"`
+ OffLinePsCount valueTypes.Integer `json:"offLinePsCount"`
+ OnLinePsCount valueTypes.Integer `json:"onLinePsCount"`
}
func (e *ResultData) IsValid() error {
var err error
- switch {
- case e.Dummy == "":
- break
- default:
- err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
- }
+ // switch {
+ // case e.Dummy == "":
+ // break
+ // default:
+ // err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
+ // }
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
}
return entries
diff --git a/iSolarCloud/WebAppService/getPsIdState/struct.go b/iSolarCloud/WebAppService/getPsIdState/struct.go
index 3e9664734..20f9d9332 100644
--- a/iSolarCloud/WebAppService/getPsIdState/struct.go
+++ b/iSolarCloud/WebAppService/getPsIdState/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsList/struct.go b/iSolarCloud/WebAppService/getPsList/struct.go
index f2150eff4..e05ed4e74 100644
--- a/iSolarCloud/WebAppService/getPsList/struct.go
+++ b/iSolarCloud/WebAppService/getPsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsListForWorkTicket/struct.go b/iSolarCloud/WebAppService/getPsListForWorkTicket/struct.go
index 8bda7d62a..bf6718c5d 100644
--- a/iSolarCloud/WebAppService/getPsListForWorkTicket/struct.go
+++ b/iSolarCloud/WebAppService/getPsListForWorkTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsPictureMessage/struct.go b/iSolarCloud/WebAppService/getPsPictureMessage/struct.go
index 94a6f9cf7..7c0ad2454 100644
--- a/iSolarCloud/WebAppService/getPsPictureMessage/struct.go
+++ b/iSolarCloud/WebAppService/getPsPictureMessage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/struct.go b/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/struct.go
index 42beb3fc2..8eb0e201c 100644
--- a/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/struct.go
+++ b/iSolarCloud/WebAppService/getPsTicketSizeAndClockNum/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsTree/struct.go b/iSolarCloud/WebAppService/getPsTree/struct.go
index 9101874ef..645d9cad1 100644
--- a/iSolarCloud/WebAppService/getPsTree/struct.go
+++ b/iSolarCloud/WebAppService/getPsTree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsTreeChild/struct.go b/iSolarCloud/WebAppService/getPsTreeChild/struct.go
index 56e002a50..399c13f1a 100644
--- a/iSolarCloud/WebAppService/getPsTreeChild/struct.go
+++ b/iSolarCloud/WebAppService/getPsTreeChild/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsUserList/struct.go b/iSolarCloud/WebAppService/getPsUserList/struct.go
index 0bc7503a8..d944199d7 100644
--- a/iSolarCloud/WebAppService/getPsUserList/struct.go
+++ b/iSolarCloud/WebAppService/getPsUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPsValue/struct.go b/iSolarCloud/WebAppService/getPsValue/struct.go
index d6bf964d1..6eb0b9ceb 100644
--- a/iSolarCloud/WebAppService/getPsValue/struct.go
+++ b/iSolarCloud/WebAppService/getPsValue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getPscSeriseData/struct.go b/iSolarCloud/WebAppService/getPscSeriseData/struct.go
index 6faccff03..063ea5847 100644
--- a/iSolarCloud/WebAppService/getPscSeriseData/struct.go
+++ b/iSolarCloud/WebAppService/getPscSeriseData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getReportInfoByReportId/struct.go b/iSolarCloud/WebAppService/getReportInfoByReportId/struct.go
index 75fe8623a..f8f5678ad 100644
--- a/iSolarCloud/WebAppService/getReportInfoByReportId/struct.go
+++ b/iSolarCloud/WebAppService/getReportInfoByReportId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getReportListByType/struct.go b/iSolarCloud/WebAppService/getReportListByType/struct.go
index 1bb7d10ee..960b954e0 100644
--- a/iSolarCloud/WebAppService/getReportListByType/struct.go
+++ b/iSolarCloud/WebAppService/getReportListByType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getReportPsTree/struct.go b/iSolarCloud/WebAppService/getReportPsTree/struct.go
index c3db3a49f..b485159a4 100644
--- a/iSolarCloud/WebAppService/getReportPsTree/struct.go
+++ b/iSolarCloud/WebAppService/getReportPsTree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getRoleList/struct.go b/iSolarCloud/WebAppService/getRoleList/struct.go
index 706e70d2f..f6539004c 100644
--- a/iSolarCloud/WebAppService/getRoleList/struct.go
+++ b/iSolarCloud/WebAppService/getRoleList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getSafeEffectList/struct.go b/iSolarCloud/WebAppService/getSafeEffectList/struct.go
index e0e50de71..a85cdbcda 100644
--- a/iSolarCloud/WebAppService/getSafeEffectList/struct.go
+++ b/iSolarCloud/WebAppService/getSafeEffectList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getSecondTypeTicketList/struct.go b/iSolarCloud/WebAppService/getSecondTypeTicketList/struct.go
index 6ec3a6c64..c408dfd59 100644
--- a/iSolarCloud/WebAppService/getSecondTypeTicketList/struct.go
+++ b/iSolarCloud/WebAppService/getSecondTypeTicketList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/struct.go b/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/struct.go
index 023e1a31a..e701a9af5 100644
--- a/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/struct.go
+++ b/iSolarCloud/WebAppService/getSecondTypeTicketListForTicketDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getSelfReportPoint/struct.go b/iSolarCloud/WebAppService/getSelfReportPoint/struct.go
index a5b130d1f..e30cc64d6 100644
--- a/iSolarCloud/WebAppService/getSelfReportPoint/struct.go
+++ b/iSolarCloud/WebAppService/getSelfReportPoint/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getSparePartsDetail/struct.go b/iSolarCloud/WebAppService/getSparePartsDetail/struct.go
index 4e480b6d3..89a6e63d3 100644
--- a/iSolarCloud/WebAppService/getSparePartsDetail/struct.go
+++ b/iSolarCloud/WebAppService/getSparePartsDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getStatementList/struct.go b/iSolarCloud/WebAppService/getStatementList/struct.go
index 4bfc1b21a..acf5a7576 100644
--- a/iSolarCloud/WebAppService/getStatementList/struct.go
+++ b/iSolarCloud/WebAppService/getStatementList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getStoreByStationId/struct.go b/iSolarCloud/WebAppService/getStoreByStationId/struct.go
index b87440d17..7c1ac1144 100644
--- a/iSolarCloud/WebAppService/getStoreByStationId/struct.go
+++ b/iSolarCloud/WebAppService/getStoreByStationId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getSysUserList/struct.go b/iSolarCloud/WebAppService/getSysUserList/struct.go
index 141c5713b..153514290 100644
--- a/iSolarCloud/WebAppService/getSysUserList/struct.go
+++ b/iSolarCloud/WebAppService/getSysUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getTableList/struct.go b/iSolarCloud/WebAppService/getTableList/struct.go
index 0745e12dd..b930557ec 100644
--- a/iSolarCloud/WebAppService/getTableList/struct.go
+++ b/iSolarCloud/WebAppService/getTableList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getUserList/struct.go b/iSolarCloud/WebAppService/getUserList/struct.go
index be4d8097d..b4aaec862 100644
--- a/iSolarCloud/WebAppService/getUserList/struct.go
+++ b/iSolarCloud/WebAppService/getUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getWeather/struct.go b/iSolarCloud/WebAppService/getWeather/struct.go
index 43ccd87e0..af7a04230 100644
--- a/iSolarCloud/WebAppService/getWeather/struct.go
+++ b/iSolarCloud/WebAppService/getWeather/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getWorkTicketList/struct.go b/iSolarCloud/WebAppService/getWorkTicketList/struct.go
index d6736a64a..9a63183dd 100644
--- a/iSolarCloud/WebAppService/getWorkTicketList/struct.go
+++ b/iSolarCloud/WebAppService/getWorkTicketList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/struct.go b/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/struct.go
index 7c1e9c91c..6920c4bc2 100644
--- a/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/struct.go
+++ b/iSolarCloud/WebAppService/getWorkTicketListForTicketDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getWorkTicketRunningCount/struct.go b/iSolarCloud/WebAppService/getWorkTicketRunningCount/struct.go
index 94d310ced..b71186a73 100644
--- a/iSolarCloud/WebAppService/getWorkTicketRunningCount/struct.go
+++ b/iSolarCloud/WebAppService/getWorkTicketRunningCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getWorkTicketUserList/struct.go b/iSolarCloud/WebAppService/getWorkTicketUserList/struct.go
index 61ee38cc8..70044cf9d 100644
--- a/iSolarCloud/WebAppService/getWorkTicketUserList/struct.go
+++ b/iSolarCloud/WebAppService/getWorkTicketUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getinverterType/struct.go b/iSolarCloud/WebAppService/getinverterType/struct.go
index b22b22b1f..cafe3a25d 100644
--- a/iSolarCloud/WebAppService/getinverterType/struct.go
+++ b/iSolarCloud/WebAppService/getinverterType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/getreportPermissionByUser/struct.go b/iSolarCloud/WebAppService/getreportPermissionByUser/struct.go
index 0f0ea8704..8069ede14 100644
--- a/iSolarCloud/WebAppService/getreportPermissionByUser/struct.go
+++ b/iSolarCloud/WebAppService/getreportPermissionByUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/handleValue/struct.go b/iSolarCloud/WebAppService/handleValue/struct.go
index 7070fa122..f32ce6699 100644
--- a/iSolarCloud/WebAppService/handleValue/struct.go
+++ b/iSolarCloud/WebAppService/handleValue/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/modifyDeviceInfo/struct.go b/iSolarCloud/WebAppService/modifyDeviceInfo/struct.go
index 1c73fd93f..620539be4 100644
--- a/iSolarCloud/WebAppService/modifyDeviceInfo/struct.go
+++ b/iSolarCloud/WebAppService/modifyDeviceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/operaStoreSpareParts/struct.go b/iSolarCloud/WebAppService/operaStoreSpareParts/struct.go
index 9c47f967f..741f2d0d1 100644
--- a/iSolarCloud/WebAppService/operaStoreSpareParts/struct.go
+++ b/iSolarCloud/WebAppService/operaStoreSpareParts/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/operateBillTransferToUser/struct.go b/iSolarCloud/WebAppService/operateBillTransferToUser/struct.go
index a071724a2..26e09851d 100644
--- a/iSolarCloud/WebAppService/operateBillTransferToUser/struct.go
+++ b/iSolarCloud/WebAppService/operateBillTransferToUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryAllStockInventory/struct.go b/iSolarCloud/WebAppService/queryAllStockInventory/struct.go
index cd98ad26f..d25ea6a09 100644
--- a/iSolarCloud/WebAppService/queryAllStockInventory/struct.go
+++ b/iSolarCloud/WebAppService/queryAllStockInventory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryBatteryBoardsList/struct.go b/iSolarCloud/WebAppService/queryBatteryBoardsList/struct.go
index 73c90b3a5..518f93799 100644
--- a/iSolarCloud/WebAppService/queryBatteryBoardsList/struct.go
+++ b/iSolarCloud/WebAppService/queryBatteryBoardsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/struct.go b/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/struct.go
index 3cd9fe66c..b0ed9cffd 100644
--- a/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/struct.go
+++ b/iSolarCloud/WebAppService/queryBatteryBoardsPointsData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryCodeByType/struct.go b/iSolarCloud/WebAppService/queryCodeByType/struct.go
index 6908cd166..2b3b26ede 100644
--- a/iSolarCloud/WebAppService/queryCodeByType/struct.go
+++ b/iSolarCloud/WebAppService/queryCodeByType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryDeviceInfoList/struct.go b/iSolarCloud/WebAppService/queryDeviceInfoList/struct.go
index 183de3ae7..1e693467c 100644
--- a/iSolarCloud/WebAppService/queryDeviceInfoList/struct.go
+++ b/iSolarCloud/WebAppService/queryDeviceInfoList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryElectricityCalendarData/struct.go b/iSolarCloud/WebAppService/queryElectricityCalendarData/struct.go
index e74e545fb..e38d2fdd1 100644
--- a/iSolarCloud/WebAppService/queryElectricityCalendarData/struct.go
+++ b/iSolarCloud/WebAppService/queryElectricityCalendarData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryFaultCodes/data.go b/iSolarCloud/WebAppService/queryFaultCodes/data.go
index dba1e1522..d0f6d097d 100644
--- a/iSolarCloud/WebAppService/queryFaultCodes/data.go
+++ b/iSolarCloud/WebAppService/queryFaultCodes/data.go
@@ -4,16 +4,16 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
"errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/faultService/queryFaultCodes"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ FaultName string `json:"fault_name" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -41,30 +41,14 @@ func (e *ResultData) IsValid() error {
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/WebAppService/queryFaultCodes/struct.go b/iSolarCloud/WebAppService/queryFaultCodes/struct.go
index 2d9f5aa33..48eb73e85 100644
--- a/iSolarCloud/WebAppService/queryFaultCodes/struct.go
+++ b/iSolarCloud/WebAppService/queryFaultCodes/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryFaultLevelAndType/struct.go b/iSolarCloud/WebAppService/queryFaultLevelAndType/struct.go
index 1ef4d8754..b482001b2 100644
--- a/iSolarCloud/WebAppService/queryFaultLevelAndType/struct.go
+++ b/iSolarCloud/WebAppService/queryFaultLevelAndType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryFaultNames/struct.go b/iSolarCloud/WebAppService/queryFaultNames/struct.go
index 0d5838e0b..7005f2a9c 100644
--- a/iSolarCloud/WebAppService/queryFaultNames/struct.go
+++ b/iSolarCloud/WebAppService/queryFaultNames/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryMaterialType/struct.go b/iSolarCloud/WebAppService/queryMaterialType/struct.go
index 2c64b5829..26820973a 100644
--- a/iSolarCloud/WebAppService/queryMaterialType/struct.go
+++ b/iSolarCloud/WebAppService/queryMaterialType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryNounAndKlgList/struct.go b/iSolarCloud/WebAppService/queryNounAndKlgList/struct.go
index d77d53a46..b36d526f3 100644
--- a/iSolarCloud/WebAppService/queryNounAndKlgList/struct.go
+++ b/iSolarCloud/WebAppService/queryNounAndKlgList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryNounList/data.go b/iSolarCloud/WebAppService/queryNounList/data.go
index 725e72bcf..45d751e4f 100644
--- a/iSolarCloud/WebAppService/queryNounList/data.go
+++ b/iSolarCloud/WebAppService/queryNounList/data.go
@@ -4,16 +4,15 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
- "errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/faultService/queryNounList"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ FaultTypeCode string `json:"fault_type_code" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -27,44 +26,22 @@ func (rd RequestData) Help() string {
type ResultData struct {
- Dummy string `json:"dummy"`
+ NounInfo []interface{} `json:"nounInfo"`
}
func (e *ResultData) IsValid() error {
var err error
- switch {
- case e.Dummy == "":
- break
- default:
- err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
- }
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ // name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, pkg, "system", dt)
}
return entries
diff --git a/iSolarCloud/WebAppService/queryNounList/struct.go b/iSolarCloud/WebAppService/queryNounList/struct.go
index 2c0c8557a..5848f4795 100644
--- a/iSolarCloud/WebAppService/queryNounList/struct.go
+++ b/iSolarCloud/WebAppService/queryNounList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryOptTickctInfo/struct.go b/iSolarCloud/WebAppService/queryOptTickctInfo/struct.go
index 29b6f1907..75155afc6 100644
--- a/iSolarCloud/WebAppService/queryOptTickctInfo/struct.go
+++ b/iSolarCloud/WebAppService/queryOptTickctInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryOrgIdByUser/struct.go b/iSolarCloud/WebAppService/queryOrgIdByUser/struct.go
index e3fc8fd7e..9a3b70754 100644
--- a/iSolarCloud/WebAppService/queryOrgIdByUser/struct.go
+++ b/iSolarCloud/WebAppService/queryOrgIdByUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryPsCountryList/struct.go b/iSolarCloud/WebAppService/queryPsCountryList/struct.go
index 6111fd394..2b10dea28 100644
--- a/iSolarCloud/WebAppService/queryPsCountryList/struct.go
+++ b/iSolarCloud/WebAppService/queryPsCountryList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryPsProvcnList/struct.go b/iSolarCloud/WebAppService/queryPsProvcnList/struct.go
index ad3bcd808..fa6fab6fa 100644
--- a/iSolarCloud/WebAppService/queryPsProvcnList/struct.go
+++ b/iSolarCloud/WebAppService/queryPsProvcnList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryPsTypeByPsId/struct.go b/iSolarCloud/WebAppService/queryPsTypeByPsId/struct.go
index 4a4849891..5e405bdbe 100644
--- a/iSolarCloud/WebAppService/queryPsTypeByPsId/struct.go
+++ b/iSolarCloud/WebAppService/queryPsTypeByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/querySparePartsList/struct.go b/iSolarCloud/WebAppService/querySparePartsList/struct.go
index 1a3e46a2a..79659afbb 100644
--- a/iSolarCloud/WebAppService/querySparePartsList/struct.go
+++ b/iSolarCloud/WebAppService/querySparePartsList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryStoreList/struct.go b/iSolarCloud/WebAppService/queryStoreList/struct.go
index d5525799f..e65f465b2 100644
--- a/iSolarCloud/WebAppService/queryStoreList/struct.go
+++ b/iSolarCloud/WebAppService/queryStoreList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/querySysTimezone/struct.go b/iSolarCloud/WebAppService/querySysTimezone/struct.go
index bc15b3c6f..6bd658bcf 100644
--- a/iSolarCloud/WebAppService/querySysTimezone/struct.go
+++ b/iSolarCloud/WebAppService/querySysTimezone/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryUnInventorySpareList/struct.go b/iSolarCloud/WebAppService/queryUnInventorySpareList/struct.go
index a8b428af9..7faead81f 100644
--- a/iSolarCloud/WebAppService/queryUnInventorySpareList/struct.go
+++ b/iSolarCloud/WebAppService/queryUnInventorySpareList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/queryUserCurveTemplateData/struct.go b/iSolarCloud/WebAppService/queryUserCurveTemplateData/struct.go
index 18d47a87d..0f0bee556 100644
--- a/iSolarCloud/WebAppService/queryUserCurveTemplateData/struct.go
+++ b/iSolarCloud/WebAppService/queryUserCurveTemplateData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/renewOperation/struct.go b/iSolarCloud/WebAppService/renewOperation/struct.go
index 2bb447e31..b2e74648e 100644
--- a/iSolarCloud/WebAppService/renewOperation/struct.go
+++ b/iSolarCloud/WebAppService/renewOperation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveCustomReport/struct.go b/iSolarCloud/WebAppService/saveCustomReport/struct.go
index ed4d1c87f..34c161293 100644
--- a/iSolarCloud/WebAppService/saveCustomReport/struct.go
+++ b/iSolarCloud/WebAppService/saveCustomReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveDutyInfo/struct.go b/iSolarCloud/WebAppService/saveDutyInfo/struct.go
index 0af51d6e7..6f941c48a 100644
--- a/iSolarCloud/WebAppService/saveDutyInfo/struct.go
+++ b/iSolarCloud/WebAppService/saveDutyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveInventory/struct.go b/iSolarCloud/WebAppService/saveInventory/struct.go
index 5ea0d0b6f..a5684ab9c 100644
--- a/iSolarCloud/WebAppService/saveInventory/struct.go
+++ b/iSolarCloud/WebAppService/saveInventory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveMaterial/struct.go b/iSolarCloud/WebAppService/saveMaterial/struct.go
index dac069405..8b07628c4 100644
--- a/iSolarCloud/WebAppService/saveMaterial/struct.go
+++ b/iSolarCloud/WebAppService/saveMaterial/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveSecondTypeTicket/struct.go b/iSolarCloud/WebAppService/saveSecondTypeTicket/struct.go
index 79cbe3bbc..9a0791be1 100644
--- a/iSolarCloud/WebAppService/saveSecondTypeTicket/struct.go
+++ b/iSolarCloud/WebAppService/saveSecondTypeTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveSelfReportPoint/struct.go b/iSolarCloud/WebAppService/saveSelfReportPoint/struct.go
index 599c1078c..a6ed35477 100644
--- a/iSolarCloud/WebAppService/saveSelfReportPoint/struct.go
+++ b/iSolarCloud/WebAppService/saveSelfReportPoint/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/saveWorkTicket/struct.go b/iSolarCloud/WebAppService/saveWorkTicket/struct.go
index 8c9af8f77..ee024708b 100644
--- a/iSolarCloud/WebAppService/saveWorkTicket/struct.go
+++ b/iSolarCloud/WebAppService/saveWorkTicket/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/struct.go b/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/struct.go
index 8aedcc304..13791592b 100644
--- a/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/struct.go
+++ b/iSolarCloud/WebAppService/secondTypeTicketFlowImplementStep/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/struct.go b/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/struct.go
index 59ac59f1d..b99de0bf2 100644
--- a/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/struct.go
+++ b/iSolarCloud/WebAppService/secondTypeTicketFlowTransferStep/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/secondTypeUpdateSign/struct.go b/iSolarCloud/WebAppService/secondTypeUpdateSign/struct.go
index 2ac597778..c82fe11fb 100644
--- a/iSolarCloud/WebAppService/secondTypeUpdateSign/struct.go
+++ b/iSolarCloud/WebAppService/secondTypeUpdateSign/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/selectPowerPageList/struct.go b/iSolarCloud/WebAppService/selectPowerPageList/struct.go
index c8c2bad9d..2ae7275e5 100644
--- a/iSolarCloud/WebAppService/selectPowerPageList/struct.go
+++ b/iSolarCloud/WebAppService/selectPowerPageList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/showAnalyzefxDetail/struct.go b/iSolarCloud/WebAppService/showAnalyzefxDetail/struct.go
index f21d42ca9..480f27c15 100644
--- a/iSolarCloud/WebAppService/showAnalyzefxDetail/struct.go
+++ b/iSolarCloud/WebAppService/showAnalyzefxDetail/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/showFxReport/struct.go b/iSolarCloud/WebAppService/showFxReport/struct.go
index ba2829548..2d69051b8 100644
--- a/iSolarCloud/WebAppService/showFxReport/struct.go
+++ b/iSolarCloud/WebAppService/showFxReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/showMaterNameList/struct.go b/iSolarCloud/WebAppService/showMaterNameList/struct.go
index dcce668fa..a538eaff8 100644
--- a/iSolarCloud/WebAppService/showMaterNameList/struct.go
+++ b/iSolarCloud/WebAppService/showMaterNameList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/showMaterSubTypeList/struct.go b/iSolarCloud/WebAppService/showMaterSubTypeList/struct.go
index 4b7ace847..473cfff14 100644
--- a/iSolarCloud/WebAppService/showMaterSubTypeList/struct.go
+++ b/iSolarCloud/WebAppService/showMaterSubTypeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/showPSView/data.go b/iSolarCloud/WebAppService/showPSView/data.go
index 415a0d298..8251573af 100644
--- a/iSolarCloud/WebAppService/showPSView/data.go
+++ b/iSolarCloud/WebAppService/showPSView/data.go
@@ -25,15 +25,15 @@ func (rd RequestData) Help() string {
}
type ResultData struct {
- BatteryPlateCom string `json:"batteryPlateCom"`
- EnvironmentCom string `json:"environmentCom"`
+ BatteryPlateCom valueTypes.String `json:"batteryPlateCom" PointId:"battery_plate_com"`
+ EnvironmentCom valueTypes.String `json:"environmentCom" PointId:"environment_com"`
IsPlatformDefaultUnit valueTypes.Bool `json:"is_platform_default_unit"`
- Normalization string `json:"normalization"`
- Todayvalue string `json:"todayvalue"`
- Todayweather string `json:"todayweather"`
- TotalAllPower valueTypes.UnitValue `json:"totalAllPower"`
- Yestedayvalue string `json:"yestedayvalue"`
- Yestedayweather string `json:"yestedayweather"`
+ Normalization valueTypes.String `json:"normalization"`
+ Todayvalue valueTypes.String `json:"todayvalue" PointId:"today_value"`
+ Todayweather valueTypes.Integer `json:"todayweather" PointId:"today_weather"`
+ TotalAllPower valueTypes.UnitValue `json:"totalAllPower" PointId:"total_all_power"`
+ Yestedayvalue valueTypes.String `json:"yestedayvalue" PointId:"yesterday_value"`
+ Yestedayweather valueTypes.Integer `json:"yestedayweather" PointId:"yesterday_weather"`
}
func (e *ResultData) IsValid() error {
@@ -51,7 +51,10 @@ func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
}
return entries
diff --git a/iSolarCloud/WebAppService/showPSView/struct.go b/iSolarCloud/WebAppService/showPSView/struct.go
index 642b5ce14..58b486137 100644
--- a/iSolarCloud/WebAppService/showPSView/struct.go
+++ b/iSolarCloud/WebAppService/showPSView/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/showTjReport/struct.go b/iSolarCloud/WebAppService/showTjReport/struct.go
index 404e8c776..ee5c25043 100644
--- a/iSolarCloud/WebAppService/showTjReport/struct.go
+++ b/iSolarCloud/WebAppService/showTjReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/templateLikesInfo/struct.go b/iSolarCloud/WebAppService/templateLikesInfo/struct.go
index d18d82c72..a93426354 100644
--- a/iSolarCloud/WebAppService/templateLikesInfo/struct.go
+++ b/iSolarCloud/WebAppService/templateLikesInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updOptTicketInfo/struct.go b/iSolarCloud/WebAppService/updOptTicketInfo/struct.go
index c33bd5488..0b9d25581 100644
--- a/iSolarCloud/WebAppService/updOptTicketInfo/struct.go
+++ b/iSolarCloud/WebAppService/updOptTicketInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/struct.go b/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/struct.go
index 8dfc9ca6d..38063c962 100644
--- a/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/struct.go
+++ b/iSolarCloud/WebAppService/updataWorkTicketAfterStartProcess/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateBillTicketForTask/struct.go b/iSolarCloud/WebAppService/updateBillTicketForTask/struct.go
index a1ef3ce96..d29213520 100644
--- a/iSolarCloud/WebAppService/updateBillTicketForTask/struct.go
+++ b/iSolarCloud/WebAppService/updateBillTicketForTask/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateDutyInfo/struct.go b/iSolarCloud/WebAppService/updateDutyInfo/struct.go
index 17965c166..8e87b064b 100644
--- a/iSolarCloud/WebAppService/updateDutyInfo/struct.go
+++ b/iSolarCloud/WebAppService/updateDutyInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/struct.go b/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/struct.go
index 791ac8b33..0a1774b9e 100644
--- a/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/struct.go
+++ b/iSolarCloud/WebAppService/updateKnowledgeBaseUseNumber/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateMaterial/struct.go b/iSolarCloud/WebAppService/updateMaterial/struct.go
index 6697c3acc..d18351203 100644
--- a/iSolarCloud/WebAppService/updateMaterial/struct.go
+++ b/iSolarCloud/WebAppService/updateMaterial/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateSpareParts/struct.go b/iSolarCloud/WebAppService/updateSpareParts/struct.go
index eeef1444e..b30669e14 100644
--- a/iSolarCloud/WebAppService/updateSpareParts/struct.go
+++ b/iSolarCloud/WebAppService/updateSpareParts/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateStopReason/struct.go b/iSolarCloud/WebAppService/updateStopReason/struct.go
index dcbc0fe1a..536da8697 100644
--- a/iSolarCloud/WebAppService/updateStopReason/struct.go
+++ b/iSolarCloud/WebAppService/updateStopReason/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebAppService/updateTemplate/struct.go b/iSolarCloud/WebAppService/updateTemplate/struct.go
index 4b11b98da..82e8437b0 100644
--- a/iSolarCloud/WebAppService/updateTemplate/struct.go
+++ b/iSolarCloud/WebAppService/updateTemplate/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/addPowerDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/addPowerDeviceModel/struct.go
index caf9f1480..881c4b7d7 100644
--- a/iSolarCloud/WebIscmAppService/addPowerDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/addPowerDeviceModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/addPowerPointManage/struct.go b/iSolarCloud/WebIscmAppService/addPowerPointManage/struct.go
index 3f278a489..ab0195f4c 100644
--- a/iSolarCloud/WebIscmAppService/addPowerPointManage/struct.go
+++ b/iSolarCloud/WebIscmAppService/addPowerPointManage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/addSubTypeDevice/struct.go b/iSolarCloud/WebIscmAppService/addSubTypeDevice/struct.go
index 360193f11..411d18060 100644
--- a/iSolarCloud/WebIscmAppService/addSubTypeDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/addSubTypeDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/struct.go b/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/struct.go
index c51ffc5f5..8bcb02655 100644
--- a/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/struct.go
+++ b/iSolarCloud/WebIscmAppService/batchAddDevicesPropertis/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/batchDelDevice/struct.go b/iSolarCloud/WebIscmAppService/batchDelDevice/struct.go
index 145fa0214..ac0661477 100644
--- a/iSolarCloud/WebIscmAppService/batchDelDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/batchDelDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/struct.go b/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/struct.go
index b5f0a575d..0b7b23485 100644
--- a/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/struct.go
+++ b/iSolarCloud/WebIscmAppService/batchSavePowerDeviceTechnical/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/checkDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/checkDeviceModel/struct.go
index 9410e6cd0..2b3953143 100644
--- a/iSolarCloud/WebIscmAppService/checkDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/checkDeviceModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/contactMessageOpera/struct.go b/iSolarCloud/WebIscmAppService/contactMessageOpera/struct.go
index 379eb02ac..6611e9fc9 100644
--- a/iSolarCloud/WebIscmAppService/contactMessageOpera/struct.go
+++ b/iSolarCloud/WebIscmAppService/contactMessageOpera/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/delDevice/struct.go b/iSolarCloud/WebIscmAppService/delDevice/struct.go
index d8f9189a1..c5206fea0 100644
--- a/iSolarCloud/WebIscmAppService/delDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/delDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteDeviceFactory/struct.go b/iSolarCloud/WebIscmAppService/deleteDeviceFactory/struct.go
index b3834572d..59f973420 100644
--- a/iSolarCloud/WebIscmAppService/deleteDeviceFactory/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteDeviceFactory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteDeviceType/struct.go b/iSolarCloud/WebIscmAppService/deleteDeviceType/struct.go
index 67d0cb7fd..e18eb346f 100644
--- a/iSolarCloud/WebIscmAppService/deleteDeviceType/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteDeviceType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteMenu/struct.go b/iSolarCloud/WebIscmAppService/deleteMenu/struct.go
index d934c9a1d..65b787e95 100644
--- a/iSolarCloud/WebIscmAppService/deleteMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteOneNotice/struct.go b/iSolarCloud/WebIscmAppService/deleteOneNotice/struct.go
index 56bfa9ebd..aaf33b1b1 100644
--- a/iSolarCloud/WebIscmAppService/deleteOneNotice/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteOneNotice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/struct.go b/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/struct.go
index 4c5ad1d2e..27410e7f0 100644
--- a/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteOrgNodeInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePicture/struct.go b/iSolarCloud/WebIscmAppService/deletePicture/struct.go
index 14255d67a..a6825aebe 100644
--- a/iSolarCloud/WebIscmAppService/deletePicture/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePicture/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePointInfo/struct.go b/iSolarCloud/WebIscmAppService/deletePointInfo/struct.go
index 95141e859..2c89f2b04 100644
--- a/iSolarCloud/WebIscmAppService/deletePointInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePointInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/struct.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/struct.go
index 9f5f6f2e9..f06510e31 100644
--- a/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceChannl/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/struct.go
index 1a31043bc..e32c9bcf7 100644
--- a/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/struct.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/struct.go
index d5bc41c96..0d344d966 100644
--- a/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceParameterPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/struct.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/struct.go
index 531e5d28b..c0be647d6 100644
--- a/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceSubType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/struct.go b/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/struct.go
index c0b3bf0de..4fcbbe551 100644
--- a/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePowerDeviceTechnical/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deletePowerStore/struct.go b/iSolarCloud/WebIscmAppService/deletePowerStore/struct.go
index 1bef16705..3fabe3a4e 100644
--- a/iSolarCloud/WebIscmAppService/deletePowerStore/struct.go
+++ b/iSolarCloud/WebIscmAppService/deletePowerStore/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteProcessDefinition/struct.go b/iSolarCloud/WebIscmAppService/deleteProcessDefinition/struct.go
index ec0d05e5a..bd5b81ea6 100644
--- a/iSolarCloud/WebIscmAppService/deleteProcessDefinition/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteProcessDefinition/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteReport/struct.go b/iSolarCloud/WebIscmAppService/deleteReport/struct.go
index 2221aeb45..aacfa99ae 100644
--- a/iSolarCloud/WebIscmAppService/deleteReport/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deleteUserNode/struct.go b/iSolarCloud/WebIscmAppService/deleteUserNode/struct.go
index 4436ec342..5c2d1ca03 100644
--- a/iSolarCloud/WebIscmAppService/deleteUserNode/struct.go
+++ b/iSolarCloud/WebIscmAppService/deleteUserNode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/deployProcess/struct.go b/iSolarCloud/WebIscmAppService/deployProcess/struct.go
index c2f304f15..f9b028124 100644
--- a/iSolarCloud/WebIscmAppService/deployProcess/struct.go
+++ b/iSolarCloud/WebIscmAppService/deployProcess/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/editProcessManageAction/struct.go b/iSolarCloud/WebIscmAppService/editProcessManageAction/struct.go
index 09821c40e..2e58b782e 100644
--- a/iSolarCloud/WebIscmAppService/editProcessManageAction/struct.go
+++ b/iSolarCloud/WebIscmAppService/editProcessManageAction/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/findImageInputStreamString/struct.go b/iSolarCloud/WebIscmAppService/findImageInputStreamString/struct.go
index 33967dd60..a9b3bc232 100644
--- a/iSolarCloud/WebIscmAppService/findImageInputStreamString/struct.go
+++ b/iSolarCloud/WebIscmAppService/findImageInputStreamString/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getAllDevTypeList/struct.go b/iSolarCloud/WebIscmAppService/getAllDevTypeList/struct.go
index 41b99e5d6..9237620f4 100644
--- a/iSolarCloud/WebIscmAppService/getAllDevTypeList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getAllDevTypeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getAllNodeByType/struct.go b/iSolarCloud/WebIscmAppService/getAllNodeByType/struct.go
index b185deef4..076dd0a30 100644
--- a/iSolarCloud/WebIscmAppService/getAllNodeByType/struct.go
+++ b/iSolarCloud/WebIscmAppService/getAllNodeByType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getAuthKey/struct.go b/iSolarCloud/WebIscmAppService/getAuthKey/struct.go
index e7c926e8f..598d442a9 100644
--- a/iSolarCloud/WebIscmAppService/getAuthKey/struct.go
+++ b/iSolarCloud/WebIscmAppService/getAuthKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getAuthKeyList/struct.go b/iSolarCloud/WebIscmAppService/getAuthKeyList/struct.go
index afd400cb5..b76ff9fdf 100644
--- a/iSolarCloud/WebIscmAppService/getAuthKeyList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getAuthKeyList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getCodeByType/struct.go b/iSolarCloud/WebIscmAppService/getCodeByType/struct.go
index 55b5e8760..911f28b65 100644
--- a/iSolarCloud/WebIscmAppService/getCodeByType/struct.go
+++ b/iSolarCloud/WebIscmAppService/getCodeByType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getContactMessage/struct.go b/iSolarCloud/WebIscmAppService/getContactMessage/struct.go
index 712f1496b..c0f8c7756 100644
--- a/iSolarCloud/WebIscmAppService/getContactMessage/struct.go
+++ b/iSolarCloud/WebIscmAppService/getContactMessage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getCountryNew/struct.go b/iSolarCloud/WebIscmAppService/getCountryNew/struct.go
index 693169dc3..43769c490 100644
--- a/iSolarCloud/WebIscmAppService/getCountryNew/struct.go
+++ b/iSolarCloud/WebIscmAppService/getCountryNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/struct.go b/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/struct.go
index afe1a2eba..ca309c3de 100644
--- a/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDefinitionIdByKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeploymentList/struct.go b/iSolarCloud/WebIscmAppService/getDeploymentList/struct.go
index f46df96e4..06c5b3c69 100644
--- a/iSolarCloud/WebIscmAppService/getDeploymentList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeploymentList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/struct.go b/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/struct.go
index be5dfaa94..fd7eeb746 100644
--- a/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeviceFactoryListByIds/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/getDeviceModel/struct.go
index 4403a7cb8..9b2dc4875 100644
--- a/iSolarCloud/WebIscmAppService/getDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeviceModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDevicePro/struct.go b/iSolarCloud/WebIscmAppService/getDevicePro/struct.go
index 7b1056d4c..7775a3c26 100644
--- a/iSolarCloud/WebIscmAppService/getDevicePro/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDevicePro/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeviceSubType/struct.go b/iSolarCloud/WebIscmAppService/getDeviceSubType/struct.go
index 92aeae935..ca2c9bb01 100644
--- a/iSolarCloud/WebIscmAppService/getDeviceSubType/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeviceSubType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeviceTechnical/struct.go b/iSolarCloud/WebIscmAppService/getDeviceTechnical/struct.go
index f65826268..d3294b9cc 100644
--- a/iSolarCloud/WebIscmAppService/getDeviceTechnical/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeviceTechnical/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeviceType/struct.go b/iSolarCloud/WebIscmAppService/getDeviceType/struct.go
index bcffa267e..018351142 100644
--- a/iSolarCloud/WebIscmAppService/getDeviceType/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeviceType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/struct.go b/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/struct.go
index b4e0e277d..4b22b204b 100644
--- a/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDeviceTypeInfoById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getDutyUserList/struct.go b/iSolarCloud/WebIscmAppService/getDutyUserList/struct.go
index f8b034bd0..cbd94ee15 100644
--- a/iSolarCloud/WebIscmAppService/getDutyUserList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getDutyUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getFatherPrivileges/struct.go b/iSolarCloud/WebIscmAppService/getFatherPrivileges/struct.go
index e183f8822..b2ba3da58 100644
--- a/iSolarCloud/WebIscmAppService/getFatherPrivileges/struct.go
+++ b/iSolarCloud/WebIscmAppService/getFatherPrivileges/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getGroupManSettings/struct.go b/iSolarCloud/WebIscmAppService/getGroupManSettings/struct.go
index 26340d577..806401430 100644
--- a/iSolarCloud/WebIscmAppService/getGroupManSettings/struct.go
+++ b/iSolarCloud/WebIscmAppService/getGroupManSettings/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/struct.go b/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/struct.go
index ee1fcbad1..aa7dcac92 100644
--- a/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/struct.go
+++ b/iSolarCloud/WebIscmAppService/getGroupManSettingsMembers/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getMaterialByListId/struct.go b/iSolarCloud/WebIscmAppService/getMaterialByListId/struct.go
index 520d1ad93..284afb9c6 100644
--- a/iSolarCloud/WebIscmAppService/getMaterialByListId/struct.go
+++ b/iSolarCloud/WebIscmAppService/getMaterialByListId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getMaterialByType/struct.go b/iSolarCloud/WebIscmAppService/getMaterialByType/struct.go
index c3a6bfc10..7bfe206af 100644
--- a/iSolarCloud/WebIscmAppService/getMaterialByType/struct.go
+++ b/iSolarCloud/WebIscmAppService/getMaterialByType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getMaterialList/struct.go b/iSolarCloud/WebIscmAppService/getMaterialList/struct.go
index 7df97d5c7..920fb0597 100644
--- a/iSolarCloud/WebIscmAppService/getMaterialList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getMaterialList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/data.go b/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/data.go
index 8cfe95e69..d9a905887 100644
--- a/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/data.go
+++ b/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/data.go
@@ -4,16 +4,15 @@ import (
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
- "github.com/MickMake/GoUnify/Only"
- "errors"
"fmt"
+ "github.com/MickMake/GoUnify/Only"
)
const Url = "/v1/devService/getMaxDeviceIdByPsId"
-const Disabled = true
+const Disabled = false
type RequestData struct {
- // DeviceType string `json:"device_type" required:"true"`
+ PsId valueTypes.Integer `json:"ps_id" required:"true"`
}
func (rd RequestData) IsValid() error {
@@ -27,44 +26,28 @@ func (rd RequestData) Help() string {
type ResultData struct {
- Dummy string `json:"dummy"`
+ MaxDeviceID valueTypes.Integer `json:"max_device_id"`
}
func (e *ResultData) IsValid() error {
var err error
- switch {
- case e.Dummy == "":
- break
- default:
- err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
- }
+ // switch {
+ // case e.Dummy == "":
+ // break
+ // default:
+ // err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy))
+ // }
return err
}
-//type DecodeResultData ResultData
-//
-//func (e *ResultData) UnmarshalJSON(data []byte) error {
-// var err error
-//
-// for range Only.Once {
-// if len(data) == 0 {
-// break
-// }
-// var pd DecodeResultData
-//
-// // Store ResultData
-// _ = json.Unmarshal(data, &pd)
-// e.Dummy = pd.Dummy
-// }
-//
-// return err
-//}
-
func (e *EndPoint) GetData() api.DataMap {
entries := api.NewDataMap()
for range Only.Once {
- entries.StructToPoints(e.Response.ResultData, apiReflect.GetName("", *e), "system", valueTypes.NewDateTime(""))
+ pkg := apiReflect.GetName("", *e)
+ dt := valueTypes.NewDateTime(valueTypes.Now)
+ name := pkg + "." + e.Request.PsId.String()
+ entries.StructToPoints(e.Response.ResultData, name, e.Request.PsId.String(), dt)
}
return entries
diff --git a/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/struct.go b/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/struct.go
index d27f0813b..ce32f8bd9 100644
--- a/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/struct.go
+++ b/iSolarCloud/WebIscmAppService/getMaxDeviceIdByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getModelPoints/struct.go b/iSolarCloud/WebIscmAppService/getModelPoints/struct.go
index dabead417..18370c806 100644
--- a/iSolarCloud/WebIscmAppService/getModelPoints/struct.go
+++ b/iSolarCloud/WebIscmAppService/getModelPoints/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getMoneyUnitList/struct.go b/iSolarCloud/WebIscmAppService/getMoneyUnitList/struct.go
index fb1b07156..153227a83 100644
--- a/iSolarCloud/WebIscmAppService/getMoneyUnitList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getMoneyUnitList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getNamecnNew/struct.go b/iSolarCloud/WebIscmAppService/getNamecnNew/struct.go
index 4f728e42b..81e1a590b 100644
--- a/iSolarCloud/WebIscmAppService/getNamecnNew/struct.go
+++ b/iSolarCloud/WebIscmAppService/getNamecnNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getNationList/struct.go b/iSolarCloud/WebIscmAppService/getNationList/struct.go
index 9e87d0414..59ebc964f 100644
--- a/iSolarCloud/WebIscmAppService/getNationList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getNationList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOperationRecord/struct.go b/iSolarCloud/WebIscmAppService/getOperationRecord/struct.go
index f3f1b55fe..226e73d8b 100644
--- a/iSolarCloud/WebIscmAppService/getOperationRecord/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOperationRecord/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/struct.go b/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/struct.go
index 1e3cdee08..480858fd0 100644
--- a/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgAndChildBasicInfoOptions/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/struct.go b/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/struct.go
index 069fba3cf..83cd80508 100644
--- a/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgAndStateAndCode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgForPs/struct.go b/iSolarCloud/WebIscmAppService/getOrgForPs/struct.go
index 3b2c6fcc0..61d1fa48e 100644
--- a/iSolarCloud/WebIscmAppService/getOrgForPs/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgForPs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgList/struct.go b/iSolarCloud/WebIscmAppService/getOrgList/struct.go
index b623dd65b..715b0b0b2 100644
--- a/iSolarCloud/WebIscmAppService/getOrgList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgListForUser/struct.go b/iSolarCloud/WebIscmAppService/getOrgListForUser/struct.go
index 552574099..5b313c4df 100644
--- a/iSolarCloud/WebIscmAppService/getOrgListForUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgListForUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgNodeInfo/struct.go b/iSolarCloud/WebIscmAppService/getOrgNodeInfo/struct.go
index 1091c69ca..7952d4b98 100644
--- a/iSolarCloud/WebIscmAppService/getOrgNodeInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgNodeInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgStationList/struct.go b/iSolarCloud/WebIscmAppService/getOrgStationList/struct.go
index cfdef1ee1..ca3596687 100644
--- a/iSolarCloud/WebIscmAppService/getOrgStationList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgStationList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgStationListByPage/struct.go b/iSolarCloud/WebIscmAppService/getOrgStationListByPage/struct.go
index ef50277f8..202aa41cf 100644
--- a/iSolarCloud/WebIscmAppService/getOrgStationListByPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgStationListByPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgUserList/struct.go b/iSolarCloud/WebIscmAppService/getOrgUserList/struct.go
index c01b394c3..d1319a595 100644
--- a/iSolarCloud/WebIscmAppService/getOrgUserList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgUserList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgUserMapData/struct.go b/iSolarCloud/WebIscmAppService/getOrgUserMapData/struct.go
index 4b4279f46..49d097e1b 100644
--- a/iSolarCloud/WebIscmAppService/getOrgUserMapData/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgUserMapData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgZtree/struct.go b/iSolarCloud/WebIscmAppService/getOrgZtree/struct.go
index 46ac63c2a..2399b51dc 100644
--- a/iSolarCloud/WebIscmAppService/getOrgZtree/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgZtree/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgZtree4User/struct.go b/iSolarCloud/WebIscmAppService/getOrgZtree4User/struct.go
index f68be675f..c4df85b31 100644
--- a/iSolarCloud/WebIscmAppService/getOrgZtree4User/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgZtree4User/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/struct.go b/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/struct.go
index fa0168a00..e6be06fe6 100644
--- a/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgZtreeAsync/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/struct.go b/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/struct.go
index 776c811e0..142d91110 100644
--- a/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/getOrgZtreeForUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPictureList/struct.go b/iSolarCloud/WebIscmAppService/getPictureList/struct.go
index 2f46d322b..8f11755d1 100644
--- a/iSolarCloud/WebIscmAppService/getPictureList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPictureList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPointInfo/struct.go b/iSolarCloud/WebIscmAppService/getPointInfo/struct.go
index e837d3968..3ec0bde01 100644
--- a/iSolarCloud/WebIscmAppService/getPointInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPointInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPointInfoPage/struct.go b/iSolarCloud/WebIscmAppService/getPointInfoPage/struct.go
index e969536dc..fbbba4ecb 100644
--- a/iSolarCloud/WebIscmAppService/getPointInfoPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPointInfoPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDevice/struct.go b/iSolarCloud/WebIscmAppService/getPowerDevice/struct.go
index 0c2559dcb..e2e374907 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/struct.go
index 3a9769f8e..c84a09cf3 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceChannl/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/struct.go
index c5ef1ef55..002aa57ed 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceFactory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/struct.go
index b7f3cfbf4..aad1e99ee 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceFactoryListCount/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/struct.go
index ebe10be43..02406b294 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/struct.go
index 1c4126670..660ab8668 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceModelList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/struct.go
index 66dcc823a..bfbe10e0c 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceModelTechList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/struct.go b/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/struct.go
index bf1e103b6..abc868d13 100644
--- a/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerDeviceTypeList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerPlanList/struct.go b/iSolarCloud/WebIscmAppService/getPowerPlanList/struct.go
index 9faa8b695..54050dd7a 100644
--- a/iSolarCloud/WebIscmAppService/getPowerPlanList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerPlanList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerStation/struct.go b/iSolarCloud/WebIscmAppService/getPowerStation/struct.go
index 6beb59f7c..f6cccad72 100644
--- a/iSolarCloud/WebIscmAppService/getPowerStation/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerStation/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerStationInfo/struct.go b/iSolarCloud/WebIscmAppService/getPowerStationInfo/struct.go
index f9b5eb3ca..3292f4e10 100644
--- a/iSolarCloud/WebIscmAppService/getPowerStationInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerStationInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerStationList/struct.go b/iSolarCloud/WebIscmAppService/getPowerStationList/struct.go
index 724934f1f..1a7bb3503 100644
--- a/iSolarCloud/WebIscmAppService/getPowerStationList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerStationList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPowerStore/struct.go b/iSolarCloud/WebIscmAppService/getPowerStore/struct.go
index 72de47767..3760d8f1b 100644
--- a/iSolarCloud/WebIscmAppService/getPowerStore/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPowerStore/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getProvcnNew/struct.go b/iSolarCloud/WebIscmAppService/getProvcnNew/struct.go
index 648d1bee9..042162ea9 100644
--- a/iSolarCloud/WebIscmAppService/getProvcnNew/struct.go
+++ b/iSolarCloud/WebIscmAppService/getProvcnNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getPsTreeMenu/struct.go b/iSolarCloud/WebIscmAppService/getPsTreeMenu/struct.go
index 6a4327a88..6288adce7 100644
--- a/iSolarCloud/WebIscmAppService/getPsTreeMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/getPsTreeMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getRoleByUserIds/struct.go b/iSolarCloud/WebIscmAppService/getRoleByUserIds/struct.go
index 8d7cd3c4c..581496383 100644
--- a/iSolarCloud/WebIscmAppService/getRoleByUserIds/struct.go
+++ b/iSolarCloud/WebIscmAppService/getRoleByUserIds/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/struct.go b/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/struct.go
index 1c5ca604d..5bf9b7f45 100644
--- a/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/struct.go
+++ b/iSolarCloud/WebIscmAppService/getRootOrgInfoByUserId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSettingUserMapData/struct.go b/iSolarCloud/WebIscmAppService/getSettingUserMapData/struct.go
index 70fb18f18..47ea30020 100644
--- a/iSolarCloud/WebIscmAppService/getSettingUserMapData/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSettingUserMapData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getStateNew/struct.go b/iSolarCloud/WebIscmAppService/getStateNew/struct.go
index 373b012d1..12b70a729 100644
--- a/iSolarCloud/WebIscmAppService/getStateNew/struct.go
+++ b/iSolarCloud/WebIscmAppService/getStateNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSubTypeDevice/struct.go b/iSolarCloud/WebIscmAppService/getSubTypeDevice/struct.go
index d479c4b33..5ec396b43 100644
--- a/iSolarCloud/WebIscmAppService/getSubTypeDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSubTypeDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSysHomeList2/struct.go b/iSolarCloud/WebIscmAppService/getSysHomeList2/struct.go
index bb9ca72cd..8efdd4a61 100644
--- a/iSolarCloud/WebIscmAppService/getSysHomeList2/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSysHomeList2/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSysMenu/struct.go b/iSolarCloud/WebIscmAppService/getSysMenu/struct.go
index 672ba216e..19d97fb92 100644
--- a/iSolarCloud/WebIscmAppService/getSysMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSysMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSysOrgPro/struct.go b/iSolarCloud/WebIscmAppService/getSysOrgPro/struct.go
index 0bcb63d1e..79ca2de38 100644
--- a/iSolarCloud/WebIscmAppService/getSysOrgPro/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSysOrgPro/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSysUser/struct.go b/iSolarCloud/WebIscmAppService/getSysUser/struct.go
index 0a3a8e345..a74c5a7d0 100644
--- a/iSolarCloud/WebIscmAppService/getSysUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSysUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSystemOrgInfo/struct.go b/iSolarCloud/WebIscmAppService/getSystemOrgInfo/struct.go
index dd3fcd5ce..9c9f22c74 100644
--- a/iSolarCloud/WebIscmAppService/getSystemOrgInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSystemOrgInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSystemRoleInfo/struct.go b/iSolarCloud/WebIscmAppService/getSystemRoleInfo/struct.go
index f2063fdd9..5864b8a87 100644
--- a/iSolarCloud/WebIscmAppService/getSystemRoleInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSystemRoleInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getSystemRoleList2/struct.go b/iSolarCloud/WebIscmAppService/getSystemRoleList2/struct.go
index 2c16ca7d1..5a984ad65 100644
--- a/iSolarCloud/WebIscmAppService/getSystemRoleList2/struct.go
+++ b/iSolarCloud/WebIscmAppService/getSystemRoleList2/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getTownValueNew/struct.go b/iSolarCloud/WebIscmAppService/getTownValueNew/struct.go
index acea7f714..8ce0be16c 100644
--- a/iSolarCloud/WebIscmAppService/getTownValueNew/struct.go
+++ b/iSolarCloud/WebIscmAppService/getTownValueNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getUserMenuLs/struct.go b/iSolarCloud/WebIscmAppService/getUserMenuLs/struct.go
index d74595f1e..b4a2aea46 100644
--- a/iSolarCloud/WebIscmAppService/getUserMenuLs/struct.go
+++ b/iSolarCloud/WebIscmAppService/getUserMenuLs/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getUserOrgPage/struct.go b/iSolarCloud/WebIscmAppService/getUserOrgPage/struct.go
index 3255a7490..580ea378f 100644
--- a/iSolarCloud/WebIscmAppService/getUserOrgPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/getUserOrgPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getVillageList/struct.go b/iSolarCloud/WebIscmAppService/getVillageList/struct.go
index bd7e1f312..55ef9f07f 100644
--- a/iSolarCloud/WebIscmAppService/getVillageList/struct.go
+++ b/iSolarCloud/WebIscmAppService/getVillageList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getVillageListNew/struct.go b/iSolarCloud/WebIscmAppService/getVillageListNew/struct.go
index fdf61d860..154336027 100644
--- a/iSolarCloud/WebIscmAppService/getVillageListNew/struct.go
+++ b/iSolarCloud/WebIscmAppService/getVillageListNew/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/struct.go b/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/struct.go
index 3d790637a..db59a5612 100644
--- a/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/getZtreeAsyncSysMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getZtreeChildMenu/struct.go b/iSolarCloud/WebIscmAppService/getZtreeChildMenu/struct.go
index 5cf94708d..71e4a665d 100644
--- a/iSolarCloud/WebIscmAppService/getZtreeChildMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/getZtreeChildMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getZtreeMenu/struct.go b/iSolarCloud/WebIscmAppService/getZtreeMenu/struct.go
index a13e01682..c0a24b587 100644
--- a/iSolarCloud/WebIscmAppService/getZtreeMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/getZtreeMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getZtreeSysMenu/struct.go b/iSolarCloud/WebIscmAppService/getZtreeSysMenu/struct.go
index a0ba6629c..978f5976e 100644
--- a/iSolarCloud/WebIscmAppService/getZtreeSysMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/getZtreeSysMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/struct.go b/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/struct.go
index 097285e20..9a0e1fac5 100644
--- a/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/struct.go
+++ b/iSolarCloud/WebIscmAppService/getZtreeSysMenu2/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/struct.go b/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/struct.go
index aa46567c9..85cc93376 100644
--- a/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/goToDevicePropertyPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/isCanAddUser/struct.go b/iSolarCloud/WebIscmAppService/isCanAddUser/struct.go
index b63769e2e..05f3abf19 100644
--- a/iSolarCloud/WebIscmAppService/isCanAddUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/isCanAddUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/isHasIrradiationData/struct.go b/iSolarCloud/WebIscmAppService/isHasIrradiationData/struct.go
index a7f6860f9..f0e69f2c7 100644
--- a/iSolarCloud/WebIscmAppService/isHasIrradiationData/struct.go
+++ b/iSolarCloud/WebIscmAppService/isHasIrradiationData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/isHasPlan/struct.go b/iSolarCloud/WebIscmAppService/isHasPlan/struct.go
index 7facce83b..f945d0588 100644
--- a/iSolarCloud/WebIscmAppService/isHasPlan/struct.go
+++ b/iSolarCloud/WebIscmAppService/isHasPlan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/loadDevice/struct.go b/iSolarCloud/WebIscmAppService/loadDevice/struct.go
index 798a549ef..75254aabf 100644
--- a/iSolarCloud/WebIscmAppService/loadDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/loadDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modelPointsPage/struct.go b/iSolarCloud/WebIscmAppService/modelPointsPage/struct.go
index ecaa53c66..c530c9a19 100644
--- a/iSolarCloud/WebIscmAppService/modelPointsPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/modelPointsPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifyDevice/struct.go b/iSolarCloud/WebIscmAppService/modifyDevice/struct.go
index 8ea431f14..af31f39d2 100644
--- a/iSolarCloud/WebIscmAppService/modifyDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifyDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/struct.go b/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/struct.go
index 6b94a436c..8d0e34a36 100644
--- a/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifyPowerDeviceChannl/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifySysOrg/struct.go b/iSolarCloud/WebIscmAppService/modifySysOrg/struct.go
index 8a52f4510..3c4ceda52 100644
--- a/iSolarCloud/WebIscmAppService/modifySysOrg/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifySysOrg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifySystemMenu/struct.go b/iSolarCloud/WebIscmAppService/modifySystemMenu/struct.go
index 0bd43f5da..60811b4bc 100644
--- a/iSolarCloud/WebIscmAppService/modifySystemMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifySystemMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifySystemOrgNode/struct.go b/iSolarCloud/WebIscmAppService/modifySystemOrgNode/struct.go
index bbdccba3f..3df513a38 100644
--- a/iSolarCloud/WebIscmAppService/modifySystemOrgNode/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifySystemOrgNode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifySystemRole/struct.go b/iSolarCloud/WebIscmAppService/modifySystemRole/struct.go
index c424e9798..bea82b0a5 100644
--- a/iSolarCloud/WebIscmAppService/modifySystemRole/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifySystemRole/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/modifySystemUser/struct.go b/iSolarCloud/WebIscmAppService/modifySystemUser/struct.go
index cc215a4d1..9764e2fca 100644
--- a/iSolarCloud/WebIscmAppService/modifySystemUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/modifySystemUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/publishNotice/struct.go b/iSolarCloud/WebIscmAppService/publishNotice/struct.go
index e8659fdb8..89d660410 100644
--- a/iSolarCloud/WebIscmAppService/publishNotice/struct.go
+++ b/iSolarCloud/WebIscmAppService/publishNotice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/queryDeviceList/struct.go b/iSolarCloud/WebIscmAppService/queryDeviceList/struct.go
index 6852847d6..2ac9a574f 100644
--- a/iSolarCloud/WebIscmAppService/queryDeviceList/struct.go
+++ b/iSolarCloud/WebIscmAppService/queryDeviceList/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/queryDutyType/struct.go b/iSolarCloud/WebIscmAppService/queryDutyType/struct.go
index 2c9593246..356ffe315 100644
--- a/iSolarCloud/WebIscmAppService/queryDutyType/struct.go
+++ b/iSolarCloud/WebIscmAppService/queryDutyType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/queryReportDataById/struct.go b/iSolarCloud/WebIscmAppService/queryReportDataById/struct.go
index 040d8f6d4..30e98fcfd 100644
--- a/iSolarCloud/WebIscmAppService/queryReportDataById/struct.go
+++ b/iSolarCloud/WebIscmAppService/queryReportDataById/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/resetPasW/struct.go b/iSolarCloud/WebIscmAppService/resetPasW/struct.go
index c07fa9979..b33b32a80 100644
--- a/iSolarCloud/WebIscmAppService/resetPasW/struct.go
+++ b/iSolarCloud/WebIscmAppService/resetPasW/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveAuthKey/struct.go b/iSolarCloud/WebIscmAppService/saveAuthKey/struct.go
index bd3532c80..ed232ed08 100644
--- a/iSolarCloud/WebIscmAppService/saveAuthKey/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveAuthKey/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveDevice/struct.go b/iSolarCloud/WebIscmAppService/saveDevice/struct.go
index 3a6b507a4..32984f9c9 100644
--- a/iSolarCloud/WebIscmAppService/saveDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveDeviceFactory/struct.go b/iSolarCloud/WebIscmAppService/saveDeviceFactory/struct.go
index f7a221d34..ccf431d47 100644
--- a/iSolarCloud/WebIscmAppService/saveDeviceFactory/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveDeviceFactory/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveDeviceType/struct.go b/iSolarCloud/WebIscmAppService/saveDeviceType/struct.go
index 1496f3139..87f58acef 100644
--- a/iSolarCloud/WebIscmAppService/saveDeviceType/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveDeviceType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveIrradiationData/struct.go b/iSolarCloud/WebIscmAppService/saveIrradiationData/struct.go
index 84ce870a4..84ceaaf10 100644
--- a/iSolarCloud/WebIscmAppService/saveIrradiationData/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveIrradiationData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveModelPoints/struct.go b/iSolarCloud/WebIscmAppService/saveModelPoints/struct.go
index 978fa41e9..d8b6dc761 100644
--- a/iSolarCloud/WebIscmAppService/saveModelPoints/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveModelPoints/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveNewNotice/struct.go b/iSolarCloud/WebIscmAppService/saveNewNotice/struct.go
index b0f584bb2..c28ea5d0f 100644
--- a/iSolarCloud/WebIscmAppService/saveNewNotice/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveNewNotice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveOrUpdateReport/struct.go b/iSolarCloud/WebIscmAppService/saveOrUpdateReport/struct.go
index 57fe4f4a5..6050178c1 100644
--- a/iSolarCloud/WebIscmAppService/saveOrUpdateReport/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveOrUpdateReport/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveOrgNode/struct.go b/iSolarCloud/WebIscmAppService/saveOrgNode/struct.go
index e62a5a732..f81c47fe9 100644
--- a/iSolarCloud/WebIscmAppService/saveOrgNode/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveOrgNode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveOrgUsers/struct.go b/iSolarCloud/WebIscmAppService/saveOrgUsers/struct.go
index c552857c1..61a03f64d 100644
--- a/iSolarCloud/WebIscmAppService/saveOrgUsers/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveOrgUsers/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePicture/struct.go b/iSolarCloud/WebIscmAppService/savePicture/struct.go
index 2058d17af..5cfc028aa 100644
--- a/iSolarCloud/WebIscmAppService/savePicture/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePicture/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePointManage/struct.go b/iSolarCloud/WebIscmAppService/savePointManage/struct.go
index 221e0395a..dc3752a26 100644
--- a/iSolarCloud/WebIscmAppService/savePointManage/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePointManage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/struct.go b/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/struct.go
index 64742746d..d776da58c 100644
--- a/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerDeviceChannl/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/savePowerDeviceModel/struct.go
index 75f136acb..945b7e8e0 100644
--- a/iSolarCloud/WebIscmAppService/savePowerDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerDeviceModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/struct.go b/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/struct.go
index 49e34c61b..1315d4db4 100644
--- a/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerDeviceParameterPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/struct.go b/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/struct.go
index 962584ade..39c40c36a 100644
--- a/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerDeviceSubType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/struct.go b/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/struct.go
index 52f827fbe..9d8bca45b 100644
--- a/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerDeviceTechnical/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerPlan/struct.go b/iSolarCloud/WebIscmAppService/savePowerPlan/struct.go
index fe897a815..0ae64b6b0 100644
--- a/iSolarCloud/WebIscmAppService/savePowerPlan/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerPlan/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/struct.go b/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/struct.go
index 0227331c6..700e0361f 100644
--- a/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerStationByPowerStore/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePowerStore/struct.go b/iSolarCloud/WebIscmAppService/savePowerStore/struct.go
index 25160e511..15a29333c 100644
--- a/iSolarCloud/WebIscmAppService/savePowerStore/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePowerStore/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/savePsOrg/struct.go b/iSolarCloud/WebIscmAppService/savePsOrg/struct.go
index 36109d5b4..1d01fc4d9 100644
--- a/iSolarCloud/WebIscmAppService/savePsOrg/struct.go
+++ b/iSolarCloud/WebIscmAppService/savePsOrg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveRelDevice/struct.go b/iSolarCloud/WebIscmAppService/saveRelDevice/struct.go
index bd1651e1d..fed10788e 100644
--- a/iSolarCloud/WebIscmAppService/saveRelDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveRelDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveRoleAssign/struct.go b/iSolarCloud/WebIscmAppService/saveRoleAssign/struct.go
index 22b436ee8..75d26f9c5 100644
--- a/iSolarCloud/WebIscmAppService/saveRoleAssign/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveRoleAssign/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveSysMenu/struct.go b/iSolarCloud/WebIscmAppService/saveSysMenu/struct.go
index 932b35ecd..1dcc82deb 100644
--- a/iSolarCloud/WebIscmAppService/saveSysMenu/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveSysMenu/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveSysOrg/struct.go b/iSolarCloud/WebIscmAppService/saveSysOrg/struct.go
index 43a3770cb..aaef8d33c 100644
--- a/iSolarCloud/WebIscmAppService/saveSysOrg/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveSysOrg/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveSysRole/struct.go b/iSolarCloud/WebIscmAppService/saveSysRole/struct.go
index 27ad05dc4..b67e98985 100644
--- a/iSolarCloud/WebIscmAppService/saveSysRole/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveSysRole/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveSysUser/struct.go b/iSolarCloud/WebIscmAppService/saveSysUser/struct.go
index 14f0c3e6c..6841b97c5 100644
--- a/iSolarCloud/WebIscmAppService/saveSysUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveSysUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveUserNode/struct.go b/iSolarCloud/WebIscmAppService/saveUserNode/struct.go
index e684aeac9..8ffa3793c 100644
--- a/iSolarCloud/WebIscmAppService/saveUserNode/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveUserNode/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/saveUserRole/struct.go b/iSolarCloud/WebIscmAppService/saveUserRole/struct.go
index 15eb94163..e50e02616 100644
--- a/iSolarCloud/WebIscmAppService/saveUserRole/struct.go
+++ b/iSolarCloud/WebIscmAppService/saveUserRole/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/searchIrradiationData/struct.go b/iSolarCloud/WebIscmAppService/searchIrradiationData/struct.go
index 09351e5a5..d596d74d4 100644
--- a/iSolarCloud/WebIscmAppService/searchIrradiationData/struct.go
+++ b/iSolarCloud/WebIscmAppService/searchIrradiationData/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/searchTechnicalNums/struct.go b/iSolarCloud/WebIscmAppService/searchTechnicalNums/struct.go
index f017ee0af..22359575d 100644
--- a/iSolarCloud/WebIscmAppService/searchTechnicalNums/struct.go
+++ b/iSolarCloud/WebIscmAppService/searchTechnicalNums/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/struct.go b/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/struct.go
index 9636e948a..116fd77a3 100644
--- a/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/struct.go
+++ b/iSolarCloud/WebIscmAppService/selectDeviceTypeByPsId/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/struct.go b/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/struct.go
index e4d7e8a85..09a11c203 100644
--- a/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/struct.go
+++ b/iSolarCloud/WebIscmAppService/selectPowerDeviceTechnicals/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/selectPowerDeviceType/struct.go b/iSolarCloud/WebIscmAppService/selectPowerDeviceType/struct.go
index fdfdcc60f..bd492d8a5 100644
--- a/iSolarCloud/WebIscmAppService/selectPowerDeviceType/struct.go
+++ b/iSolarCloud/WebIscmAppService/selectPowerDeviceType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/struct.go b/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/struct.go
index 53e27cd04..4f32c98d5 100644
--- a/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/struct.go
+++ b/iSolarCloud/WebIscmAppService/setupUserRole4AddUser/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/startWorkFlow/struct.go b/iSolarCloud/WebIscmAppService/startWorkFlow/struct.go
index 0b344bdc1..50e110555 100644
--- a/iSolarCloud/WebIscmAppService/startWorkFlow/struct.go
+++ b/iSolarCloud/WebIscmAppService/startWorkFlow/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateDevice/struct.go b/iSolarCloud/WebIscmAppService/updateDevice/struct.go
index 518ae6a1e..8a77e7173 100644
--- a/iSolarCloud/WebIscmAppService/updateDevice/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateDevice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateDeviceType/struct.go b/iSolarCloud/WebIscmAppService/updateDeviceType/struct.go
index d982378b2..84b5fa530 100644
--- a/iSolarCloud/WebIscmAppService/updateDeviceType/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateDeviceType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateFaultLevel/struct.go b/iSolarCloud/WebIscmAppService/updateFaultLevel/struct.go
index 9b28aec69..62fc7834b 100644
--- a/iSolarCloud/WebIscmAppService/updateFaultLevel/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateFaultLevel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateNotice/struct.go b/iSolarCloud/WebIscmAppService/updateNotice/struct.go
index a197adf60..1770be4b3 100644
--- a/iSolarCloud/WebIscmAppService/updateNotice/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateNotice/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updatePointInfo/struct.go b/iSolarCloud/WebIscmAppService/updatePointInfo/struct.go
index 531f405d9..1a3dd96d5 100644
--- a/iSolarCloud/WebIscmAppService/updatePointInfo/struct.go
+++ b/iSolarCloud/WebIscmAppService/updatePointInfo/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/struct.go
index 0d348755f..681878995 100644
--- a/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceModel/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/struct.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/struct.go
index 451de3273..bce46479e 100644
--- a/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/struct.go
+++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceParameterPage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/struct.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/struct.go
index ea64a46e5..51f021610 100644
--- a/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/struct.go
+++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceSubType/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/struct.go b/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/struct.go
index 310f98ccd..51ae170c2 100644
--- a/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/struct.go
+++ b/iSolarCloud/WebIscmAppService/updatePowerDeviceTechnical/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateProcessManage/struct.go b/iSolarCloud/WebIscmAppService/updateProcessManage/struct.go
index f0721f262..c3d36629b 100644
--- a/iSolarCloud/WebIscmAppService/updateProcessManage/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateProcessManage/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateSysOrgPro/struct.go b/iSolarCloud/WebIscmAppService/updateSysOrgPro/struct.go
index 3517b4fe2..04077e49b 100644
--- a/iSolarCloud/WebIscmAppService/updateSysOrgPro/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateSysOrgPro/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/struct.go b/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/struct.go
index e4df51b77..269758eab 100644
--- a/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateSysRoleValidFlag/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateUserValidFlag/struct.go b/iSolarCloud/WebIscmAppService/updateUserValidFlag/struct.go
index 25c7435a8..073498824 100644
--- a/iSolarCloud/WebIscmAppService/updateUserValidFlag/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateUserValidFlag/struct.go
@@ -370,3 +370,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/updateValidFlag/struct.go b/iSolarCloud/WebIscmAppService/updateValidFlag/struct.go
index cba847926..81e7c4951 100644
--- a/iSolarCloud/WebIscmAppService/updateValidFlag/struct.go
+++ b/iSolarCloud/WebIscmAppService/updateValidFlag/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/viewDeviceModel/struct.go b/iSolarCloud/WebIscmAppService/viewDeviceModel/struct.go
index 0387e2ccf..e059403a5 100644
--- a/iSolarCloud/WebIscmAppService/viewDeviceModel/struct.go
+++ b/iSolarCloud/WebIscmAppService/viewDeviceModel/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/viewDeviceParameter/struct.go b/iSolarCloud/WebIscmAppService/viewDeviceParameter/struct.go
index d7ea60845..f64c173e7 100644
--- a/iSolarCloud/WebIscmAppService/viewDeviceParameter/struct.go
+++ b/iSolarCloud/WebIscmAppService/viewDeviceParameter/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/workFlowImplementStep/struct.go b/iSolarCloud/WebIscmAppService/workFlowImplementStep/struct.go
index fc508bdce..5e659851e 100644
--- a/iSolarCloud/WebIscmAppService/workFlowImplementStep/struct.go
+++ b/iSolarCloud/WebIscmAppService/workFlowImplementStep/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/workFlowIsStart/struct.go b/iSolarCloud/WebIscmAppService/workFlowIsStart/struct.go
index f4976cf23..c3221f1d5 100644
--- a/iSolarCloud/WebIscmAppService/workFlowIsStart/struct.go
+++ b/iSolarCloud/WebIscmAppService/workFlowIsStart/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/WebIscmAppService/workFlowTransferStep/struct.go b/iSolarCloud/WebIscmAppService/workFlowTransferStep/struct.go
index d2e226546..c2ee54967 100644
--- a/iSolarCloud/WebIscmAppService/workFlowTransferStep/struct.go
+++ b/iSolarCloud/WebIscmAppService/workFlowTransferStep/struct.go
@@ -369,3 +369,13 @@ func (e EndPoint) GetEndPointData() api.DataMap {
func (e EndPoint) GetEndPointDataTable() output.Table {
return e.ApiRoot.GetDataTable(e)
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/api/apiReflect/reflect.go b/iSolarCloud/api/apiReflect/reflect.go
index 92e383abf..99769f5a2 100644
--- a/iSolarCloud/api/apiReflect/reflect.go
+++ b/iSolarCloud/api/apiReflect/reflect.go
@@ -48,6 +48,16 @@ const (
PointTimestampFrom = "PointTimestampFrom" // Pull timestamp from another field structure.
)
+const (
+ UpdateFreqInstant = "instant"
+ UpdateFreq5Mins = "5mins"
+ UpdateFreqBoot = "boot"
+ UpdateFreqDay = "daily"
+ UpdateFreqMonth = "monthly"
+ UpdateFreqYear = "yearly"
+ UpdateFreqTotal = "total"
+)
+
type Reflect struct {
Valid bool
@@ -199,17 +209,6 @@ func (r *Reflect) SetFieldNameByIndex(parent interface{}, fieldIndex int) { // ,
// setPointName - Are we using an index number for name or field key value?
func (r *Reflect) setPointName(parentRef interface{}, childRef interface{}, name []string, index int) []string {
for range Only.Once {
- // if !fieldTo.IsExported() {
- // fmt.Printf("DEBUG: NOTEXPORTED(%s): %s\n", fieldTo.Name, getJsonTag(fieldTo))
- // break
- // }
- //
- // pointJson := getJsonTag(fieldTo)
- // pointId := fieldTo.Tag.Get(PointId)
- // if pointId == "" {
- // pointId = pointJson
- // }
-
// pointTimestamp := time.Now()
// pointTimestampFrom := fieldTo.Tag.Get(PointTimestampFrom)
// if pointTimestampFrom != "" {
@@ -362,6 +361,24 @@ func (ds *DataStructure) Set(parentRef interface{}, fieldTo reflect.StructField,
pointNameDateFormat = valueTypes.DateTimeAltLayout
}
+ pointUpdateFreq := fieldTo.Tag.Get(PointUpdateFreq)
+ switch pointUpdateFreq {
+ case "UpdateFreqInstant":
+ pointUpdateFreq = UpdateFreqInstant
+ case "UpdateFreq5Mins":
+ pointUpdateFreq = UpdateFreq5Mins
+ case "UpdateFreqBoot":
+ pointUpdateFreq = UpdateFreqBoot
+ case "UpdateFreqDay":
+ pointUpdateFreq = UpdateFreqDay
+ case "UpdateFreqMonth":
+ pointUpdateFreq = UpdateFreqMonth
+ case "UpdateFreqYear":
+ pointUpdateFreq = UpdateFreqYear
+ case "UpdateFreqTotal":
+ pointUpdateFreq = UpdateFreqTotal
+ }
+
*ds = DataStructure {
Json: pointJson,
PointId: pointId,
@@ -382,7 +399,7 @@ func (ds *DataStructure) Set(parentRef interface{}, fieldTo reflect.StructField,
PointNameFromParent: fieldTo.Tag.Get(PointNameFromParent),
PointNameDateFormat: pointNameDateFormat,
- PointUpdateFreq: fieldTo.Tag.Get(PointUpdateFreq),
+ PointUpdateFreq: pointUpdateFreq,
PointValueType: fieldTo.Tag.Get(PointValueType),
PointAliasTo: fieldTo.Tag.Get(PointAliasTo),
PointIgnore: ignore,
@@ -443,211 +460,6 @@ func (dss *DataStructures) Append(dsm DataStructures) {
}
}
-// func (dss *DataStructures) GetPointTags(parentRef interface{}, ref interface{}, name ...string) DataStructures {
-//
-// for range Only.Once {
-// to := reflect.TypeOf(ref)
-// vo := reflect.ValueOf(ref)
-//
-// if vo.Kind() == reflect.Slice {
-// fmt.Println("reflect.Slice")
-// if vo.Len() > 0 {
-// dss.GetPointTags(parentRef, vo.Index(0).Interface(), name...)
-// }
-// break
-// }
-//
-// if vo.Kind() == reflect.Array {
-// fmt.Println("reflect.Array")
-// if vo.Len() > 0 {
-// dss.GetPointTags(parentRef, vo.Index(0).Interface(), name...)
-// }
-// break
-// }
-//
-// if vo.Kind() == reflect.Map {
-// fmt.Println("reflect.Map")
-// mk := vo.MapKeys()
-// if len(mk) > 0 {
-// dss.GetPointTags(parentRef, vo.MapIndex(mk[0]).Interface(), name...)
-// }
-// break
-// }
-//
-// if vo.Kind() == reflect.Pointer {
-// // We're going to change the pointer to a proper object reference.
-// if valueTypes.IsNil(ref) {
-// break
-// }
-// ref = vo.Elem().Interface()
-// if valueTypes.IsNil(ref) {
-// break
-// }
-// to = reflect.TypeOf(ref)
-// vo = reflect.ValueOf(ref)
-// // Or we could just call ourselves - either way works.
-// // dss.GetPointTags(parentRef, fieldVo.Interface(), name...)
-// // continue
-// }
-//
-//
-// // Iterate over all available fields and read the tag value
-// for i := 0; i < vo.NumField(); i++ {
-// fieldTo := to.Field(i)
-// fieldVo := vo.Field(i)
-// // fmt.Printf("START:\nref: %v\nfieldTo: %v\nfieldVo: %v\n", ref, fieldTo, fieldVo)
-//
-// if fieldVo.Kind() == reflect.Pointer {
-// // We're going to change the pointer to a proper object reference.
-// if valueTypes.IsNil(fieldVo.Interface()) {
-// continue
-// }
-// ref = fieldVo.Elem().Interface()
-// if valueTypes.IsNil(ref) {
-// continue
-// }
-// to = reflect.TypeOf(ref)
-// vo = reflect.ValueOf(ref)
-// i = 0
-// fieldTo = to.Field(i)
-// fieldVo = vo.Field(i)
-// // Or we could just call ourselves - either way works.
-// // dss.GetPointTags(parentRef, fieldVo.Interface(), name...)
-// // continue
-// }
-//
-// if !fieldTo.IsExported() {
-// fmt.Printf("DEBUG: NOTEXPORTED(%s): Type %s\n", name, fieldTo.Name)
-// continue
-// }
-//
-// pointJson := getJsonTag(fieldTo)
-// pointId := fieldTo.Tag.Get(PointId)
-// if pointId == "" {
-// pointId = pointJson
-// }
-//
-// if pointId == "data_list" {
-// fmt.Sprintf("")
-// }
-//
-// // fmt.Printf("DEBUG[%d]: %s.%s: Key[%s]:\tKind:'%s' Type:'%s'\n",
-// // len(dss.Map),
-// // strings.Join(name, "."), pointId,
-// // fieldTo.Name,
-// // fieldVo.Kind(),
-// // fieldTo.Type.String(),
-// // )
-//
-// switch fieldVo.Kind() {
-// case reflect.Uintptr:
-// fallthrough
-// case reflect.Complex64:
-// fallthrough
-// case reflect.Complex128:
-// fallthrough
-// case reflect.Chan:
-// fallthrough
-// case reflect.Func:
-// fallthrough
-// case reflect.UnsafePointer:
-// fmt.Printf("Unsupported type: '%s.%s' (%s)\n", name, pointId, fieldVo.Type().String())
-// continue
-//
-// case reflect.Pointer:
-// if valueTypes.IsNil(fieldVo.Interface()) {
-// continue
-// }
-// // Convert pointer to object just be calling ourselves.
-// dss.GetPointTags(parentRef, fieldVo.Interface(), name...)
-//
-// case reflect.Array:
-// // @TODO - Handle arrays here.
-// fallthrough
-// case reflect.Slice:
-// // Handle slices here.
-// if fieldTo.Tag.Get(PointArrayFlatten) != "" {
-// // We want to flatten a slice down to EG "[1, 2, 3]"
-// endPointName, ds := makeDataStructure(parentRef, fieldTo, fieldVo, name)
-// ds.Value = valueTypes.AnyToValueString(fieldVo.Interface(), 0, "")
-// dss.Add(endPointName + "." + ds.PointId, ds)
-// continue
-// }
-//
-// if valueTypes.IsUnknownStruct(fieldVo.Interface()) {
-// name2 := append(name, pointId)
-// for si := 0; si < fieldVo.Len(); si++ {
-// // Are we using an index number for name or field key value?
-// name3 := setPointName(fieldVo.Interface(), fieldVo.Index(si).Interface(), fieldTo, fieldVo, name2, si)
-// dss.GetPointTags(fieldVo.Interface(), fieldVo.Index(si).Interface(), name3...)
-// // dss.GetPointTags(fieldVo.Index(si).Interface(), fieldVo.Index(si).Interface(), name3...)
-// }
-// continue
-// }
-//
-// // Flatten slice for []Integer / []Float objects.
-// endPointName, ds := makeDataStructure(parentRef, fieldTo, fieldVo, name)
-// ds.Value = valueTypes.AnyToValueString(fieldVo.Interface(), 0, "")
-// dss.Add(endPointName + "." + ds.PointId, ds)
-// continue
-//
-// case reflect.Map:
-// // fmt.Printf("Kind: %s ##########################################\n", fieldVo.Kind().String())
-// n2 := append(name, pointId)
-// // pointNameFromChild := fieldTo.Tag.Get(PointNameFromChild)
-// // pointNameFromParent := fieldTo.Tag.Get(PointNameFromParent)
-//
-// for _, key := range fieldVo.MapKeys() {
-// // @TODO - Implement this.
-// // if pointNameFromChild != "" {
-// // // PointNameFromChild - In this case points to a field within a CHILD struct.
-// // pn = GetPointNameFrom(fieldVo.Index(si).Interface(), pointNameFromChild, intSize, pointNameDateFormat)
-// // n3 = append(n2[:len(n2) - 1], pn)
-// // }
-// // if pointNameFromParent != "" {
-// // // PointNameFromChild - In this case points to a field within a CHILD struct.
-// // pn = GetPointNameFrom(fieldVo.Interface(), pointNameFromParent, intSize, pointNameDateFormat)
-// // n3 = append(n2[:len(n2) - 1], pn)
-// // }
-//
-// endPointName, ds := makeDataStructure(fieldVo.Interface(), fieldTo, fieldVo, n2)
-// ds.Json = key.String()
-// ds.PointId = key.String()
-// val := fieldVo.MapIndex(key)
-// ds.Value = val.Interface()
-// dss.Add(endPointName + "." + ds.PointId, ds)
-// }
-// continue
-//
-// case reflect.Struct:
-// // fmt.Printf("Kind: %s ##########################################\n", fieldVo.Kind().String())
-// if valueTypes.IsUnknownStruct(fieldVo.Interface()) {
-// n2 := append(name, pointId)
-// dss.GetPointTags(parentRef, fieldVo.Interface(), n2...)
-// continue
-// }
-//
-// // fmt.Printf("[%s.%s] => %v\n", strings.Join(name, "."), pointId, fieldVo.Interface())
-// endPointName, ds := makeDataStructure(parentRef, fieldTo, fieldVo, name)
-// ds.Value = fieldVo.Interface()
-// dss.Add(endPointName + "." + ds.PointId, ds)
-// continue
-//
-// default:
-// // endPointName, ds := makeDataStructure(parentRef, fieldTo, fieldVo, name)
-// // ds.Value = fieldVo.Interface()
-// // dss.Add(endPointName + "." + ds.PointId, ds)
-// }
-//
-// endPointName, ds := makeDataStructure(parentRef, fieldTo, fieldVo, name)
-// ds.Value = fieldVo.Interface()
-// dss.Add(endPointName + "." + ds.PointId, ds)
-// }
-// }
-//
-// return *dss
-// }
-
func (dss *DataStructures) GetPointTags(Parent Reflect, Current Reflect, name ...string) DataStructures {
for range Only.Once {
@@ -881,6 +693,39 @@ func (dss *DataStructures) GetPointTags(Parent Reflect, Current Reflect, name ..
}
+func GetStructFields(ref interface{}) map[string]string {
+ ret := make(map[string]string)
+
+ for range Only.Once {
+ var Ref Reflect
+ Ref.SetByFieldName(ref, ref, "")
+
+ if Ref.Kind == reflect.Struct {
+ if Ref.Length == 0 {
+ if Ref.DataStructure.PointIgnoreZero {
+ break
+ }
+ }
+
+ // Iterate over all available fields and read the tag value
+ for i := 0; i < Ref.Length; i++ {
+ var Child Reflect
+ Child.SetByIndex(Ref.Interface, i)
+ // SetFieldNameByIndex
+
+ if !Child.IsExported {
+ continue
+ }
+
+ ret[Child.FieldName] = Child.DataStructure.Json
+ }
+ break
+ }
+ }
+
+ return ret
+}
+
func GetStringFrom(ref interface{}, name string) string {
var ret string
for range Only.Once {
@@ -1057,31 +902,10 @@ func GetName(trim string, v interface{}) string {
func GetType(v interface{}) string {
return reflect.ValueOf(v).Type().Name()
- // var ret string
- // for range Only.Once {
- // if v == nil {
- // break
- // }
- //
- // val := reflect.ValueOf(v)
- // ret = val.Type().Name()
- // }
- // return ret
}
func GetPkgType(v interface{}) string {
return reflect.ValueOf(v).Type().String()
- // var ret string
- // for range Only.Once {
- // if v == nil {
- // break
- // }
- //
- // val := reflect.ValueOf(v)
- // // ret = val.Type().Name()
- // ret = val.Type().String()
- // }
- // return ret
}
func GetStructName(v interface{}) (string, string) {
diff --git a/iSolarCloud/api/file.go b/iSolarCloud/api/file.go
index 849ae5f50..0798ab384 100644
--- a/iSolarCloud/api/file.go
+++ b/iSolarCloud/api/file.go
@@ -12,7 +12,7 @@ import (
)
-func (ep *EndPointStruct) SetFilenamePrefix(format string, args ...interface{}) string {
+func (ep *EndPointStruct) ApiSetFilenamePrefix(format string, args ...interface{}) string {
if format != "" {
ep.FileNamePrefix = fmt.Sprintf(format, args...)
// ep.FileNamePrefix = fmt.Sprintf("%s_%s-%s", ep.Area, ep.Name, ep.FileNamePrefix)
@@ -25,21 +25,21 @@ func (ep *EndPointStruct) SetFilenamePrefix(format string, args ...interface{})
func (ep *EndPointStruct) GetCsvFilename() string {
if ep.FileNamePrefix == "" {
- ep.SetFilenamePrefix("")
+ ep.ApiSetFilenamePrefix("")
}
return ep.FileNamePrefix + ".csv"
}
func (ep *EndPointStruct) GetJsonFilename() string {
if ep.FileNamePrefix == "" {
- ep.SetFilenamePrefix("")
+ ep.ApiSetFilenamePrefix("")
}
return ep.FileNamePrefix + ".json"
}
func (ep *EndPointStruct) GetImageFilename() string {
if ep.FileNamePrefix == "" {
- ep.SetFilenamePrefix("")
+ ep.ApiSetFilenamePrefix("")
}
return ep.FileNamePrefix + ".png"
}
diff --git a/iSolarCloud/api/interface_endpoint.go b/iSolarCloud/api/interface_endpoint.go
index d6dc96076..98758fa89 100644
--- a/iSolarCloud/api/interface_endpoint.go
+++ b/iSolarCloud/api/interface_endpoint.go
@@ -31,6 +31,7 @@ type EndPoint interface {
IsRequestValid() error
RequestString() string
RequestFingerprint() string
+ GetRequestArgNames() map[string]string
SetResponse([]byte) EndPoint // EndPointStruct
ResponseRef() interface{}
@@ -45,4 +46,5 @@ type EndPoint interface {
// GetDataTable() output.Table
GetEndPointData() DataMap
GetEndPointDataTable() output.Table
+ SetFilenamePrefix(format string, args ...interface{}) string
}
diff --git a/iSolarCloud/api/nullEndpoint/struct.go b/iSolarCloud/api/nullEndpoint/struct.go
index c5a974736..a60bffa13 100644
--- a/iSolarCloud/api/nullEndpoint/struct.go
+++ b/iSolarCloud/api/nullEndpoint/struct.go
@@ -422,3 +422,13 @@ func (e EndPoint) GetDataTable() output.Table {
}
return table
}
+
+// SetFilenamePrefix - Produce filename based on area and endpoint name.
+func (e EndPoint) SetFilenamePrefix(format string, args ...interface{}) string {
+ return e.ApiSetFilenamePrefix(format, args...)
+}
+
+// GetRequestArgNames -
+func (e EndPoint) GetRequestArgNames() map[string]string {
+ return e.ApiGetRequestArgNames(e.Request.RequestData)
+}
diff --git a/iSolarCloud/api/struct_areas.go b/iSolarCloud/api/struct_areas.go
index b1bc285ee..921b25319 100644
--- a/iSolarCloud/api/struct_areas.go
+++ b/iSolarCloud/api/struct_areas.go
@@ -15,11 +15,13 @@ type Areas map[AreaName]AreaStruct // TypeEndPoints // Map of EndPoints by area
type AreaName string
type AreaNames []AreaName
+
func (an *Areas) Exists(area string) bool {
var ok bool
_, ok = (*an)[AreaName(area)]
return ok
}
+
func (an *Areas) NotExists(area string) bool {
return !an.Exists(area)
}
@@ -103,6 +105,35 @@ func (an *Areas) GetEndPoint(area AreaName, endpoint EndPointName) EndPoint {
return ret
}
+func (an *Areas) RequestArgs(area AreaName, endpoint EndPointName) map[string]string {
+ var args map[string]string
+ for range Only.Once {
+ ep := an.GetEndPoint(area, endpoint)
+ if ep.IsError() {
+ break
+ }
+
+ args = ep.GetRequestArgNames()
+ }
+ return args
+}
+
+func (an *Areas) RequestRequiresArgs(area AreaName, endpoint EndPointName) bool {
+ var yes bool
+ for range Only.Once {
+ ep := an.GetEndPoint(area, endpoint)
+ if ep.IsError() {
+ break
+ }
+
+ req := ep.GetRequestJson()
+ if req.String() != "{}" {
+ yes = true
+ }
+ }
+ return yes
+}
+
func (an Areas) ListAreas() {
for range Only.Once {
fmt.Println("Listing all endpoint areas:")
diff --git a/iSolarCloud/api/struct_data.go b/iSolarCloud/api/struct_data.go
index bf27d1ece..326a54e8b 100644
--- a/iSolarCloud/api/struct_data.go
+++ b/iSolarCloud/api/struct_data.go
@@ -3,24 +3,26 @@ package api
import (
"GoSungrow/Only"
"GoSungrow/iSolarCloud/api/apiReflect"
+ "GoSungrow/iSolarCloud/api/output"
"GoSungrow/iSolarCloud/api/valueTypes"
"encoding/json"
"fmt"
datatable "go.pennock.tech/tabular/auto"
+ "sort"
"strings"
"time"
)
-const (
- UpdateFreqInstant = "instant"
- UpdateFreq5Mins = "5mins"
- UpdateFreqBoot = "boot"
- UpdateFreqDay = "daily"
- UpdateFreqMonth = "monthly"
- UpdateFreqYear = "yearly"
- UpdateFreqTotal = "total"
-)
+// const (
+// UpdateFreqInstant = "instant"
+// UpdateFreq5Mins = "5mins"
+// UpdateFreqBoot = "boot"
+// UpdateFreqDay = "daily"
+// UpdateFreqMonth = "monthly"
+// UpdateFreqYear = "yearly"
+// UpdateFreqTotal = "total"
+// )
type DataMap struct {
@@ -51,11 +53,6 @@ func (dm *DataMap) StructToPoints(ref interface{}, endpoint string, parentId str
continue
}
- // if strings.Contains(f.PointId, "p83095") || strings.Contains(f.PointId, "es_total_disenergy") {
- // fmt.Printf("F:%v\n", f)
- // fmt.Println("")
- // }
-
if f.PointName == "" {
f.PointName = valueTypes.PointToName(f.PointId)
}
@@ -74,22 +71,22 @@ func (dm *DataMap) StructToPoints(ref interface{}, endpoint string, parentId str
continue
}
- switch f.PointUpdateFreq {
- case "UpdateFreqInstant":
- f.PointUpdateFreq = UpdateFreqInstant
- case "UpdateFreq5Mins":
- f.PointUpdateFreq = UpdateFreq5Mins
- case "UpdateFreqBoot":
- f.PointUpdateFreq = UpdateFreqBoot
- case "UpdateFreqDay":
- f.PointUpdateFreq = UpdateFreqDay
- case "UpdateFreqMonth":
- f.PointUpdateFreq = UpdateFreqMonth
- case "UpdateFreqYear":
- f.PointUpdateFreq = UpdateFreqYear
- case "UpdateFreqTotal":
- f.PointUpdateFreq = UpdateFreqTotal
- }
+ // switch f.PointUpdateFreq {
+ // case "UpdateFreqInstant":
+ // f.PointUpdateFreq = UpdateFreqInstant
+ // case "UpdateFreq5Mins":
+ // f.PointUpdateFreq = UpdateFreq5Mins
+ // case "UpdateFreqBoot":
+ // f.PointUpdateFreq = UpdateFreqBoot
+ // case "UpdateFreqDay":
+ // f.PointUpdateFreq = UpdateFreqDay
+ // case "UpdateFreqMonth":
+ // f.PointUpdateFreq = UpdateFreqMonth
+ // case "UpdateFreqYear":
+ // f.PointUpdateFreq = UpdateFreqYear
+ // case "UpdateFreqTotal":
+ // f.PointUpdateFreq = UpdateFreqTotal
+ // }
var when valueTypes.DateTime
if !f.PointTimestamp.IsZero() {
@@ -281,30 +278,6 @@ func (dm *DataMap) AppendMap(add DataMap) {
func (dm *DataMap) Add(de DataEntry) {
for range Only.Once {
- // DataEntry {
- // Point: Point{
- // Parents: ParentDevices{},
- // Id: valueTypes.PointId{},
- // GroupName: "",
- // Name: "",
- // Unit: "",
- // UpdateFreq: "",
- // ValueType: "",
- // Valid: false,
- // States: nil,
- // },
- // Date: valueTypes.DateTime{},
- // EndPoint: "",
- // FullId: valueTypes.DataPoint{},
- // Parent: ParentDevice{},
- // Value: "",
- // ValueFloat: 0,
- // ValueBool: false,
- // Index: 0,
- // Valid: false,
- // Hide: false,
- // }
-
// fmt.Printf("DEBUG DataMap.Add() %s - Value(%s):'%s' Parent:'%s'\n", de.FullId(), de.Point.ValueType, de.Value, de.Parent)
endpoint := de.FullId()
de.Index = len(dm.Order)
@@ -373,6 +346,59 @@ func (dm *DataMap) Print() {
}
}
+func (dm *DataMap) Sort() []string {
+ var sorted []string
+
+ for range Only.Once {
+ for p := range dm.Map {
+ sorted = append(sorted, p)
+ }
+ sort.Strings(sorted)
+ }
+ return sorted
+}
+
+func (dm *DataMap) CreateTable() output.Table {
+ table := output.NewTable()
+
+ for range Only.Once {
+ for _, p := range dm.Sort() {
+ _ = table.SetHeader(
+ "Date",
+ "Point Id",
+ "Value",
+ "Unit",
+ "Unit Type",
+ "Group Name",
+ "Description",
+ "Update Freq",
+ )
+
+ entries := dm.Map[p].Entries
+ for _, de := range entries {
+ if de.Hide {
+ continue
+ }
+
+ _ = table.AddRow(
+ de.Date.Format(valueTypes.DateTimeLayout),
+ p,
+ de.Value,
+ de.Point.Unit,
+ de.Point.ValueType,
+ de.Point.GroupName,
+ de.Point.Description,
+ de.Point.UpdateFreq,
+ )
+ }
+ }
+ }
+
+ return table
+}
+
+
+
func GetPercent(value float64, max float64) float64 {
if max == 0 {
return 0
diff --git a/iSolarCloud/api/struct_endpoint.go b/iSolarCloud/api/struct_endpoint.go
index ac4f55b6a..e2644556e 100644
--- a/iSolarCloud/api/struct_endpoint.go
+++ b/iSolarCloud/api/struct_endpoint.go
@@ -2,6 +2,7 @@ package api
import (
"GoSungrow/Only"
+ "GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/output"
"encoding/json"
"errors"
@@ -116,6 +117,10 @@ func (ep EndPointStruct) ResponseAsJson(raw bool, r interface{}) output.Json {
return ret
}
+func (ep EndPointStruct) ApiGetRequestArgNames(req interface{}) map[string]string {
+ return apiReflect.GetStructFields(req)
+}
+
func MarshalJSON(endpoint EndPoint) ([]byte, error) {
e := endpoint.SetError("")
j, err := json.Marshal(&struct {
diff --git a/iSolarCloud/api/struct_point.go b/iSolarCloud/api/struct_point.go
index 10814d5bb..5e5386431 100644
--- a/iSolarCloud/api/struct_point.go
+++ b/iSolarCloud/api/struct_point.go
@@ -2,9 +2,9 @@ package api
import (
"GoSungrow/Only"
+ "GoSungrow/iSolarCloud/api/apiReflect"
"GoSungrow/iSolarCloud/api/valueTypes"
"fmt"
-
"strings"
"time"
)
@@ -123,35 +123,35 @@ func (p Point) String() string {
}
func (p Point) IsInstant() bool {
- if p.UpdateFreq == UpdateFreqInstant {
+ if p.UpdateFreq == apiReflect.UpdateFreqInstant {
return true
}
return false
}
func (p Point) IsDaily() bool {
- if p.UpdateFreq == UpdateFreqDay {
+ if p.UpdateFreq == apiReflect.UpdateFreqDay {
return true
}
return false
}
func (p Point) IsMonthly() bool {
- if p.UpdateFreq == UpdateFreqMonth {
+ if p.UpdateFreq == apiReflect.UpdateFreqMonth {
return true
}
return false
}
func (p Point) IsYearly() bool {
- if p.UpdateFreq == UpdateFreqYear {
+ if p.UpdateFreq == apiReflect.UpdateFreqYear {
return true
}
return false
}
func (p Point) IsTotal() bool {
- if p.UpdateFreq == UpdateFreqTotal {
+ if p.UpdateFreq == apiReflect.UpdateFreqTotal {
return true
}
return false
diff --git a/iSolarCloud/api/types.go b/iSolarCloud/api/types.go
index a01fc1254..c3b397023 100644
--- a/iSolarCloud/api/types.go
+++ b/iSolarCloud/api/types.go
@@ -2,84 +2,22 @@ package api
import (
"GoSungrow/iSolarCloud/api/output"
- "GoSungrow/iSolarCloud/api/valueTypes"
+ "fmt"
"github.com/MickMake/GoUnify/Only"
- "sort"
)
-// func UnitValueToPoint(endpoint string, t *valueTypes.UnitValue, parentId string, pid valueTypes.PointId, name string) *Point {
-// uv := t.UnitValueFix()
-//
-// if name == "" {
-// name = PointToName(pid)
-// }
-//
-// ret := GetPoint(parentId, pid)
-// if !ret.Valid {
-// ret = &Point {
-// // EndPoint: endpoint,
-// // FullId: "",
-// // Parent: ParentDevice{ Key: psId },
-// Id: pid,
-// GroupName: "",
-// Name: name,
-// Unit: uv.Unit(),
-// UpdateFreq: "PointUpdateFreqInstant",
-// Valid: true,
-// States: nil,
-// }
-// }
-//
-// return ret
-// }
-
-
func (e *Web) GetDataTable(endpoint EndPoint) output.Table {
var table output.Table
for range Only.Once {
table = output.NewTable()
- table.SetTitle("")
+ table.SetTitle(fmt.Sprintf("Data Request %s.%s", endpoint.GetArea(), endpoint.GetName()))
+ table.SetFilePrefix(fmt.Sprintf("%s_%s", endpoint.GetArea(), endpoint.GetName()))
table.SetJson([]byte(endpoint.GetJsonData(false)))
table.SetRaw([]byte(endpoint.GetJsonData(true)))
- _ = table.SetHeader(
- "Date",
- "Point Id",
- "Value",
- "Unit",
- "Unit Type",
- "Group Name",
- "Description",
- "Update Freq",
- )
-
data := endpoint.GetEndPointData()
- var sorted []string
- for p := range data.Map {
- sorted = append(sorted, string(p))
- }
- sort.Strings(sorted)
-
- for _, p := range sorted {
- entries := data.Map[p].Entries
- for _, de := range entries {
- if de.Hide {
- continue
- }
-
- _ = table.AddRow(
- de.Date.Format(valueTypes.DateTimeLayout),
- p,
- de.Value,
- de.Point.Unit,
- de.Point.ValueType,
- de.Point.GroupName,
- de.Point.Description,
- de.Point.UpdateFreq,
- )
- }
- }
+ table = data.CreateTable()
// table.InitGraph(output.GraphRequest {
// Title: "",
diff --git a/iSolarCloud/api/valueTypes/bool.go b/iSolarCloud/api/valueTypes/bool.go
index 7fec92bf7..167c298b3 100644
--- a/iSolarCloud/api/valueTypes/bool.go
+++ b/iSolarCloud/api/valueTypes/bool.go
@@ -11,11 +11,11 @@ type Bool struct {
string `json:"string,omitempty"`
bool `json:"bool,omitempty"`
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *Bool) UnmarshalJSON(data []byte) error {
- var err error
for range Only.Once {
t.Valid = false
@@ -26,49 +26,50 @@ func (t *Bool) UnmarshalJSON(data []byte) error {
var ret2 int64
// Store result from int
- err = json.Unmarshal(data, &ret2)
- if err == nil {
+ t.Error = json.Unmarshal(data, &ret2)
+ if t.Error == nil {
t.SetInteger(ret2)
break
}
var ret1 bool
// Store result from int
- err = json.Unmarshal(data, &ret1)
- if err == nil {
+ t.Error = json.Unmarshal(data, &ret1)
+ if t.Error == nil {
t.SetValue(ret1)
break
}
var ret3 string
// Store result from string
- err = json.Unmarshal(data, &ret3)
- if err == nil {
+ t.Error = json.Unmarshal(data, &ret3)
+ if t.Error == nil {
t.SetString(ret3)
break
}
+
+ t.SetString(string(data))
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t Bool) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.bool)
- if err != nil {
+ data, t.Error = json.Marshal(t.bool)
+ if t.Error != nil {
break
}
t.Valid = true
// t.string = strconv.FormatFloat(t.bool, 'f', -1, 64)
}
- return data, err
+ return data, t.Error
}
func (t Bool) Value() bool {
diff --git a/iSolarCloud/api/valueTypes/datapoint.go b/iSolarCloud/api/valueTypes/datapoint.go
index ffde48142..242a4e231 100644
--- a/iSolarCloud/api/valueTypes/datapoint.go
+++ b/iSolarCloud/api/valueTypes/datapoint.go
@@ -11,12 +11,11 @@ type DataPoint struct {
endPoint string `json:"end_point,omitempty"`
pointId PointId `json:"point_id,omitempty"`
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *DataPoint) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
t.Valid = false
@@ -26,32 +25,33 @@ func (t *DataPoint) UnmarshalJSON(data []byte) error {
var r string
// Store result from string
- err = json.Unmarshal(data, &r)
- if err == nil {
+ t.Error = json.Unmarshal(data, &r)
+ if t.Error == nil {
t.SetEndPoint(r)
break
}
+
+ t.SetEndPoint(string(data))
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t DataPoint) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.String())
- if err != nil {
+ data, t.Error = json.Marshal(t.String())
+ if t.Error != nil {
break
}
t.Valid = true
}
- return data, err
+ return data, t.Error
}
func (t DataPoint) EndPoint() string {
diff --git a/iSolarCloud/api/valueTypes/datetime.go b/iSolarCloud/api/valueTypes/datetime.go
index 890f9cb4f..cf0bbda95 100644
--- a/iSolarCloud/api/valueTypes/datetime.go
+++ b/iSolarCloud/api/valueTypes/datetime.go
@@ -2,6 +2,7 @@ package valueTypes
import (
"encoding/json"
+ "fmt"
"github.com/MickMake/GoUnify/Only"
"time"
)
@@ -49,50 +50,60 @@ type DateTime struct {
string `json:"string,omitempty"`
time.Time `json:"time,omitempty"`
DateType string
- Error error
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (dt *DateTime) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
if len(data) == 0 {
break
}
// Store result from string
- err = json.Unmarshal(data, &dt.string)
- if err == nil {
+ dt.Error = json.Unmarshal(data, &dt.string)
+ if dt.Error == nil {
dt = dt.SetString(dt.string)
break
}
// Store result from time
- err = json.Unmarshal(data, &dt.Time)
- if err == nil {
+ dt.Error = json.Unmarshal(data, &dt.Time)
+ if dt.Error == nil {
dt = dt.SetValue(dt.Time)
break
}
+
+ for _, f := range inputDateLayout {
+ dt.Time, dt.Error = time.Parse(f, string(data))
+ if dt.Error == nil {
+ dt.string = dt.Time.Format(DateTimeLayout)
+ dt.SetDateType(string(data))
+ break
+ }
+ }
+
+ if dt.Error != nil {
+ fmt.Printf("Error:UnmarshalJSON DateTime(%s) - %s\n", string(data), dt.Error)
+ }
}
- return err
+ return dt.Error
}
// MarshalJSON - Convert value to JSON
func (dt DateTime) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
- // data, err = json.Marshal(dt.string)
- // if err != nil {
+ // data, dt.Error = json.Marshal(dt.string)
+ // if dt.Error != nil {
// break
// }
data = []byte("\"" + dt.Time.Format(DateTimeLayout) + "\"")
}
- return data, err
+ return data, dt.Error
}
func (dt DateTime) Value() time.Time {
@@ -133,6 +144,10 @@ func (dt *DateTime) SetString(value string) *DateTime {
break
}
}
+
+ if dt.Error != nil {
+ fmt.Printf("Error:SetString DateTime(%s) - %s\n", value, dt.Error)
+ }
}
return dt
@@ -231,6 +246,10 @@ func NewDateTime(value string) DateTime {
break
}
}
+
+ if ret.Error != nil {
+ fmt.Printf("Error:NewDateTime DateTime(%s) - %s\n", value, ret.Error)
+ }
return ret
}
diff --git a/iSolarCloud/api/valueTypes/float.go b/iSolarCloud/api/valueTypes/float.go
index 5f7cba870..1b03fb3e5 100644
--- a/iSolarCloud/api/valueTypes/float.go
+++ b/iSolarCloud/api/valueTypes/float.go
@@ -11,12 +11,11 @@ type Float struct {
string `json:"string,omitempty"`
float64 `json:"float,omitempty"`
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *Float) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
t.Valid = false
@@ -25,40 +24,41 @@ func (t *Float) UnmarshalJSON(data []byte) error {
}
// Store result from int
- err = json.Unmarshal(data, &t.float64)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.float64)
+ if t.Error == nil {
t.SetValue(t.float64)
break
}
// Store result from string
- err = json.Unmarshal(data, &t.string)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.string)
+ if t.Error == nil {
t.SetString(t.string)
break
}
+
+ t.SetString(string(data))
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t Float) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.float64)
- if err != nil {
+ data, t.Error = json.Marshal(t.float64)
+ if t.Error != nil {
break
}
t.Valid = true
// t.string = strconv.FormatFloat(t.float64, 'f', -1, 64)
}
- return data, err
+ return data, t.Error
}
func (t Float) Value() float64 {
@@ -91,9 +91,8 @@ func (t *Float) SetString(value string) Float {
break
}
- var err error
- t.float64, err = strconv.ParseFloat(t.string, 64)
- if err == nil {
+ t.float64, t.Error = strconv.ParseFloat(t.string, 64)
+ if t.Error == nil {
break
}
t.Valid = true
diff --git a/iSolarCloud/api/valueTypes/integers.go b/iSolarCloud/api/valueTypes/integers.go
index ab95ad926..c1023b765 100644
--- a/iSolarCloud/api/valueTypes/integers.go
+++ b/iSolarCloud/api/valueTypes/integers.go
@@ -10,13 +10,12 @@ import (
type Integer struct {
string `json:"string,omitempty"`
int64 `json:"integer,omitempty"`
- Valid bool `json:"valid"`
+ Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *Integer) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
t.Valid = false
@@ -25,40 +24,40 @@ func (t *Integer) UnmarshalJSON(data []byte) error {
}
// Store result from int
- err = json.Unmarshal(data, &t.int64)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.int64)
+ if t.Error == nil {
t.SetValue(t.int64)
break
}
// Store result from string
- err = json.Unmarshal(data, &t.string)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.string)
+ if t.Error == nil {
t.SetString(t.string)
break
}
+
+ t.SetString(string(data))
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t Integer) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
-
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.int64)
- if err != nil {
+ data, t.Error = json.Marshal(t.int64)
+ if t.Error != nil {
break
}
t.Valid = true
// t.string = strconv.FormatInt(t.int64, 10)
}
- return data, err
+ return data, t.Error
}
func (t Integer) Value() int64 {
@@ -91,10 +90,9 @@ func (t *Integer) SetString(value string) Integer {
break
}
- var err error
var v int
- v, err = strconv.Atoi(t.string)
- if err != nil {
+ v, t.Error = strconv.Atoi(t.string)
+ if t.Error != nil {
break
}
t.int64 = int64(v)
@@ -130,12 +128,11 @@ type Count struct {
string `json:"string,omitempty"`
int64 `json:"integer,omitempty"`
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *Count) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
t.Valid = false
@@ -144,40 +141,39 @@ func (t *Count) UnmarshalJSON(data []byte) error {
}
// Store result from int
- err = json.Unmarshal(data, &t.int64)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.int64)
+ if t.Error == nil {
t.SetValue(t.int64)
break
}
// Store result from string
- err = json.Unmarshal(data, &t.string)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.string)
+ if t.Error == nil {
t.SetString(t.string)
break
}
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t Count) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.int64)
- if err != nil {
+ data, t.Error = json.Marshal(t.int64)
+ if t.Error != nil {
break
}
t.Valid = true
// t.string = strconv.FormatInt(t.int64, 10)
}
- return data, err
+ return data, t.Error
}
func (t Count) Value() int64 {
@@ -210,10 +206,9 @@ func (t *Count) SetString(value string) Count {
break
}
- var err error
var v int
- v, err = strconv.Atoi(t.string)
- if err != nil {
+ v, t.Error = strconv.Atoi(t.string)
+ if t.Error != nil {
break
}
t.int64 = int64(v)
diff --git a/iSolarCloud/api/valueTypes/point.go b/iSolarCloud/api/valueTypes/point.go
index d44fa4d2c..ac1bf35fb 100644
--- a/iSolarCloud/api/valueTypes/point.go
+++ b/iSolarCloud/api/valueTypes/point.go
@@ -14,12 +14,11 @@ type PointId struct {
int64 `json:"integer,omitempty"`
isInt bool
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *PointId) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
t.Valid = false
@@ -28,38 +27,39 @@ func (t *PointId) UnmarshalJSON(data []byte) error {
}
// Store result from int
- err = json.Unmarshal(data, &t.int64)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.int64)
+ if t.Error == nil {
t.SetValue(t.int64)
break
}
// Store result from string
- err = json.Unmarshal(data, &t.string)
- if err == nil {
+ t.Error = json.Unmarshal(data, &t.string)
+ if t.Error == nil {
t.SetString(t.string)
break
}
+
+ t.SetString(string(data))
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t PointId) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
if t.isInt {
- data, err = json.Marshal(t.int64)
+ data, t.Error = json.Marshal(t.int64)
break
}
- data, err = json.Marshal(t.string)
+ data, t.Error = json.Marshal(t.string)
}
- return data, err
+ return data, t.Error
}
func (t PointId) Value() int64 {
@@ -96,10 +96,9 @@ func (t *PointId) SetString(value string) PointId {
}
t.Valid = true
- var err error
var v int
- v, err = strconv.Atoi(t.string)
- if err != nil {
+ v, t.Error = strconv.Atoi(t.string)
+ if t.Error != nil {
break
}
t.int64 = int64(v)
@@ -125,8 +124,8 @@ func (t *PointId) SetValue(value int64) PointId {
func (t *PointId) Fix() PointId {
for range Only.Once {
p := strings.TrimPrefix(t.string, "p")
- _, err := strconv.ParseInt(p, 10, 64)
- if err != nil {
+ _, t.Error = strconv.ParseInt(p, 10, 64)
+ if t.Error != nil {
t.Valid = false
break
}
diff --git a/iSolarCloud/api/valueTypes/string.go b/iSolarCloud/api/valueTypes/string.go
index a1853654f..8b56f9955 100644
--- a/iSolarCloud/api/valueTypes/string.go
+++ b/iSolarCloud/api/valueTypes/string.go
@@ -9,11 +9,11 @@ import (
type String struct {
string `json:"string,omitempty"`
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *String) UnmarshalJSON(data []byte) error {
- var err error
for range Only.Once {
t.Valid = false
@@ -23,32 +23,31 @@ func (t *String) UnmarshalJSON(data []byte) error {
}
// Store result from string
- err = json.Unmarshal(data, &t.string)
- if err != nil {
+ t.Error = json.Unmarshal(data, &t.string)
+ if t.Error != nil {
break
}
t.SetString(t.string)
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t String) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.string)
- if err != nil {
+ data, t.Error = json.Marshal(t.string)
+ if t.Error != nil {
break
}
t.Valid = true
}
- return data, err
+ return data, t.Error
}
func (t String) Value() string {
@@ -93,11 +92,11 @@ func SetStringValue(value string) String {
type PsKey struct {
string `json:"string,omitempty"`
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
// UnmarshalJSON - Convert JSON to value
func (t *PsKey) UnmarshalJSON(data []byte) error {
- var err error
for range Only.Once {
t.Valid = false
@@ -107,32 +106,31 @@ func (t *PsKey) UnmarshalJSON(data []byte) error {
}
// Store result from string
- err = json.Unmarshal(data, &t.string)
- if err != nil {
+ t.Error = json.Unmarshal(data, &t.string)
+ if t.Error != nil {
break
}
t.SetPsKey(t.string)
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t PsKey) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
- data, err = json.Marshal(t.string)
- if err != nil {
+ data, t.Error = json.Marshal(t.string)
+ if t.Error != nil {
break
}
t.Valid = true
}
- return data, err
+ return data, t.Error
}
func (t PsKey) Value() string {
diff --git a/iSolarCloud/api/valueTypes/time.go b/iSolarCloud/api/valueTypes/time.go
index d30a04840..79cb69ad3 100644
--- a/iSolarCloud/api/valueTypes/time.go
+++ b/iSolarCloud/api/valueTypes/time.go
@@ -18,13 +18,11 @@ var inputTimeLayout = []string{
type Time struct {
string `json:"string,omitempty"`
time.Time `json:"time,omitempty"`
- Error error
+ Error error `json:"-"`
}
-
// UnmarshalJSON - Convert JSON to value
func (dt *Time) UnmarshalJSON(data []byte) error {
- var err error
for range Only.Once {
if len(data) == 0 {
@@ -32,37 +30,38 @@ func (dt *Time) UnmarshalJSON(data []byte) error {
}
// Store result from string
- err = json.Unmarshal(data, &dt.string)
- if err == nil {
+ dt.Error = json.Unmarshal(data, &dt.string)
+ if dt.Error == nil {
dt.SetString(dt.string)
break
}
// Store result from time
- err = json.Unmarshal(data, &dt.Time)
- if err == nil {
+ dt.Error = json.Unmarshal(data, &dt.Time)
+ if dt.Error == nil {
dt.SetValue(dt.Time)
break
}
+
+ dt.SetString(string(data))
}
- return err
+ return dt.Error
}
// MarshalJSON - Convert value to JSON
func (dt Time) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
- // data, err = json.Marshal(dt.string)
- // if err != nil {
+ // data, dt.Error = json.Marshal(dt.string)
+ // if dt.Error != nil {
// break
// }
data = []byte("\"" + dt.Time.Format(TimeLayout) + "\"")
}
- return data, err
+ return data, dt.Error
}
func (dt Time) Value() time.Time {
diff --git a/iSolarCloud/api/valueTypes/uv.go b/iSolarCloud/api/valueTypes/uv.go
index 29a504dc4..d4410d802 100644
--- a/iSolarCloud/api/valueTypes/uv.go
+++ b/iSolarCloud/api/valueTypes/uv.go
@@ -21,6 +21,7 @@ type UnitValue struct {
// isFloat bool
Valid bool `json:"valid"`
+ Error error `json:"-"`
}
var zero = int64(0)
@@ -41,8 +42,8 @@ func (t *UnitValue) UnitValueFix() UnitValue {
t.SetFloat(fv)
t.SetUnit("k" + t.UnitValue)
- // fv, err := strconv.ParseFloat(value, 64)
- // if err == nil {
+ // fv, dt.Error := strconv.ParseFloat(value, 64)
+ // if dt.Error == nil {
// fv = fv / 1000
// value, _ = DivideByThousand(value)
// UnitValue = "k" + UnitValue
@@ -54,8 +55,6 @@ func (t *UnitValue) UnitValueFix() UnitValue {
// UnmarshalJSON - Convert JSON to value
func (t *UnitValue) UnmarshalJSON(data []byte) error {
- var err error
-
for range Only.Once {
t.Valid = false
@@ -68,8 +67,8 @@ func (t *UnitValue) UnmarshalJSON(data []byte) error {
Value string `json:"value"`
}
// Store result from JSON string
- err = json.Unmarshal(data, &resString)
- if err == nil {
+ t.Error = json.Unmarshal(data, &resString)
+ if t.Error == nil {
t.SetString(resString.Value)
t.SetUnit(resString.Unit)
t.UnitValueFix()
@@ -81,8 +80,8 @@ func (t *UnitValue) UnmarshalJSON(data []byte) error {
Value int64 `json:"value"`
}
// Store result from JSON string
- err = json.Unmarshal(data, &resInteger)
- if err == nil {
+ t.Error = json.Unmarshal(data, &resInteger)
+ if t.Error == nil {
t.SetInteger(resInteger.Value)
t.SetUnit(resInteger.Unit)
t.UnitValueFix()
@@ -94,8 +93,8 @@ func (t *UnitValue) UnmarshalJSON(data []byte) error {
Value float64 `json:"value"`
}
// Store result from JSON string
- err = json.Unmarshal(data, &resFloat)
- if err == nil {
+ t.Error = json.Unmarshal(data, &resFloat)
+ if t.Error == nil {
t.SetFloat(resFloat.Value)
t.SetUnit(resFloat.Unit)
t.UnitValueFix()
@@ -103,27 +102,26 @@ func (t *UnitValue) UnmarshalJSON(data []byte) error {
}
}
- return err
+ return t.Error
}
// MarshalJSON - Convert value to JSON
func (t UnitValue) MarshalJSON() ([]byte, error) {
var data []byte
- var err error
for range Only.Once {
t.Valid = false
if t.float64 != nil {
// Store result to JSON string
- data, err = json.Marshal(&struct {
+ data, t.Error = json.Marshal(&struct {
Unit string `json:"unit"`
Value float64 `json:"value"`
}{
Unit: t.UnitValue,
Value: *t.float64,
})
- if err != nil {
+ if t.Error != nil {
break
}
@@ -133,28 +131,28 @@ func (t UnitValue) MarshalJSON() ([]byte, error) {
if t.int64 != nil {
// Store result to JSON string
- data, err = json.Marshal(&struct {
+ data, t.Error = json.Marshal(&struct {
Unit string `json:"unit"`
Value int64 `json:"value"`
}{
Unit: t.UnitValue,
Value: *t.int64,
})
- if err != nil {
+ if t.Error != nil {
break
}
}
if t.bool != nil {
// Store result to JSON string
- data, err = json.Marshal(&struct {
+ data, t.Error = json.Marshal(&struct {
Unit string `json:"unit"`
Value bool `json:"value"`
}{
Unit: t.UnitValue,
Value: *t.bool,
})
- if err != nil {
+ if t.Error != nil {
break
}
}
@@ -162,7 +160,7 @@ func (t UnitValue) MarshalJSON() ([]byte, error) {
t.Valid = true
}
- return data, err
+ return data, t.Error
}
func (t UnitValue) Value() float64 {
@@ -301,16 +299,18 @@ func (t *UnitValue) SetString(value string) UnitValue {
}
if strings.Contains(value, ".") {
- v, err := strconv.ParseFloat(t.StringValue, 64)
- if err != nil {
+ var v float64
+ v, t.Error = strconv.ParseFloat(t.StringValue, 64)
+ if t.Error != nil {
break
}
t.SetFloat(v)
break
}
- v, err := strconv.Atoi(t.StringValue)
- if err != nil {
+ var v int
+ v, t.Error = strconv.Atoi(t.StringValue)
+ if t.Error != nil {
break
}
t.SetInteger(int64(v))
diff --git a/iSolarCloud/data.go b/iSolarCloud/data.go
index 73f10e11f..1e3ff23ad 100644
--- a/iSolarCloud/data.go
+++ b/iSolarCloud/data.go
@@ -1,52 +1,35 @@
package iSolarCloud
import (
- "GoSungrow/iSolarCloud/AppService/findPsType"
- "GoSungrow/iSolarCloud/AppService/getAllDeviceByPsId"
- "GoSungrow/iSolarCloud/AppService/getDeviceList"
- "GoSungrow/iSolarCloud/AppService/getHouseholdStoragePsReport"
- "GoSungrow/iSolarCloud/AppService/getIncomeSettingInfos"
- "GoSungrow/iSolarCloud/AppService/getKpiInfo"
- "GoSungrow/iSolarCloud/AppService/getPowerChargeSettingInfo"
- "GoSungrow/iSolarCloud/AppService/getPowerStationBasicInfo"
- "GoSungrow/iSolarCloud/AppService/getPowerStationData"
- "GoSungrow/iSolarCloud/AppService/getPowerStationForHousehold"
- "GoSungrow/iSolarCloud/AppService/getPowerStationInfo"
- "GoSungrow/iSolarCloud/AppService/getPowerStatistics"
- "GoSungrow/iSolarCloud/AppService/getPsDetail"
- "GoSungrow/iSolarCloud/AppService/getPsDetailWithPsType"
- "GoSungrow/iSolarCloud/AppService/getPsHealthState"
- "GoSungrow/iSolarCloud/AppService/getPsList"
- "GoSungrow/iSolarCloud/AppService/getPsWeatherList"
- "GoSungrow/iSolarCloud/AppService/getRemoteUpgradeTaskList"
- "GoSungrow/iSolarCloud/AppService/getReportData"
- "GoSungrow/iSolarCloud/AppService/powerDevicePointList"
- "GoSungrow/iSolarCloud/AppService/psForcastInfo"
- "GoSungrow/iSolarCloud/AppService/queryDeviceInfo"
- "GoSungrow/iSolarCloud/AppService/queryDeviceList"
- "GoSungrow/iSolarCloud/AppService/queryDeviceListForApp"
- "GoSungrow/iSolarCloud/AppService/reportList"
+ "GoSungrow/iSolarCloud/AppService/energyTrend"
+ "GoSungrow/iSolarCloud/AppService/findCodeValueList"
+ "GoSungrow/iSolarCloud/AppService/getAllPsIdByOrgIds"
+ "GoSungrow/iSolarCloud/AppService/getAreaList"
+ "GoSungrow/iSolarCloud/WebAppService/queryFaultCodes"
+ "GoSungrow/iSolarCloud/WebAppService/queryNounList"
"GoSungrow/iSolarCloud/api"
"GoSungrow/iSolarCloud/api/output"
"GoSungrow/iSolarCloud/api/valueTypes"
+ "encoding/json"
"errors"
"fmt"
"github.com/MickMake/GoUnify/Only"
+ "strings"
)
// ****************************************************** //
-func (sg *SunGrow) GetEndpoints(endpoints []string, psIds []valueTypes.Integer, date valueTypes.DateTime, reportType string) error {
+func (sg *SunGrow) GetEndpoints(endpoints []string, psIds []valueTypes.Integer, date valueTypes.DateTime, reportType string, faultTypeCode string) error {
for range Only.Once {
var data SunGrowData
data.New(sg)
if len(endpoints) == 0 {
- fmt.Println("Available endpoints with this command:")
+ fmt.Println("Additional commands available, (on top of endpoints):")
for _, ep := range data.GetAllEndPoints() {
fmt.Printf("\t%s\n", ep)
}
- sg.Error = errors.New("need an endpoint, (or 'all')")
+ sg.Error = errors.New("need an endpoint, (or command alias)")
break
}
@@ -64,40 +47,102 @@ func (sg *SunGrow) GetEndpoints(endpoints []string, psIds []valueTypes.Integer,
if date.IsZero() {
date = valueTypes.NewDateTime(valueTypes.Now)
}
- // fmt.Printf("FilePrefix: %s\n", date.Original())
- // fmt.Printf("String: %s\n", date.String())
-
for _, endpoint := range endpoints {
- _, ok := data.Exists(endpoint)
- if !ok {
- sg.Error = errors.New(fmt.Sprintf("EndPoint '%s' does not exist.", endpoint))
- break
- }
-
- if !data.HasArgs(endpoint) {
- response := data.Get(endpoint, SunGrowDataRequest{ })
+ args := sg.RequestArgs(endpoint)
+ fmt.Printf("args:%s\n", args)
+ if len(args) == 0 {
+ // We don't have any request args.
+ req := SunGrowDataRequest {}
+ response := data.GetByApi(endpoint, req)
if response.Error != nil {
+ sg.Error = response.Error
+ break
+ }
+ if data.Error != nil {
+ sg.Error = data.Error
break
}
- // response.Table.SetGraphFilter("")
sg.Error = response.Table.Output()
if sg.Error != nil {
break
}
+
continue
}
- for _, psId := range psIds {
- response := data.Get(endpoint, SunGrowDataRequest{ PsId: psId, Date: date, ReportType: reportType })
+ if _, ok := args["PsId"]; !ok {
+ // If we don't need a PsId
+ req := SunGrowDataRequest {
+ Date: date,
+ ReportType: reportType,
+ FaultTypeCode: faultTypeCode,
+ }
+ response := data.GetByApi(endpoint, req)
if response.Error != nil {
+ sg.Error = response.Error
+ break
+ }
+ if data.Error != nil {
+ sg.Error = data.Error
break
}
- // response.Table.SetGraphFilter("")
sg.Error = response.Table.Output()
if sg.Error != nil {
break
}
+
+ continue
+ }
+
+ if _, ok := args["PsId"]; ok {
+ var finalData api.DataMap
+ finalFilename := endpoint + "_"
+
+ for _, psId := range psIds {
+ finalFilename += psId.String() + "-"
+
+ req := SunGrowDataRequest {
+ PsId: psId,
+ Date: date,
+ ReportType: reportType,
+ FaultTypeCode: faultTypeCode,
+ }
+
+ // if data.HasArgs(endpoint) {
+ // }
+ // _, ok := data.FuncExists(endpoint)
+ // if ok {
+ // response = data.GetByFunc(endpoint, req)
+ // } else {
+ // data.Error = nil
+ // response = data.GetByApi(endpoint, req)
+ // }
+ response := data.GetByApi(endpoint, req)
+ if response.Error != nil {
+ sg.Error = response.Error
+ break
+ }
+ if data.Error != nil {
+ sg.Error = data.Error
+ break
+ }
+
+ finalData.AppendMap(response.Data)
+ }
+
+ finalTable := finalData.CreateTable()
+ // response.Table.SetTitle(response.Title)
+ finalFilename = strings.TrimSuffix(finalFilename, "-")
+ finalTable.SetFilePrefix(finalFilename)
+ finalTable.SetGraphFilter("")
+ finalTable.SetSaveFile(sg.SaveAsFile)
+ finalTable.OutputType = sg.OutputType
+
+ sg.Error = finalTable.Output()
+ if sg.Error != nil {
+ break
+ }
}
}
}
@@ -105,6 +150,7 @@ func (sg *SunGrow) GetEndpoints(endpoints []string, psIds []valueTypes.Integer,
return sg.Error
}
+
type SunGrowData struct {
EndPoint string
EndPoints EndPoints
@@ -120,9 +166,10 @@ type EndPoint struct {
type SunGrowDataFunction func(request SunGrowDataRequest) SunGrowDataResponse
type SunGrowDataRequest struct {
- PsId valueTypes.Integer `json:"ps_id"`
- ReportType string `json:"report_type"`
- Date valueTypes.DateTime `json:"date"`
+ PsId valueTypes.Integer `json:"ps_id,omitempty"`
+ ReportType string `json:"report_type,omitempty"`
+ Date valueTypes.DateTime `json:"date,omitempty"`
+ FaultTypeCode string `json:"fault_type_code,omitempty"`
}
type SunGrowDataResponse struct {
Data api.DataMap
@@ -133,18 +180,65 @@ type SunGrowDataResponse struct {
}
-func (sg *SunGrowData) GetAllEndPoints() []string {
+func (sgd *SunGrowData) New(ref *SunGrow) {
+ for range Only.Once {
+ sgd.SunGrow = ref
+ sgd.EndPoints = make(EndPoints)
+ // sgd.EndPoints["getPsList"] = EndPoint { Func: sgd.getPsList, HasArgs: false }
+ // sgd.EndPoints["queryDeviceList"] = EndPoint { Func: sgd.queryDeviceList, HasArgs: true }
+ // sgd.EndPoints["queryDeviceInfo"] = EndPoint { Func: sgd.queryDeviceInfo, HasArgs: true }
+ // sgd.EndPoints["queryDeviceListForApp"] = EndPoint { Func: sgd.queryDeviceListForApp, HasArgs: true }
+ // sgd.EndPoints["getPsDetailWithPsType"] = EndPoint { Func: sgd.getPsDetailWithPsType, HasArgs: true }
+ // sgd.EndPoints["getPsDetail"] = EndPoint { Func: sgd.getPsDetail, HasArgs: true }
+ // sgd.EndPoints["findPsType"] = EndPoint { Func: sgd.findPsType, HasArgs: true }
+ // // sg.EndPoints["getAllDeviceByPsId"] = EndPoint { Func: sg.getAllDeviceByPsId, HasArgs: false } // Not working
+ // sgd.EndPoints["getDeviceList"] = EndPoint { Func: sgd.getDeviceList, HasArgs: true }
+ // sgd.EndPoints["getIncomeSettingInfos"] = EndPoint { Func: sgd.getIncomeSettingInfos, HasArgs: true }
+ // sgd.EndPoints["getKpiInfo"] = EndPoint { Func: sgd.getKpiInfo, HasArgs: false }
+ // sgd.EndPoints["getPowerChargeSettingInfo"] = EndPoint { Func: sgd.getPowerChargeSettingInfo, HasArgs: true }
+ // sgd.EndPoints["getHouseholdStoragePsReport"] = EndPoint { Func: sgd.getHouseholdStoragePsReport, HasArgs: true }
+ // // sg.EndPoints["getPowerStationBasicInfo"] = EndPoint { Func: sg.getPowerStationBasicInfo, HasArgs: true } // Not working
+ // sgd.EndPoints["getPowerStationData"] = EndPoint { Func: sgd.getPowerStationData, HasArgs: true }
+ // sgd.EndPoints["getPowerStationForHousehold"] = EndPoint { Func: sgd.getPowerStationForHousehold, HasArgs: true }
+ // sgd.EndPoints["getPowerStationInfo"] = EndPoint { Func: sgd.getPowerStationInfo, HasArgs: true }
+ // sgd.EndPoints["getPowerStatistics"] = EndPoint { Func: sgd.getPowerStatistics, HasArgs: true }
+ // sgd.EndPoints["getPsHealthState"] = EndPoint { Func: sgd.getPsHealthState, HasArgs: true }
+ // sgd.EndPoints["powerDevicePointList"] = EndPoint { Func: sgd.powerDevicePointList, HasArgs: false }
+ // sgd.EndPoints["getPsWeatherList"] = EndPoint { Func: sgd.getPsWeatherList, HasArgs: true }
+ // sgd.EndPoints["getRemoteUpgradeTaskList"] = EndPoint { Func: sgd.getRemoteUpgradeTaskList, HasArgs: false } // Not working
+ // sgd.EndPoints["reportList"] = EndPoint { Func: sgd.reportList, HasArgs: true }
+ // sgd.EndPoints["getReportData"] = EndPoint { Func: sgd.getReportData, HasArgs: true }
+ // sgd.EndPoints["psForcastInfo"] = EndPoint { Func: sgd.psForcastInfo, HasArgs: true }
+ // sgd.EndPoints["queryPowerStationInfo"] = EndPoint { Func: sgd.queryPowerStationInfo, HasArgs: true }
+ // sgd.EndPoints["getPsIdState"] = EndPoint { Func: sgd.getPsIdState, HasArgs: true }
+ // sgd.EndPoints["queryPsProfit"] = EndPoint { Func: sgd.queryPsProfit, HasArgs: true }
+ // sgd.EndPoints["queryAllPsIdAndName"] = EndPoint { Func: sgd.queryAllPsIdAndName, HasArgs: false }
+ // sgd.EndPoints["queryPsIdList"] = EndPoint { Func: sgd.queryPsIdList, HasArgs: false }
+ // sgd.EndPoints["queryPsNameByPsId"] = EndPoint { Func: sgd.queryPsNameByPsId, HasArgs: true }
+ // sgd.EndPoints["showPSView"] = EndPoint { Func: sgd.showPSView, HasArgs: true }
+ // sgd.EndPoints["getMaxDeviceIdByPsId"] = EndPoint { Func: sgd.getMaxDeviceIdByPsId, HasArgs: true }
+
+ sgd.EndPoints["energyTrend"] = EndPoint { Func: sgd.energyTrend, HasArgs: false }
+ sgd.EndPoints["getAreaList"] = EndPoint { Func: sgd.getAreaList, HasArgs: false }
+ sgd.EndPoints["getAllPsIdByOrgIds"] = EndPoint { Func: sgd.getAllPsIdByOrgIds, HasArgs: false }
+ sgd.EndPoints["findCodeValueList"] = EndPoint { Func: sgd.findCodeValueList, HasArgs: false }
+ sgd.EndPoints["queryFaultCodes"] = EndPoint { Func: sgd.queryFaultCodes, HasArgs: false }
+ sgd.EndPoints["queryNounList"] = EndPoint { Func: sgd.queryNounList, HasArgs: false }
+ }
+}
+
+func (sgd *SunGrowData) GetAllEndPoints() []string {
var ret []string
- for ep := range sg.EndPoints {
+ for ep := range sgd.EndPoints {
ret = append(ret, ep)
}
return ret
}
-func (sg *SunGrowData) Get(endpoint string, request SunGrowDataRequest) SunGrowDataResponse {
+func (sgd *SunGrowData) GetByFunc(endpoint string, request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- dataEndPoint, ok := sg.Exists(endpoint)
+ dataEndPoint, ok := sgd.FuncExists(endpoint)
if !ok {
break
}
@@ -153,7 +247,7 @@ func (sg *SunGrowData) Get(endpoint string, request SunGrowDataRequest) SunGrowD
if response.Error != nil {
break
}
- if sg.Error != nil {
+ if sgd.Error != nil {
break
}
@@ -166,855 +260,434 @@ func (sg *SunGrowData) Get(endpoint string, request SunGrowDataRequest) SunGrowD
response.Table.SetTitle(response.Title)
response.Table.SetFilePrefix(response.Filename)
response.Table.SetGraphFilter("")
- response.Table.SetSaveFile(sg.SunGrow.SaveAsFile)
- response.Table.OutputType = sg.SunGrow.OutputType
- }
- return response
-}
-
-func (sg *SunGrowData) Exists(endpoint string) (EndPoint, bool) {
- var dataFunc EndPoint
- var yes bool
- for range Only.Once {
- if dataFunc, yes = sg.EndPoints[endpoint]; yes {
- yes = true
- break
- }
- sg.Error = errors.New(fmt.Sprintf("unknown endpoint function '%s'", endpoint))
- }
- return dataFunc, yes
-}
-
-func (sg *SunGrowData) HasArgs(endpoint string) bool {
- var yes bool
- for range Only.Once {
- dataEndPoint, ok := sg.Exists(endpoint)
- if !ok {
- break
- }
- yes = dataEndPoint.HasArgs
- }
- return yes
-}
-
-
-func (sg *SunGrowData) New(ref *SunGrow) {
- for range Only.Once {
- sg.SunGrow = ref
- sg.EndPoints = make(EndPoints)
- sg.EndPoints["getPsList"] = EndPoint { Func: sg.getPsList, HasArgs: false }
- sg.EndPoints["queryDeviceList"] = EndPoint { Func: sg.queryDeviceList, HasArgs: true }
- sg.EndPoints["queryDeviceInfo"] = EndPoint { Func: sg.queryDeviceInfo, HasArgs: true }
- sg.EndPoints["queryDeviceListForApp"] = EndPoint { Func: sg.queryDeviceListForApp, HasArgs: true }
- sg.EndPoints["getPsDetailWithPsType"] = EndPoint { Func: sg.getPsDetailWithPsType, HasArgs: true }
- sg.EndPoints["getPsDetail"] = EndPoint { Func: sg.getPsDetail, HasArgs: true }
- sg.EndPoints["findPsType"] = EndPoint { Func: sg.findPsType, HasArgs: true }
- // sg.EndPoints["getAllDeviceByPsId"] = EndPoint { Func: sg.getAllDeviceByPsId, HasArgs: false } // Not working
- sg.EndPoints["getDeviceList"] = EndPoint { Func: sg.getDeviceList, HasArgs: true }
- sg.EndPoints["getIncomeSettingInfos"] = EndPoint { Func: sg.getIncomeSettingInfos, HasArgs: true }
- sg.EndPoints["getKpiInfo"] = EndPoint { Func: sg.getKpiInfo, HasArgs: false }
- sg.EndPoints["getPowerChargeSettingInfo"] = EndPoint { Func: sg.getPowerChargeSettingInfo, HasArgs: true }
- sg.EndPoints["getHouseholdStoragePsReport"] = EndPoint { Func: sg.getHouseholdStoragePsReport, HasArgs: true }
- // sg.EndPoints["getPowerStationBasicInfo"] = EndPoint { Func: sg.getPowerStationBasicInfo, HasArgs: true } // Not working
- sg.EndPoints["getPowerStationData"] = EndPoint { Func: sg.getPowerStationData, HasArgs: true }
- sg.EndPoints["getPowerStationForHousehold"] = EndPoint { Func: sg.getPowerStationForHousehold, HasArgs: true }
- sg.EndPoints["getPowerStationInfo"] = EndPoint { Func: sg.getPowerStationInfo, HasArgs: true }
- sg.EndPoints["getPowerStatistics"] = EndPoint { Func: sg.getPowerStatistics, HasArgs: true }
- sg.EndPoints["getPsHealthState"] = EndPoint { Func: sg.getPsHealthState, HasArgs: true }
- sg.EndPoints["powerDevicePointList"] = EndPoint { Func: sg.powerDevicePointList, HasArgs: false }
-
- sg.EndPoints["getPsWeatherList"] = EndPoint { Func: sg.getPsWeatherList, HasArgs: true }
- sg.EndPoints["getRemoteUpgradeTaskList"] = EndPoint { Func: sg.getRemoteUpgradeTaskList, HasArgs: false } // Not working
- sg.EndPoints["reportList"] = EndPoint { Func: sg.reportList, HasArgs: true }
- sg.EndPoints["getReportData"] = EndPoint { Func: sg.getReportData, HasArgs: true }
- sg.EndPoints["psForcastInfo"] = EndPoint { Func: sg.psForcastInfo, HasArgs: true }
- }
-}
-
-// getPowerStationInfo - Contains state decoding.
-
-func (sg *SunGrowData) getPsList(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPsList",
- getPsList.RequestData{ },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getPsList.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getPsList-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) queryDeviceList(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.queryDeviceList",
- queryDeviceList.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := queryDeviceList.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("queryDeviceList-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-// @TODO - api get queryDeviceInfo '{"device_sn":"B2281302388","uuid":1179879}'
-func (sg *SunGrowData) queryDeviceInfo(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.queryDeviceInfo",
- queryDeviceInfo.RequestData{ Uuid: "1179877", DeviceSn: "B2281302388" },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := queryDeviceInfo.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("queryDeviceInfo-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) queryDeviceListForApp(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.queryDeviceListForApp",
- queryDeviceListForApp.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := queryDeviceListForApp.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("queryDeviceListForApp-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getPsDetailWithPsType(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPsDetailWithPsType",
- getPsDetailWithPsType.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getPsDetailWithPsType.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getPsDetailWithPsType-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getPsDetail(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPsDetail",
- getPsDetail.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getPsDetail.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getPsDetail-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) findPsType(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.findPsType",
- findPsType.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := findPsType.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("findPsType-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-// @TODO -
-func (sg *SunGrowData) getAllDeviceByPsId(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getAllDeviceByPsId",
- getAllDeviceByPsId.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getAllDeviceByPsId.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getAllDeviceByPsId-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getDeviceList(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getDeviceList",
- getDeviceList.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getDeviceList.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getDeviceList-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getIncomeSettingInfos(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getIncomeSettingInfos",
- getIncomeSettingInfos.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getIncomeSettingInfos.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getIncomeSettingInfos-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getKpiInfo(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getKpiInfo",
- getKpiInfo.RequestData{ },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getKpiInfo.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getKpiInfo-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
+ response.Table.SetSaveFile(sgd.SunGrow.SaveAsFile)
+ response.Table.OutputType = sgd.SunGrow.OutputType
}
return response
}
-func (sg *SunGrowData) getPowerChargeSettingInfo(request SunGrowDataRequest) SunGrowDataResponse {
+func (sgd *SunGrowData) GetByApi(endpoint string, request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
+ response.Table = output.NewTable()
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPowerChargeSettingInfo",
- getPowerChargeSettingInfo.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
+ req, err := json.Marshal(request)
+ if err != nil {
+ fmt.Printf("GetByApi - ERR: %s\n", err)
}
- data := getPowerChargeSettingInfo.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
+ data := sgd.SunGrow.GetByJson(endpoint, string(req))
+ if data.IsError() {
+ sgd.Error = data.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("getPowerChargeSettingInfo-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getHouseholdStoragePsReport(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- // fmt.Println(request.Date.Original())
- // {"date_id":"20221001","date_type":"1","ps_id":"1129147"}
- ep := sg.SunGrow.GetByStruct(
- "AppService.getHouseholdStoragePsReport",
- getHouseholdStoragePsReport.RequestData{ PsId: request.PsId, DateType: request.Date.DateType, DateID: request.Date.Original() },
- api.DefaultTimeout,
- )
- if ep.IsError() {
- response.Error = ep.GetError()
- break
- }
-
- data := getHouseholdStoragePsReport.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
+ fn := ""
+ if request.PsId.String() != "" {
+ fn += "-" + request.PsId.String()
}
-
- response.Filename = data.SetFilenamePrefix("getHouseholdStoragePsReport-%d-%s", request.PsId, request.Date.Original())
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-// @TODO - Not working
-func (sg *SunGrowData) getPowerStationBasicInfo(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPowerStationBasicInfo",
- getPowerStationBasicInfo.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
-
- data := getPowerStationBasicInfo.Assert(ep)
- if data.Error != nil {
- response.Error = data.Error
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getPowerStationBasicInfo-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-// @TODO - Add in the ability to increment values by 5 minutes.
-// Return from this function is an array of 288 values.
-func (sg *SunGrowData) getPowerStationData(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPowerStationData",
- getPowerStationData.RequestData{ PsId: request.PsId, DateType: request.Date.DateType, DateID: request.Date.Original() },
- api.DefaultTimeout,
- )
-
- data := getPowerStationData.Assert(ep)
- if data.Error != nil {
- response.Error = ep.GetError()
- break
+ if !request.Date.IsZero() {
+ fn += "-" + request.Date.Original()
}
-
- response.Filename = data.SetFilenamePrefix("getPowerStationData-%d-%s", request.PsId, request.Date.Original())
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-func (sg *SunGrowData) getPowerStationForHousehold(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPowerStationForHousehold",
- getPowerStationForHousehold.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
-
- data := getPowerStationForHousehold.Assert(ep)
- if data.Error != nil {
- response.Error = ep.GetError()
- break
+ response.Filename = data.SetFilenamePrefix(fn)
+ if response.Title == "" {
+ response.Title = fmt.Sprintf("Data Request %s", endpoint)
}
- response.Filename = data.SetFilenamePrefix("getPowerStationForHousehold-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
+ // response.Table.SetTitle(response.Title)
+ response.Table.SetFilePrefix(response.Filename)
+ response.Table.SetGraphFilter("")
+ response.Table.SetSaveFile(sgd.SunGrow.SaveAsFile)
+ response.Table.OutputType = sgd.SunGrow.OutputType
}
return response
}
-// @TODO - Figure out how to properly flatten some of these "two field" arrays.
-func (sg *SunGrowData) getPowerStationInfo(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
+func (sgd *SunGrowData) FuncExists(endpoint string) (EndPoint, bool) {
+ var dataFunc EndPoint
+ var yes bool
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPowerStationInfo",
- getPowerStationInfo.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
-
- data := getPowerStationInfo.Assert(ep)
- if data.Error != nil {
- response.Error = ep.GetError()
+ if dataFunc, yes = sgd.EndPoints[endpoint]; yes {
+ yes = true
break
}
-
- response.Filename = data.SetFilenamePrefix("getPowerStationInfo-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
+ sgd.Error = errors.New(fmt.Sprintf("unknown endpoint function '%s'", endpoint))
}
- return response
+ return dataFunc, yes
}
-func (sg *SunGrowData) getPowerStatistics(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
+func (sgd *SunGrowData) HasArgs(endpoint string) bool {
+ var yes bool
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPowerStatistics",
- getPowerStatistics.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
-
- data := getPowerStatistics.Assert(ep)
- if data.Error != nil {
- response.Error = ep.GetError()
+ dataEndPoint, ok := sgd.FuncExists(endpoint)
+ if ok {
+ yes = dataEndPoint.HasArgs
break
}
- response.Filename = data.SetFilenamePrefix("getPowerStatistics-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
+ ok = sgd.SunGrow.RequestRequiresArgs(endpoint)
}
- return response
+ return yes
}
-func (sg *SunGrowData) getPsHealthState(request SunGrowDataRequest) SunGrowDataResponse {
- var response SunGrowDataResponse
- for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPsHealthState",
- getPsHealthState.RequestData{ PsId: request.PsId },
- api.DefaultTimeout,
- )
- data := getPsHealthState.Assert(ep)
- if data.Error != nil {
- response.Error = ep.GetError()
- break
- }
-
- response.Filename = data.SetFilenamePrefix("getPsHealthState-%d", request.PsId)
- response.Data = data.GetEndPointData()
- response.Table = data.GetEndPointDataTable()
- }
- return response
-}
-
-// @TODO - Figure out how to properly flatten some of these "two field" arrays.
-func (sg *SunGrowData) powerDevicePointList(request SunGrowDataRequest) SunGrowDataResponse {
+func (sgd *SunGrowData) energyTrend(request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.powerDevicePointList",
- powerDevicePointList.RequestData{ },
+ ep := sgd.SunGrow.GetByStruct(
+ "AppService.energyTrend",
+ // energyTrend.RequestData{ PsId: request.PsId },
+ energyTrend.RequestData{ },
api.DefaultTimeout,
)
- data := powerDevicePointList.Assert(ep)
+ data := energyTrend.Assert(ep)
if data.Error != nil {
response.Error = ep.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("powerDevicePointList-%d", request.PsId)
+ response.Filename = data.SetFilenamePrefix("energyTrend-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
}
return response
}
-func (sg *SunGrowData) getPsWeatherList(request SunGrowDataRequest) SunGrowDataResponse {
+func (sgd *SunGrowData) getAreaList(request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getPsWeatherList",
- getPsWeatherList.RequestData{ PsId: request.PsId },
+ ep := sgd.SunGrow.GetByStruct(
+ "AppService.getAreaList",
+ // energyTrend.RequestData{ PsId: request.PsId },
+ getAreaList.RequestData{ },
api.DefaultTimeout,
)
- data := getPsWeatherList.Assert(ep)
+ data := getAreaList.Assert(ep)
if data.Error != nil {
response.Error = ep.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("getPsWeatherList-%d", request.PsId)
+ response.Filename = data.SetFilenamePrefix("getAreaList-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
}
return response
}
-// @TODO - Not working
-func (sg *SunGrowData) getRemoteUpgradeTaskList(request SunGrowDataRequest) SunGrowDataResponse {
+// @TODO - Need to add OrgIds
+// @TODO - Need to support []string in ResultData
+func (sgd *SunGrowData) getAllPsIdByOrgIds(request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getRemoteUpgradeTaskList",
- getRemoteUpgradeTaskList.RequestData{ PsIdList: "1171348,1121412"}, // PsId: request.PsId },
+ ep := sgd.SunGrow.GetByStruct(
+ "AppService.getAllPsIdByOrgIds",
+ // getAllPsIdByOrgIds.RequestData{ PsId: request.PsId },
+ getAllPsIdByOrgIds.RequestData{ OrgIds: valueTypes.SetStringValue("362245") },
api.DefaultTimeout,
)
- data := getRemoteUpgradeTaskList.Assert(ep)
+ data := getAllPsIdByOrgIds.Assert(ep)
if data.Error != nil {
response.Error = ep.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("getRemoteUpgradeTaskList-%d", request.PsId)
+ response.Filename = data.SetFilenamePrefix("getAllPsIdByOrgIds-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
}
return response
}
-func (sg *SunGrowData) reportList(request SunGrowDataRequest) SunGrowDataResponse {
+// @TODO - No data.
+func (sgd *SunGrowData) findCodeValueList(request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.reportList",
- reportList.RequestData{ PsId: request.PsId, ReportType: request.ReportType },
+ ep := sgd.SunGrow.GetByStruct(
+ "AppService.findCodeValueList",
+ // findCodeValueList.RequestData{ PsId: request.PsId },
+ findCodeValueList.RequestData{ CodeType: "1" },
api.DefaultTimeout,
)
- data := reportList.Assert(ep)
+ data := findCodeValueList.Assert(ep)
if data.Error != nil {
response.Error = ep.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("reportList-%d", request.PsId)
+ response.Filename = data.SetFilenamePrefix("findCodeValueList-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
}
return response
}
-func (sg *SunGrowData) getReportData(request SunGrowDataRequest) SunGrowDataResponse {
+// @TODO - No data.
+func (sgd *SunGrowData) queryFaultCodes(request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.getReportData",
- getReportData.RequestData{ PsId: request.PsId, ReportType: request.ReportType },
+ ep := sgd.SunGrow.GetByStruct(
+ "WebAppService.queryFaultCodes",
+ // queryFaultCodes.RequestData{ PsId: request.PsId },
+ queryFaultCodes.RequestData{ FaultName: "417" },
api.DefaultTimeout,
)
- data := getReportData.Assert(ep)
+ data := queryFaultCodes.Assert(ep)
if data.Error != nil {
response.Error = ep.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("getReportData-%d", request.PsId)
+ response.Filename = data.SetFilenamePrefix("queryFaultCodes-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
}
return response
}
-func (sg *SunGrowData) psForcastInfo(request SunGrowDataRequest) SunGrowDataResponse {
+func (sgd *SunGrowData) queryNounList(request SunGrowDataRequest) SunGrowDataResponse {
var response SunGrowDataResponse
for range Only.Once {
- ep := sg.SunGrow.GetByStruct(
- "AppService.psForcastInfo",
- psForcastInfo.RequestData{ PsId: request.PsId },
+ ep := sgd.SunGrow.GetByStruct(
+ "WebAppService.queryNounList",
+ queryNounList.RequestData{ FaultTypeCode: "718" },
+ // queryNounList.RequestData{ },
api.DefaultTimeout,
)
- data := psForcastInfo.Assert(ep)
+ data := queryNounList.Assert(ep)
if data.Error != nil {
response.Error = ep.GetError()
break
}
- response.Filename = data.SetFilenamePrefix("psForcastInfo-%d", request.PsId)
+ response.Filename = data.SetFilenamePrefix("queryNounList-%d", request.PsId)
response.Data = data.GetEndPointData()
response.Table = data.GetEndPointDataTable()
}
return response
}
-// func (sg *SunGrowData) queryAllPsIdAndName(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) getChnnlListByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sg.SunGrow.GetByStruct(
+// "WebIscmAppService.getChnnlListByPsId",
+// getChnnlListByPsId.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getChnnlListByPsId.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getChnnlListByPsId-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+//
+// func (sg *SunGrowData) getDevInstalledPowerByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sg.SunGrow.GetByStruct(
+// "WebIscmAppService.getDevInstalledPowerByPsId",
+// getDevInstalledPowerByPsId.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getDevInstalledPowerByPsId.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getDevInstalledPowerByPsId-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+//
+// func (sg *SunGrowData) getPsIdByUserId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.queryAllPsIdAndName",
-// queryAllPsIdAndName.RequestData{ },
+// "WebIscmAppService.getPsIdByUserId",
+// getPsIdByUserId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := queryAllPsIdAndName.Assert(ep)
+// data := getPsIdByUserId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("queryAllPsIdAndName-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("getPsIdByUserId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) queryPsIdList(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) getPsInfoWithJoinGridByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.queryPsIdList",
-// queryPsIdList.RequestData{ },
+// "WebIscmAppService.getPsInfoWithJoinGridByPsId",
+// getPsInfoWithJoinGridByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := queryPsIdList.Assert(ep)
+// data := getPsInfoWithJoinGridByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("queryPsIdList-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("getPsInfoWithJoinGridByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) queryPsNameByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) getPsInstallerByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.queryPsNameByPsId",
-// queryPsNameByPsId.RequestData{ },
+// "WebIscmAppService.getPsInstallerByPsId",
+// getPsInstallerByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := queryPsNameByPsId.Assert(ep)
+// data := getPsInstallerByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("queryPsNameByPsId-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("getPsInstallerByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) queryPowerStationInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) getPsInstallerOrgInfoByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.queryPowerStationInfo",
-// queryPowerStationInfo.RequestData{ PsId: request.PsId },
+// "WebIscmAppService.getPsInstallerOrgInfoByPsId",
+// getPsInstallerOrgInfoByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := queryPowerStationInfo.Assert(ep)
+// data := getPsInstallerOrgInfoByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("queryPowerStationInfo-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("getPsInstallerOrgInfoByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) queryPsProfit(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) getPsKpiForHoursByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.queryPsProfit",
-// queryPsProfit.RequestData{ PsId: request.PsId, DateID: request.DateID, DateType: request.DateType },
+// "WebIscmAppService.getPsKpiForHoursByPsId",
+// getPsKpiForHoursByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := queryPsProfit.Assert(ep)
+// data := getPsKpiForHoursByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("queryPsProfit-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("getPsKpiForHoursByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) getPsIdState(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) getPsListForPsDataByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.getPsIdState",
-// getPsIdState.RequestData{ PsId: request.PsId },
+// "WebIscmAppService.getPsListForPsDataByPsId",
+// getPsListForPsDataByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := getPsIdState.Assert(ep)
+// data := getPsListForPsDataByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("getPsIdState-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("getPsListForPsDataByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) showPSView(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) queryPsTypeByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.showPSView",
-// showPSView.RequestData{ PsId: request.PsId },
+// "WebIscmAppService.queryPsTypeByPsId",
+// queryPsTypeByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := showPSView.Assert(ep)
+// data := queryPsTypeByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("showPSView-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("queryPsTypeByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
// return response
// }
//
-// func (sg *SunGrowData) getMaxDeviceIdByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// func (sg *SunGrowData) selectDeviceTypeByPsId(request SunGrowDataRequest) SunGrowDataResponse {
// var response SunGrowDataResponse
// for range Only.Once {
// ep := sg.SunGrow.GetByStruct(
-// "AppService.getMaxDeviceIdByPsId",
-// getMaxDeviceIdByPsId.RequestData{ PsId: request.PsId },
+// "WebIscmAppService.selectDeviceTypeByPsId",
+// selectDeviceTypeByPsId.RequestData{ PsId: request.PsId },
// api.DefaultTimeout,
// )
//
-// data := getMaxDeviceIdByPsId.Assert(ep)
+// data := selectDeviceTypeByPsId.Assert(ep)
// if data.Error != nil {
// response.Error = ep.GetError()
// break
// }
//
-// response.Filename = data.SetFilenamePrefix("getMaxDeviceIdByPsId-%d", request.PsId)
+// response.Filename = data.SetFilenamePrefix("selectDeviceTypeByPsId-%d", request.PsId)
// response.Data = data.GetEndPointData()
// response.Table = data.GetEndPointDataTable()
// }
diff --git a/iSolarCloud/data_psid.go b/iSolarCloud/data_psid.go
new file mode 100644
index 000000000..4d0e8d65c
--- /dev/null
+++ b/iSolarCloud/data_psid.go
@@ -0,0 +1,793 @@
+package iSolarCloud
+
+
+// getPowerStationInfo - Contains state decoding.
+
+// func (sgd *SunGrowData) getPsList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPsList",
+// getPsList.RequestData{ },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getPsList.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPsList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) queryDeviceList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryDeviceList",
+// queryDeviceList.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := queryDeviceList.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryDeviceList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - api get queryDeviceInfo '{"device_sn":"B2281302388","uuid":1179879}'
+// func (sgd *SunGrowData) queryDeviceInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryDeviceInfo",
+// queryDeviceInfo.RequestData{ Uuid: "1179877", DeviceSn: "B2281302388" },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := queryDeviceInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryDeviceInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) queryDeviceListForApp(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryDeviceListForApp",
+// queryDeviceListForApp.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := queryDeviceListForApp.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryDeviceListForApp-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPsDetailWithPsType(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPsDetailWithPsType",
+// getPsDetailWithPsType.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getPsDetailWithPsType.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPsDetailWithPsType-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPsDetail(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPsDetail",
+// getPsDetail.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getPsDetail.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPsDetail-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) findPsType(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.findPsType",
+// findPsType.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := findPsType.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("findPsType-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO -
+// func (sgd *SunGrowData) getAllDeviceByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getAllDeviceByPsId",
+// getAllDeviceByPsId.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getAllDeviceByPsId.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getAllDeviceByPsId-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getDeviceList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getDeviceList",
+// getDeviceList.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getDeviceList.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getDeviceList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getIncomeSettingInfos(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getIncomeSettingInfos",
+// getIncomeSettingInfos.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getIncomeSettingInfos.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getIncomeSettingInfos-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getKpiInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getKpiInfo",
+// getKpiInfo.RequestData{ },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getKpiInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getKpiInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPowerChargeSettingInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPowerChargeSettingInfo",
+// getPowerChargeSettingInfo.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getPowerChargeSettingInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPowerChargeSettingInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getHouseholdStoragePsReport(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// // fmt.Println(request.Date.Original())
+// // {"date_id":"20221001","date_type":"1","ps_id":"1129147"}
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getHouseholdStoragePsReport",
+// getHouseholdStoragePsReport.RequestData{ PsId: request.PsId, DateType: request.Date.DateType, DateID: request.Date.Original() },
+// api.DefaultTimeout,
+// )
+// if ep.IsError() {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// data := getHouseholdStoragePsReport.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getHouseholdStoragePsReport-%d-%s", request.PsId, request.Date.Original())
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - Not working
+// func (sgd *SunGrowData) getPowerStationBasicInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPowerStationBasicInfo",
+// getPowerStationBasicInfo.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPowerStationBasicInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = data.Error
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPowerStationBasicInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - Add in the ability to increment values by 5 minutes.
+// Return from this function is an array of 288 values.
+// func (sgd *SunGrowData) getPowerStationData(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPowerStationData",
+// getPowerStationData.RequestData{ PsId: request.PsId, DateType: request.Date.DateType, DateID: request.Date.Original() },
+// api.DefaultTimeout,
+// )
+//
+// data := getPowerStationData.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPowerStationData-%d-%s", request.PsId, request.Date.Original())
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPowerStationForHousehold(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPowerStationForHousehold",
+// getPowerStationForHousehold.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPowerStationForHousehold.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPowerStationForHousehold-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - Figure out how to properly flatten some of these "two field" arrays.
+// func (sgd *SunGrowData) getPowerStationInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPowerStationInfo",
+// getPowerStationInfo.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPowerStationInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPowerStationInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPowerStatistics(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPowerStatistics",
+// getPowerStatistics.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPowerStatistics.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPowerStatistics-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPsHealthState(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPsHealthState",
+// getPsHealthState.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPsHealthState.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPsHealthState-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - Figure out how to properly flatten some of these "two field" arrays.
+// func (sgd *SunGrowData) powerDevicePointList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.powerDevicePointList",
+// powerDevicePointList.RequestData{ },
+// api.DefaultTimeout,
+// )
+//
+// data := powerDevicePointList.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("powerDevicePointList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPsWeatherList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getPsWeatherList",
+// getPsWeatherList.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPsWeatherList.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPsWeatherList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - Not working
+// func (sgd *SunGrowData) getRemoteUpgradeTaskList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getRemoteUpgradeTaskList",
+// getRemoteUpgradeTaskList.RequestData{ PsIdList: "1171348,1121412"}, // PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getRemoteUpgradeTaskList.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getRemoteUpgradeTaskList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) reportList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.reportList",
+// reportList.RequestData{ PsId: request.PsId, ReportType: request.ReportType },
+// api.DefaultTimeout,
+// )
+//
+// data := reportList.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("reportList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getReportData(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.getReportData",
+// getReportData.RequestData{ PsId: request.PsId, ReportType: request.ReportType },
+// api.DefaultTimeout,
+// )
+//
+// data := getReportData.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getReportData-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) psForcastInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.psForcastInfo",
+// psForcastInfo.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := psForcastInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("psForcastInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) queryPowerStationInfo(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryPowerStationInfo",
+// queryPowerStationInfo.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := queryPowerStationInfo.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryPowerStationInfo-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getPsIdState(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "WebAppService.getPsIdState",
+// getPsIdState.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getPsIdState.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getPsIdState-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) queryPsProfit(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryPsProfit",
+// queryPsProfit.RequestData{ PsId: request.PsId, DateType: request.Date.DateType, DateID: request.Date.Original() },
+// api.DefaultTimeout,
+// )
+//
+// data := queryPsProfit.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryPsProfit-%d-%s", request.PsId, request.Date.Original())
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) queryAllPsIdAndName(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryAllPsIdAndName",
+// queryAllPsIdAndName.RequestData{ },
+// api.DefaultTimeout,
+// )
+//
+// data := queryAllPsIdAndName.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryAllPsIdAndName-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) queryPsIdList(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryPsIdList",
+// queryPsIdList.RequestData{ },
+// api.DefaultTimeout,
+// )
+//
+// data := queryPsIdList.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryPsIdList-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// @TODO - Not working
+// func (sgd *SunGrowData) queryPsNameByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "AppService.queryPsNameByPsId",
+// queryPsNameByPsId.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := queryPsNameByPsId.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("queryPsNameByPsId-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) showPSView(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "WebAppService.showPSView",
+// showPSView.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := showPSView.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("showPSView-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
+
+// func (sgd *SunGrowData) getMaxDeviceIdByPsId(request SunGrowDataRequest) SunGrowDataResponse {
+// var response SunGrowDataResponse
+// for range Only.Once {
+// ep := sgd.SunGrow.GetByStruct(
+// "WebIscmAppService.getMaxDeviceIdByPsId",
+// getMaxDeviceIdByPsId.RequestData{ PsId: request.PsId },
+// api.DefaultTimeout,
+// )
+//
+// data := getMaxDeviceIdByPsId.Assert(ep)
+// if data.Error != nil {
+// response.Error = ep.GetError()
+// break
+// }
+//
+// response.Filename = data.SetFilenamePrefix("getMaxDeviceIdByPsId-%d", request.PsId)
+// response.Data = data.GetEndPointData()
+// response.Table = data.GetEndPointDataTable()
+// }
+// return response
+// }
diff --git a/iSolarCloud/highlevel.go b/iSolarCloud/highlevel.go
index 16fec2d01..1775ed145 100644
--- a/iSolarCloud/highlevel.go
+++ b/iSolarCloud/highlevel.go
@@ -497,7 +497,7 @@ func (sg *SunGrow) CmdDataPsDetail(psIds ...valueTypes.Integer) error {
data.New(sg)
for _, psId := range psIds {
- response := data.Get("getPsDetail", SunGrowDataRequest{PsId: psId})
+ response := data.GetByApi("getPsDetail", SunGrowDataRequest{PsId: psId})
if response.Error != nil {
break
}
@@ -506,7 +506,7 @@ func (sg *SunGrow) CmdDataPsDetail(psIds ...valueTypes.Integer) error {
break
}
- response = data.Get("getPsDetailWithPsType", SunGrowDataRequest{PsId: psId})
+ response = data.GetByApi("getPsDetailWithPsType", SunGrowDataRequest{PsId: psId})
if response.Error != nil {
break
}
diff --git a/iSolarCloud/struct.go b/iSolarCloud/struct.go
index c67a43b31..18af6d4d0 100644
--- a/iSolarCloud/struct.go
+++ b/iSolarCloud/struct.go
@@ -201,6 +201,34 @@ func (sg *SunGrow) GetByStruct(endpoint string, request interface{}, cache time.
return ret
}
+func (sg *SunGrow) RequestRequiresArgs(ae string) bool {
+ var yes bool
+ for range Only.Once {
+ area, endpoint := sg.SplitEndPoint(ae)
+ if sg.Error != nil {
+ break
+ }
+
+ yes = sg.Areas.RequestRequiresArgs(area, endpoint)
+ }
+
+ return yes
+}
+
+func (sg *SunGrow) RequestArgs(ae string) map[string]string {
+ var ret map[string]string
+ for range Only.Once {
+ area, endpoint := sg.SplitEndPoint(ae)
+ if sg.Error != nil {
+ break
+ }
+
+ ret = sg.Areas.RequestArgs(area, endpoint)
+ }
+
+ return ret
+}
+
func (sg *SunGrow) SplitEndPoint(ae string) (api.AreaName, api.EndPointName) {
var area api.AreaName
var endpoint api.EndPointName