24 lines
528 B
Python
24 lines
528 B
Python
|
|
from typing import Optional
|
||
|
|
import os
|
||
|
|
import numpy as np
|
||
|
|
import pandas as pd
|
||
|
|
|
||
|
|
from roboter import RobotPerformance, TWC_Performance
|
||
|
|
|
||
|
|
class PerformanceProcessor:
|
||
|
|
|
||
|
|
def calc_performance(self, path, df):
|
||
|
|
robot = RobotPerformance()
|
||
|
|
TWC = TWC_Performance()
|
||
|
|
rob_df = robot.job(path)
|
||
|
|
TWC_df = TWC.job(df)
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
path = "D:\downloads\Test2\TeslaTIME29_71_KRCIO.dat"
|
||
|
|
robot = RobotPerformance()
|
||
|
|
#TWC = TWC_Performance()
|
||
|
|
result = robot.job(path)
|
||
|
|
print (result)
|