Source code

Download source archive ↓

src/Entrypoint.scala

1package dacp.ecoflow
2object Op_storage_item_pm_le {
3 def main(args:Array[String]):Unit={
4  val op=new org.apache.spark.sql.dacp.EcoFlowOperator("cn.piflow.bundle.flux.dataCorrection.StorageItemPM_LE",Map("left"->"fluxCbsPort","right"->"metroCbsPort"),Set("equipmentHeightDifference","everyTaFields","time_interval","LE","everyPvaporFields")){}
5  val protocol=System.out;System.setOut(System.err)
6  try {if(args.headOption.exists(v=>v=="infer" || v=="infer-worker"))
7       xstream.operator.OperatorRunner.infer(args,protocol,op.previewOutputs)(op.inferOutputs)
8       else xstream.operator.OperatorRunner.run(args,protocol)(op.process)}
9  finally System.setOut(protocol)
10 }
11}